cecil 0.0.20__py3-none-any.whl → 0.0.21__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.

Potentially problematic release.


This version of cecil might be problematic. Click here for more details.

cecil/client.py CHANGED
@@ -21,14 +21,11 @@ from .models import (
21
21
  AOICreate,
22
22
  DataRequest,
23
23
  DataRequestCreate,
24
- OrganisationCreate,
25
24
  OrganisationSettings,
26
25
  RecoverAPIKey,
27
26
  RecoverAPIKeyRequest,
28
27
  RotateAPIKey,
29
28
  RotateAPIKeyRequest,
30
- SignUpRequest,
31
- SignUpResponse,
32
29
  SnowflakeUserCredentials,
33
30
  Transformation,
34
31
  TransformationCreate,
@@ -129,20 +126,6 @@ class Client:
129
126
 
130
127
  return RotateAPIKey(**res)
131
128
 
132
- def sign_up(
133
- self, organisation: Dict[str, str], user: Dict[str, str]
134
- ) -> SignUpResponse:
135
- res = self._post(
136
- url="/v0/sign-up",
137
- model=SignUpRequest(
138
- organisation=OrganisationCreate(**organisation),
139
- user=UserCreate(**user),
140
- ),
141
- skip_auth=True,
142
- )
143
-
144
- return SignUpResponse(**res)
145
-
146
129
  def create_user(self, first_name: str, last_name: str, email: str) -> User:
147
130
  res = self._post(
148
131
  url="/v0/users",
cecil/models.py CHANGED
@@ -45,11 +45,6 @@ class DataRequestCreate(BaseModel):
45
45
  dataset_id: str
46
46
 
47
47
 
48
- class OrganisationCreate(BaseModel):
49
- model_config = ConfigDict(alias_generator=to_camel, populate_by_name=True)
50
- name: str
51
-
52
-
53
48
  class OrganisationSettings(BaseModel):
54
49
  model_config = ConfigDict(alias_generator=to_camel, populate_by_name=True)
55
50
  monthly_data_request_limit: Optional[int] = None
@@ -113,14 +108,3 @@ class UserCreate(BaseModel):
113
108
  first_name: str
114
109
  last_name: str
115
110
  email: str
116
-
117
-
118
- class SignUpRequest(BaseModel):
119
- model_config = ConfigDict(alias_generator=to_camel, populate_by_name=True)
120
- organisation: OrganisationCreate
121
- user: UserCreate
122
-
123
-
124
- class SignUpResponse(BaseModel):
125
- model_config = ConfigDict(alias_generator=to_camel, populate_by_name=True)
126
- message: str
cecil/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.0.20"
1
+ __version__ = "0.0.21"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cecil
3
- Version: 0.0.20
3
+ Version: 0.0.21
4
4
  Summary: Python SDK for Cecil Earth
5
5
  License-Expression: MIT
6
6
  License-File: LICENSE.txt
@@ -0,0 +1,9 @@
1
+ cecil/__init__.py,sha256=AEcRl73BDSAQe6W0d1PDD87IEcumARtREl7dCVa_YQY,86
2
+ cecil/client.py,sha256=TXcTdNUF8ER8gs8KQBzHIsoQPqDLj3npFeF0PWEi4EI,7430
3
+ cecil/errors.py,sha256=ZNiSTYH2MgNZ7tNIgV07-Ge3KtmdncfzWiBi9yjURGs,1818
4
+ cecil/models.py,sha256=GpW1pT9NBKS5y4Os0pW8UR3MO9kVJe1r8jOK-MjADLA,2799
5
+ cecil/version.py,sha256=PsqtE_T084MVsMv47JyTQ3DK2CRZJ3Kd9Q_vnw02oZk,23
6
+ cecil-0.0.21.dist-info/METADATA,sha256=2Q9DsNWUMtimtqNDdDqbssyFGT33DgWaVjrYHrkLmrs,2659
7
+ cecil-0.0.21.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8
+ cecil-0.0.21.dist-info/licenses/LICENSE.txt,sha256=mUexcmfYx3bG1VIzAdQTOf_NzStYw6-QkKVdUY_d4i4,1066
9
+ cecil-0.0.21.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- cecil/__init__.py,sha256=AEcRl73BDSAQe6W0d1PDD87IEcumARtREl7dCVa_YQY,86
2
- cecil/client.py,sha256=mTmwI-p7fidDB4zv_D1S6M8cbms1NL90CifPV0tNF4k,7888
3
- cecil/errors.py,sha256=ZNiSTYH2MgNZ7tNIgV07-Ge3KtmdncfzWiBi9yjURGs,1818
4
- cecil/models.py,sha256=9RLtS5c3wHeu9jCqrL_XEc2POtubDY9RImkyDD4004A,3233
5
- cecil/version.py,sha256=wQP0zPwrPeGkZ12uVa4mTM7oYoqji6PECSRd7QD_QXE,23
6
- cecil-0.0.20.dist-info/METADATA,sha256=_ZP24-gkB3FmUSrbhEXQu6QuMBODzOa81ZcQG7WEimE,2659
7
- cecil-0.0.20.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8
- cecil-0.0.20.dist-info/licenses/LICENSE.txt,sha256=mUexcmfYx3bG1VIzAdQTOf_NzStYw6-QkKVdUY_d4i4,1066
9
- cecil-0.0.20.dist-info/RECORD,,
File without changes