Skip to content

Commit

Permalink
omegaUp API change for "Milestone 2.3: Added test for problem_collect…
Browse files Browse the repository at this point in the history
…ion_spec.ts (#7179)" (#149)

API changes from omegaup/omegaup@95d6b3b

Co-authored-by: omegaup-bot <[email protected]>
  • Loading branch information
omegaup-bot and omegaup-bot authored Aug 13, 2023
1 parent 72f3661 commit 6812c1a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions omegaup/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5623,6 +5623,7 @@ def __init__(
class _LoginDetailsPayload:
"""_LoginDetailsPayload"""
facebookUrl: Optional[str]
hasVisitedSection: Optional[bool]
statusError: Optional[str]
validateRecaptcha: bool
verifyEmailSuccessfully: Optional[str]
Expand All @@ -5632,6 +5633,7 @@ def __init__(
*,
validateRecaptcha: bool,
facebookUrl: Optional[str] = None,
hasVisitedSection: Optional[bool] = None,
statusError: Optional[str] = None,
verifyEmailSuccessfully: Optional[str] = None,
# Ignore any unknown arguments
Expand All @@ -5641,6 +5643,10 @@ def __init__(
self.facebookUrl = facebookUrl
else:
self.facebookUrl = None
if hasVisitedSection is not None:
self.hasVisitedSection = hasVisitedSection
else:
self.hasVisitedSection = None
if statusError is not None:
self.statusError = statusError
else:
Expand Down Expand Up @@ -22158,7 +22164,7 @@ def update(
scholar_degree: Optional[str] = None,
school_id: Optional[int] = None,
school_name: Optional[str] = None,
username: Optional[Any] = None,
username: Optional[str] = None,
# Out-of-band parameters:
files_: Optional[Mapping[str, BinaryIO]] = None,
check_: bool = True,
Expand Down Expand Up @@ -22221,7 +22227,7 @@ def update(
if school_name is not None:
parameters['school_name'] = school_name
if username is not None:
parameters['username'] = str(username)
parameters['username'] = username
self._client.query('/api/user/update/',
payload=parameters,
files_=files_,
Expand Down

0 comments on commit 6812c1a

Please sign in to comment.