aisberg 0.2.0__tar.gz → 0.2.1__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.
Files changed (51) hide show
  1. {aisberg-0.2.0 → aisberg-0.2.1}/PKG-INFO +1 -1
  2. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/config.py +4 -4
  3. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg.egg-info/PKG-INFO +1 -1
  4. {aisberg-0.2.0 → aisberg-0.2.1}/pyproject.toml +1 -1
  5. {aisberg-0.2.0 → aisberg-0.2.1}/LICENSE +0 -0
  6. {aisberg-0.2.0 → aisberg-0.2.1}/README.md +0 -0
  7. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/__init__.py +0 -0
  8. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/abstract/__init__.py +0 -0
  9. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/abstract/modules.py +0 -0
  10. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/api/__init__.py +0 -0
  11. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/api/async_endpoints.py +0 -0
  12. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/api/endpoints.py +0 -0
  13. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/async_client.py +0 -0
  14. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/client.py +0 -0
  15. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/exceptions.py +0 -0
  16. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/models/__init__.py +0 -0
  17. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/models/chat.py +0 -0
  18. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/models/collections.py +0 -0
  19. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/models/documents.py +0 -0
  20. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/models/embeddings.py +0 -0
  21. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/models/models.py +0 -0
  22. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/models/requests.py +0 -0
  23. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/models/token.py +0 -0
  24. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/models/tools.py +0 -0
  25. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/models/workflows.py +0 -0
  26. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/modules/__init__.py +0 -0
  27. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/modules/chat.py +0 -0
  28. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/modules/collections.py +0 -0
  29. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/modules/documents.py +0 -0
  30. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/modules/embeddings.py +0 -0
  31. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/modules/me.py +0 -0
  32. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/modules/models.py +0 -0
  33. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/modules/s3.py +0 -0
  34. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/modules/tools.py +0 -0
  35. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/modules/workflows.py +0 -0
  36. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/requests/__init__.py +0 -0
  37. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/requests/async_requests.py +0 -0
  38. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/requests/sync_requests.py +0 -0
  39. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg/utils.py +0 -0
  40. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg.egg-info/SOURCES.txt +0 -0
  41. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg.egg-info/dependency_links.txt +0 -0
  42. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg.egg-info/requires.txt +0 -0
  43. {aisberg-0.2.0 → aisberg-0.2.1}/aisberg.egg-info/top_level.txt +0 -0
  44. {aisberg-0.2.0 → aisberg-0.2.1}/setup.cfg +0 -0
  45. {aisberg-0.2.0 → aisberg-0.2.1}/tests/integration/test_collections_integration.py +0 -0
  46. {aisberg-0.2.0 → aisberg-0.2.1}/tests/unit/test_collections_sync.py +0 -0
  47. {aisberg-0.2.0 → aisberg-0.2.1}/tmp/test.py +0 -0
  48. {aisberg-0.2.0 → aisberg-0.2.1}/tmp/test_async.py +0 -0
  49. {aisberg-0.2.0 → aisberg-0.2.1}/tmp/test_collection.py +0 -0
  50. {aisberg-0.2.0 → aisberg-0.2.1}/tmp/test_doc_parse.py +0 -0
  51. {aisberg-0.2.0 → aisberg-0.2.1}/tmp/test_sync.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aisberg
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: Aisberg SDK for Python - A simple and powerful SDK to interact with the Aisberg API
5
5
  Author: Free Pro
6
6
  Author-email: Mathis Lambert <mathis.lambert@freepro.com>
@@ -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
- # Pour indiquer le fichier .env
19
- model_config = SettingsConfigDict(env_file=".env", env_file_encoding="utf-8")
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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aisberg
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: Aisberg SDK for Python - A simple and powerful SDK to interact with the Aisberg API
5
5
  Author: Free Pro
6
6
  Author-email: Mathis Lambert <mathis.lambert@freepro.com>
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "aisberg"
7
- version = "0.2.0"
7
+ version = "0.2.1"
8
8
  description = "Aisberg SDK for Python - A simple and powerful SDK to interact with the Aisberg API"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
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