Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eph-client
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
it-bott-integrasjoner
eph-client
Commits
60316037
Commit
60316037
authored
3 years ago
by
Petr Kalashnikov
Browse files
Options
Downloads
Patches
Plain Diff
Change deprecated function name
parent
2bb060cf
No related branches found
No related tags found
No related merge requests found
Pipeline
#103566
passed with stage
in 1 minute and 10 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
eph_client/models.py
+2
-2
2 additions, 2 deletions
eph_client/models.py
with
2 additions
and
2 deletions
eph_client/models.py
+
2
−
2
View file @
60316037
...
...
@@ -40,9 +40,9 @@ class BaseModel(pydantic.BaseModel):
data
=
json
.
loads
(
json_data
)
return
cls
.
from_dict
(
data
)
def
dict
(
self
,
by_alias
=
True
,
skip_defaults
=
True
,
*
args
,
**
kwargs
):
def
dict
(
self
,
by_alias
=
True
,
exclude_unset
=
True
,
*
args
,
**
kwargs
):
return
super
().
dict
(
by_alias
=
by_alias
,
skip_defaults
=
skip_defaults
,
*
args
,
**
kwargs
by_alias
=
by_alias
,
exclude_unset
=
exclude_unset
,
*
args
,
**
kwargs
)
def
keys
(
self
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment