qmenta-client 1.1.dev1405__py3-none-any.whl → 1.1.dev1410__py3-none-any.whl

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.
qmenta/client/Account.py CHANGED
@@ -110,9 +110,9 @@ class Account:
110
110
  Project
111
111
  A project object representing the desired project
112
112
  """
113
- if type(project_id) == int or type(project_id) == float:
113
+ if type(project_id) is int or type(project_id) is float:
114
114
  return Project(self, int(project_id))
115
- elif type(project_id) == str:
115
+ elif type(project_id) is str:
116
116
  projects = self.projects
117
117
  projects_match = [
118
118
  proj for proj in projects if proj['name'] == project_id
qmenta/client/Project.py CHANGED
@@ -549,9 +549,9 @@ class Project:
549
549
  True on success, False on fail
550
550
  """
551
551
 
552
- if type(project_id) == int or type(project_id) == float:
552
+ if type(project_id) is int or type(project_id) is float:
553
553
  p_id = int(project_id)
554
- elif type(project_id) == str:
554
+ elif type(project_id) is str:
555
555
  projects = self._account.projects
556
556
  projects_match = [proj for proj in projects if proj["name"] == project_id]
557
557
  if not projects_match:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: qmenta-client
3
- Version: 1.1.dev1405
3
+ Version: 1.1.dev1410
4
4
  Summary: Python client lib to interact with the QMENTA platform.
5
5
  Author: QMENTA
6
6
  Author-email: dev@qmenta.com
@@ -0,0 +1,10 @@
1
+ qmenta/__init__.py,sha256=jv2YF__bseklT3OWEzlqJ5qE24c4aWd5F4r0TTjOrWQ,65
2
+ qmenta/client/Account.py,sha256=S9D0-lmcBln2o3DwJfmLfu5G2wjE7gEJCIeJu89v0Is,9647
3
+ qmenta/client/File.py,sha256=ZgvSqejIosUt4uoX7opUnPnp5XGEaJNMRwFC0mQVB8k,5344
4
+ qmenta/client/Project.py,sha256=tr6_mKCt4hDA5Y8d24V1U3mZBq5_O86Y9TRQbOfLiM8,79916
5
+ qmenta/client/Subject.py,sha256=lhxxVdQ6d-GNoQC8mrJwa4L1f44nJc4PcJtDspmKN7I,8756
6
+ qmenta/client/__init__.py,sha256=AjTojBhZeW5nl0i605KS8S1Gl5tPNc1hdzD47BGNfoI,147
7
+ qmenta/client/utils.py,sha256=5DK2T_HQprrCwLS0Ycm2CjseaYmAUKaJkJvYoW-Rqzc,2479
8
+ qmenta_client-1.1.dev1410.dist-info/METADATA,sha256=kVwivj32iCexGnLGS8ADbJaNbvs-iU3K6iYioJvqAzg,672
9
+ qmenta_client-1.1.dev1410.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
10
+ qmenta_client-1.1.dev1410.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 2.0.1
2
+ Generator: poetry-core 2.1.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -1,10 +0,0 @@
1
- qmenta/__init__.py,sha256=jv2YF__bseklT3OWEzlqJ5qE24c4aWd5F4r0TTjOrWQ,65
2
- qmenta/client/Account.py,sha256=MEljEy9cmg2uP2FG1d3TZAgfj66EE2_3PQAZ9rvpCXY,9647
3
- qmenta/client/File.py,sha256=ZgvSqejIosUt4uoX7opUnPnp5XGEaJNMRwFC0mQVB8k,5344
4
- qmenta/client/Project.py,sha256=4lxnOzROIoAS0k_9F6aVvgscqLnfZYMlewpIHi8aP5c,79916
5
- qmenta/client/Subject.py,sha256=lhxxVdQ6d-GNoQC8mrJwa4L1f44nJc4PcJtDspmKN7I,8756
6
- qmenta/client/__init__.py,sha256=AjTojBhZeW5nl0i605KS8S1Gl5tPNc1hdzD47BGNfoI,147
7
- qmenta/client/utils.py,sha256=5DK2T_HQprrCwLS0Ycm2CjseaYmAUKaJkJvYoW-Rqzc,2479
8
- qmenta_client-1.1.dev1405.dist-info/METADATA,sha256=HdiqF9SJ0hWskvtHIZb_fXr2ZwxL13Ok3RGwGFL7DG8,672
9
- qmenta_client-1.1.dev1405.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
10
- qmenta_client-1.1.dev1405.dist-info/RECORD,,