aisberg 0.2.0__py3-none-any.whl → 0.2.1__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.
- aisberg/config.py +4 -4
- {aisberg-0.2.0.dist-info → aisberg-0.2.1.dist-info}/METADATA +1 -1
- {aisberg-0.2.0.dist-info → aisberg-0.2.1.dist-info}/RECORD +6 -6
- {aisberg-0.2.0.dist-info → aisberg-0.2.1.dist-info}/WHEEL +0 -0
- {aisberg-0.2.0.dist-info → aisberg-0.2.1.dist-info}/licenses/LICENSE +0 -0
- {aisberg-0.2.0.dist-info → aisberg-0.2.1.dist-info}/top_level.txt +0 -0
aisberg/config.py
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
from typing import Union
|
2
|
-
|
3
2
|
from pydantic_settings import BaseSettings, SettingsConfigDict
|
4
3
|
|
5
4
|
|
@@ -15,9 +14,10 @@ class Settings(BaseSettings):
|
|
15
14
|
s3_secret_access_key: Union[str, None] = None
|
16
15
|
s3_endpoint: Union[str, None] = None
|
17
16
|
|
18
|
-
#
|
19
|
-
model_config = SettingsConfigDict(
|
17
|
+
# Config Pydantic
|
18
|
+
model_config = SettingsConfigDict(
|
19
|
+
env_file=".env", env_file_encoding="utf-8", extra="ignore"
|
20
|
+
)
|
20
21
|
|
21
22
|
|
22
|
-
# Singleton partagé dans tout le SDK
|
23
23
|
settings = Settings()
|
@@ -1,7 +1,7 @@
|
|
1
1
|
aisberg/__init__.py,sha256=jMX3F2Fh5JobAkRMKGAcOpmNdoxSthgR4v_oM-Yw1l0,141
|
2
2
|
aisberg/async_client.py,sha256=0hO2lzdP2Vcb4qV619aJLrsxeXmfYj5wo0mog1bda5Q,3816
|
3
3
|
aisberg/client.py,sha256=W1i9mh-o7f283kz2s9B2nHBCegJGN0Lgf1q0lAMNx9I,3853
|
4
|
-
aisberg/config.py,sha256=
|
4
|
+
aisberg/config.py,sha256=R1dvL14YeO_0VRr1nUiirWRFN8xY0Nkthurtxnnoc34,587
|
5
5
|
aisberg/exceptions.py,sha256=T1ioitOczdkmW3-8XfPG0ta_O2WqzS1iQtzhDBucb5Y,515
|
6
6
|
aisberg/utils.py,sha256=4wkrpC5gz8PJWw3kZqaRbd3KekrI37zlDC__JiAVitw,3552
|
7
7
|
aisberg/abstract/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -32,7 +32,7 @@ aisberg/modules/workflows.py,sha256=AxyBwCnZkRdgKHUOAoYXMAJH6J7K-qaL1psZ-f-MKhI,
|
|
32
32
|
aisberg/requests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
33
33
|
aisberg/requests/async_requests.py,sha256=4J6Gj6vY5AD9lXhSTdYdAKQIqsqH9m1uaKc7XLDKWx8,2849
|
34
34
|
aisberg/requests/sync_requests.py,sha256=ov7GDgx4C-oQ9xEZ7VQsGVY1fnuqRpPwjS0H_yH1yb8,2839
|
35
|
-
aisberg-0.2.
|
35
|
+
aisberg-0.2.1.dist-info/licenses/LICENSE,sha256=dCGgiGa4f14s5mzTYnj1wIZNqGRVG2bUYyyk7nzKlEo,406
|
36
36
|
tests/integration/test_collections_integration.py,sha256=HSs-Mhh5JNx2V6EeKo--G3xZq7pMk3z3gLReX7FJidg,3883
|
37
37
|
tests/unit/test_collections_sync.py,sha256=DyizG4MIYNtBOC9TlsFdLlH5vz7USA12K9Uydlcydoo,3199
|
38
38
|
tmp/test.py,sha256=8H3GxLztspwyt3_wLPtQkwdiLl--qqAn8ZaEUsXbwDE,743
|
@@ -40,7 +40,7 @@ tmp/test_async.py,sha256=BaY3MkOIDXsersjYgnfaI43kZ42KDj5Andq5u-yO82s,4168
|
|
40
40
|
tmp/test_collection.py,sha256=wV8AnxuaTsHxlzVPigG_qW6kr57lMkKH_bBm9eFfJ-I,1893
|
41
41
|
tmp/test_doc_parse.py,sha256=G8-jpZY2cuauzUK9oEvEHjE7Dgjf6LlPFg9F8WyF49g,1188
|
42
42
|
tmp/test_sync.py,sha256=87QSz728gvjTXz2JykjF0U_mNsunDYrWsXYDjkBybI8,4929
|
43
|
-
aisberg-0.2.
|
44
|
-
aisberg-0.2.
|
45
|
-
aisberg-0.2.
|
46
|
-
aisberg-0.2.
|
43
|
+
aisberg-0.2.1.dist-info/METADATA,sha256=958IpWY_Nf9xSIYHhcYI7tsbvARdvKCa1SXcT1ZnBaA,5604
|
44
|
+
aisberg-0.2.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
45
|
+
aisberg-0.2.1.dist-info/top_level.txt,sha256=7_CasmLkyF_h1CVRncNuAjam-DMIeMu1Rev_LpVcWoA,18
|
46
|
+
aisberg-0.2.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|