Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dinamis-sdk
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
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
CDOS-Pub
dinamis-sdk
Commits
f127a236
Commit
f127a236
authored
3 months ago
by
Rémi
Browse files
Options
Downloads
Patches
Plain Diff
sty: refac
parent
e51638e5
No related branches found
No related tags found
1 merge request
!23
Api key support
Pipeline
#264612
passed with warnings
3 months ago
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dinamis_sdk/cli.py
+1
-0
1 addition, 0 deletions
dinamis_sdk/cli.py
dinamis_sdk/settings.py
+1
-1
1 addition, 1 deletion
dinamis_sdk/settings.py
dinamis_sdk/utils.py
+0
-1
0 additions, 1 deletion
dinamis_sdk/utils.py
with
2 additions
and
2 deletions
dinamis_sdk/cli.py
+
1
−
0
View file @
f127a236
"""
Dinamis Command Line Interface.
"""
import
click
from
.utils
import
APIKEY_FILE
,
create_session
,
S3_SIGNING_ENDPOINT
,
log
from
.auth
import
get_access_token
...
...
This diff is collapsed.
Click to expand it.
dinamis_sdk/settings.py
+
1
−
1
View file @
f127a236
...
...
@@ -9,4 +9,4 @@ class Settings(BaseSettings):
dinamis_sdk_url_duration
:
int
=
0
dinamis_sdk_bypass_api
:
str
=
""
dinamis_sdk_token_server
:
str
=
""
dinamis_sdk_settings_dir
:
str
=
""
\ No newline at end of file
dinamis_sdk_settings_dir
:
str
=
""
This diff is collapsed.
Click to expand it.
dinamis_sdk/utils.py
+
0
−
1
View file @
f127a236
...
...
@@ -3,7 +3,6 @@ import json
import
logging
import
os
import
appdirs
from
pydantic
import
BaseModel
# pylint: disable = no-name-in-module
import
requests
import
urllib3.util.retry
from
.settings
import
Settings
...
...
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