Skip to content

Commit

Permalink
omegaUp API change for "Making school ranking table responsive on mob…
Browse files Browse the repository at this point in the history
…ile. (#6974)" (#94)

API changes from omegaup/omegaup@2844827

Co-authored-by: omegaup-bot <[email protected]>
  • Loading branch information
omegaup-bot and omegaup-bot authored Apr 1, 2023
1 parent a2f51ec commit 5aa3980
Showing 1 changed file with 15 additions and 45 deletions.
60 changes: 15 additions & 45 deletions omegaup/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -8554,21 +8554,6 @@ def __init__(
self.time = time


@dataclasses.dataclass
class _OmegaUp_Controllers_Session__apiGoogleLogin:
"""_OmegaUp_Controllers_Session__apiGoogleLogin"""
isAccountCreation: bool

def __init__(
self,
*,
isAccountCreation: bool,
# Ignore any unknown arguments
**_kwargs: Any,
):
self.isAccountCreation = isAccountCreation


@dataclasses.dataclass
class _OmegaUp_Controllers_Tag__apiFrequentTags:
"""_OmegaUp_Controllers_Tag__apiFrequentTags"""
Expand Down Expand Up @@ -13809,6 +13794,21 @@ def __init__(
self.value = value


@dataclasses.dataclass
class _VerificationParentalTokenDetailsPayload:
"""_VerificationParentalTokenDetailsPayload"""
hasParentalVerificationToken: bool

def __init__(
self,
*,
hasParentalVerificationToken: bool,
# Ignore any unknown arguments
**_kwargs: Any,
):
self.hasParentalVerificationToken = hasParentalVerificationToken


AdminPlatformReportStatsResponse = _OmegaUp_Controllers_Admin__apiPlatformReportStats
"""The return type of the AdminPlatformReportStats API."""

Expand Down Expand Up @@ -20784,9 +20784,6 @@ def refresh(
SessionCurrentSessionResponse = _OmegaUp_Controllers_Session__apiCurrentSession
"""The return type of the SessionCurrentSession API."""

SessionGoogleLoginResponse = _OmegaUp_Controllers_Session__apiGoogleLogin
"""The return type of the SessionGoogleLogin API."""


class Session:
r"""Session controller handles sessions.
Expand Down Expand Up @@ -20824,33 +20821,6 @@ def currentSession(
timeout_=timeout_,
check_=check_))

def googleLogin(
self,
*,
storeToken: str,
# Out-of-band parameters:
files_: Optional[Mapping[str, BinaryIO]] = None,
check_: bool = True,
timeout_: datetime.timedelta = _DEFAULT_TIMEOUT
) -> SessionGoogleLoginResponse:
r"""

Args:
storeToken:

Returns:
The API result object.
"""
parameters: Dict[str, str] = {
'storeToken': storeToken,
}
return _OmegaUp_Controllers_Session__apiGoogleLogin(
**self._client.query('/api/session/googleLogin/',
payload=parameters,
files_=files_,
timeout_=timeout_,
check_=check_))


class Submission:
r"""SubmissionController
Expand Down

0 comments on commit 5aa3980

Please sign in to comment.