Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Cleaning #20

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed
- update_user method
- fix objects import


8 changes: 0 additions & 8 deletions dessia_api_client/endpoints/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,10 @@

"""

import time
import simplejson.errors
import jwt
import time
import getpass
import warnings
import requests
import matplotlib.pyplot as plt
from dessia_api_client.utils.helpers import stringify_dict_keys, instantiate_object, confirm
from dessia_api_client.utils.filters import EqualityFilter
from dessia_api_client.clients import PlatformApiClient
from matplotlib.cm import get_cmap

try:
import dessia_common as dc
Expand Down
7 changes: 1 addition & 6 deletions dessia_api_client/users.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# import os
# import jwt
# import time
# import requests

from dessia_api_client.endpoints import admin, jobs, accounts, applications, files, objects, style, \
marketplace, organisations, classes, distributions
from dessia_api_client.clients import PlatformApiClient
Expand All @@ -13,7 +8,7 @@ def __init__(self,
email=None,
password=None,
api_url="https://api.platform.dessia.tech",
max_retries=3,
max_retries=5,
retry_interval=3):
"""
:param email:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ def get_version():
packages=['dessia_api_client',
'dessia_api_client.utils',
'dessia_api_client.endpoints'],
install_requires=['PyJWT>=2.0.0', 'requests', 'numpy<1.25', 'matplotlib', 'simplejson',])
install_requires=['requests', 'matplotlib', 'simplejson'])