oscar-python 1.3.3b4__tar.gz → 1.3.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/PKG-INFO +1 -1
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/oscar_python/client.py +2 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/oscar_python.egg-info/PKG-INFO +1 -1
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/.github/workflows/release-build.yaml +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/.github/workflows/tests.yaml +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/.gitignore +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/LICENSE +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/README.md +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/jupyter_example/oscar_notebook.ipynb +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/jupyter_example/services/cowsay_example/cowsay.yaml +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/jupyter_example/services/cowsay_example/script.sh +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/oscar_python/__init__.py +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/oscar_python/_oidc.py +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/oscar_python/_providers/_minio.py +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/oscar_python/_providers/_onedata.py +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/oscar_python/_providers/_providers_base.py +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/oscar_python/_providers/_s3.py +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/oscar_python/_providers/_webdav.py +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/oscar_python/_utils.py +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/oscar_python/client_anon.py +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/oscar_python/default_client.py +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/oscar_python/local_test.py +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/oscar_python/storage.py +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/oscar_python.egg-info/SOURCES.txt +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/oscar_python.egg-info/dependency_links.txt +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/oscar_python.egg-info/requires.txt +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/oscar_python.egg-info/top_level.txt +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/pyproject.toml +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/setup.cfg +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/setup.py +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/tests/test_client.py +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/tests/test_default_client.py +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/tests/test_oidc.py +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/tests/test_onedata.py +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/tests/test_s3.py +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/tests/test_storage.py +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/tests/test_utils.py +0 -0
- {oscar_python-1.3.3b4 → oscar_python-1.3.4}/tests/test_webdav.py +0 -0
|
@@ -198,6 +198,8 @@ class Client(DefaultClient):
|
|
|
198
198
|
return utils.make_request(self, _SVC_PATH+"/"+name, _DELETE)
|
|
199
199
|
|
|
200
200
|
def _get_token(self, svc):
|
|
201
|
+
if self._AUTH_TYPE != 'basicauth':
|
|
202
|
+
return self.get_access_token()
|
|
201
203
|
service = utils.make_request(self, _SVC_PATH+"/"+svc, _GET)
|
|
202
204
|
service = json.loads(service.text)
|
|
203
205
|
return service["token"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{oscar_python-1.3.3b4 → oscar_python-1.3.4}/jupyter_example/services/cowsay_example/cowsay.yaml
RENAMED
|
File without changes
|
{oscar_python-1.3.3b4 → oscar_python-1.3.4}/jupyter_example/services/cowsay_example/script.sh
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|