cecil 0.0.8__py3-none-any.whl → 0.0.9__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
@@ -22,9 +22,13 @@ from .models import (
22
22
 
23
23
 
24
24
  class Client:
25
- def __init__(self, env="dev"):
25
+ def __init__(self, env=None):
26
26
  self._api_auth = None
27
- self._base_url = f"https://{env}-api.cecil.earth" # TODO: hard-code to prod URL
27
+ self._base_url = (
28
+ "https://api.cecil.earth"
29
+ if env is None
30
+ else f"https://{env}-api.cecil.earth"
31
+ )
28
32
  self._snowflake_creds = None
29
33
 
30
34
  def create_aoi(self, name: str, geometry: Dict) -> AOI:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: cecil
3
- Version: 0.0.8
3
+ Version: 0.0.9
4
4
  Summary: Python SDK for Cecil Earth
5
5
  License-Expression: MIT
6
6
  License-File: LICENSE.txt
@@ -0,0 +1,7 @@
1
+ cecil/__init__.py,sha256=MF64bwUCd4sm3dvcxZnkb4ujHtxT_KeuXdD0nVieEt4,27
2
+ cecil/client.py,sha256=9MvC1zSndI8Z8ndbZEsLSkoiLK80SOGUVPwN_15KwjE,4347
3
+ cecil/models.py,sha256=eSkDhHSCJyW9OsOkK7eMYh4BXY5FI1Z_THOLVLcE8QA,2027
4
+ cecil-0.0.9.dist-info/METADATA,sha256=1LLbgPfIr5QHqWPI4ToRNe9waHF98tQUxEH9ikbSbnc,2676
5
+ cecil-0.0.9.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
6
+ cecil-0.0.9.dist-info/licenses/LICENSE.txt,sha256=mUexcmfYx3bG1VIzAdQTOf_NzStYw6-QkKVdUY_d4i4,1066
7
+ cecil-0.0.9.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- cecil/__init__.py,sha256=MF64bwUCd4sm3dvcxZnkb4ujHtxT_KeuXdD0nVieEt4,27
2
- cecil/client.py,sha256=VEWL90sGYxcj4lkGBwT9k6H0v4rNPdvZy6iGHby7N40,4285
3
- cecil/models.py,sha256=eSkDhHSCJyW9OsOkK7eMYh4BXY5FI1Z_THOLVLcE8QA,2027
4
- cecil-0.0.8.dist-info/METADATA,sha256=tJldA9JEIjSvWNlTiKNBQI60r2jFvG6vEBjrnbt67-o,2676
5
- cecil-0.0.8.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
6
- cecil-0.0.8.dist-info/licenses/LICENSE.txt,sha256=mUexcmfYx3bG1VIzAdQTOf_NzStYw6-QkKVdUY_d4i4,1066
7
- cecil-0.0.8.dist-info/RECORD,,
File without changes