agi-med-common 3.3.3__tar.gz → 3.3.4__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 (32) hide show
  1. {agi_med_common-3.3.3 → agi_med_common-3.3.4}/PKG-INFO +1 -1
  2. {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/__init__.py +1 -1
  3. {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/models/chat_item/replica_item.py +7 -3
  4. {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common.egg-info/PKG-INFO +1 -1
  5. {agi_med_common-3.3.3 → agi_med_common-3.3.4}/README.md +0 -0
  6. {agi_med_common-3.3.3 → agi_med_common-3.3.4}/pyproject.toml +0 -0
  7. {agi_med_common-3.3.3 → agi_med_common-3.3.4}/requirements.txt +0 -0
  8. {agi_med_common-3.3.3 → agi_med_common-3.3.4}/setup.cfg +0 -0
  9. {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/logger/__init__.py +0 -0
  10. {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/logger/log_level_enum.py +0 -0
  11. {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/logger/logger.py +0 -0
  12. {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/models/__init__.py +0 -0
  13. {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/models/_base.py +0 -0
  14. {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/models/base_config_models/__init__.py +0 -0
  15. {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/models/base_config_models/gigachat_config.py +0 -0
  16. {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/models/chat_item/__init__.py +0 -0
  17. {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/models/chat_item/chat_item.py +0 -0
  18. {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/models/chat_item/inner_context_item.py +0 -0
  19. {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/models/chat_item/outer_context_item.py +0 -0
  20. {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/models/enums/__init__.py +0 -0
  21. {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/models/enums/action_enum.py +0 -0
  22. {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/models/enums/moderation_label_enum.py +0 -0
  23. {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/models/enums/mtrs_label_enum.py +0 -0
  24. {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/models/enums/state_enum.py +0 -0
  25. {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/models/enums/track_id_enum.py +0 -0
  26. {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/utils.py +0 -0
  27. {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/validators.py +0 -0
  28. {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/xml_parser.py +0 -0
  29. {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common.egg-info/SOURCES.txt +0 -0
  30. {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common.egg-info/dependency_links.txt +0 -0
  31. {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common.egg-info/requires.txt +0 -0
  32. {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: agi_med_common
3
- Version: 3.3.3
3
+ Version: 3.3.4
4
4
  Summary: Сommon for agi-med team
5
5
  Author: AGI-MED-TEAM
6
6
  Requires-Python: >=3.11
@@ -1,4 +1,4 @@
1
- __version__ = "3.3.3"
1
+ __version__ = "3.3.4"
2
2
 
3
3
  from .logger import LogLevelEnum, logger_init
4
4
  from .models import (
@@ -6,8 +6,8 @@ from pydantic import Field
6
6
  from .. import _Base
7
7
  from ..enums import StateEnum, ActionEnum
8
8
 
9
- _TIME_FORMAT: str = "%Y-%m-%d-%H-%M-%S"
10
- _EXAMPLE_DATETIME: str = datetime(1970, 1, 1, 0, 0, 0).strftime(_TIME_FORMAT)
9
+ _DATETIME_FORMAT: str = "%Y-%m-%d-%H-%M-%S"
10
+ _EXAMPLE_DATETIME: str = datetime(1970, 1, 1, 0, 0, 0).strftime(_DATETIME_FORMAT)
11
11
 
12
12
 
13
13
  class ReplicaItem(_Base):
@@ -17,7 +17,7 @@ class ReplicaItem(_Base):
17
17
  _EXAMPLE_DATETIME,
18
18
  alias="DateTime",
19
19
  examples=[_EXAMPLE_DATETIME],
20
- description=f"Format: {_TIME_FORMAT}",
20
+ description=f"Format: {_DATETIME_FORMAT}",
21
21
  )
22
22
  state: StateEnum = Field(
23
23
  StateEnum.EMPTY, alias="State", description="chat manager fsm state", examples=[StateEnum.COLLECTION]
@@ -29,6 +29,10 @@ class ReplicaItem(_Base):
29
29
  def to_dict(self) -> dict[str, Any]:
30
30
  return self.model_dump(by_alias=True)
31
31
 
32
+ @staticmethod
33
+ def DATETIME_FORMAT() -> str:
34
+ return _DATETIME_FORMAT
35
+
32
36
 
33
37
  class ReplicaItemPair(_Base):
34
38
  user_replica: ReplicaItem = Field(alias="UserReplica")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: agi_med_common
3
- Version: 3.3.3
3
+ Version: 3.3.4
4
4
  Summary: Сommon for agi-med team
5
5
  Author: AGI-MED-TEAM
6
6
  Requires-Python: >=3.11
File without changes
File without changes