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.
- {agi_med_common-3.3.3 → agi_med_common-3.3.4}/PKG-INFO +1 -1
- {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/__init__.py +1 -1
- {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/models/chat_item/replica_item.py +7 -3
- {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common.egg-info/PKG-INFO +1 -1
- {agi_med_common-3.3.3 → agi_med_common-3.3.4}/README.md +0 -0
- {agi_med_common-3.3.3 → agi_med_common-3.3.4}/pyproject.toml +0 -0
- {agi_med_common-3.3.3 → agi_med_common-3.3.4}/requirements.txt +0 -0
- {agi_med_common-3.3.3 → agi_med_common-3.3.4}/setup.cfg +0 -0
- {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/logger/__init__.py +0 -0
- {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/logger/log_level_enum.py +0 -0
- {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/logger/logger.py +0 -0
- {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/models/__init__.py +0 -0
- {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/models/_base.py +0 -0
- {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/models/base_config_models/__init__.py +0 -0
- {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
- {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/models/chat_item/__init__.py +0 -0
- {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/models/chat_item/chat_item.py +0 -0
- {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
- {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
- {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/models/enums/__init__.py +0 -0
- {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/models/enums/action_enum.py +0 -0
- {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/models/enums/moderation_label_enum.py +0 -0
- {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/models/enums/mtrs_label_enum.py +0 -0
- {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/models/enums/state_enum.py +0 -0
- {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/models/enums/track_id_enum.py +0 -0
- {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/utils.py +0 -0
- {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/validators.py +0 -0
- {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/xml_parser.py +0 -0
- {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common.egg-info/SOURCES.txt +0 -0
- {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common.egg-info/dependency_links.txt +0 -0
- {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common.egg-info/requires.txt +0 -0
- {agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common.egg-info/top_level.txt +0 -0
{agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/models/chat_item/replica_item.py
RENAMED
@@ -6,8 +6,8 @@ from pydantic import Field
|
|
6
6
|
from .. import _Base
|
7
7
|
from ..enums import StateEnum, ActionEnum
|
8
8
|
|
9
|
-
|
10
|
-
_EXAMPLE_DATETIME: str = datetime(1970, 1, 1, 0, 0, 0).strftime(
|
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: {
|
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")
|
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
|
{agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/models/chat_item/__init__.py
RENAMED
File without changes
|
{agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/models/chat_item/chat_item.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/models/enums/action_enum.py
RENAMED
File without changes
|
File without changes
|
{agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/models/enums/mtrs_label_enum.py
RENAMED
File without changes
|
File without changes
|
{agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common/models/enums/track_id_enum.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{agi_med_common-3.3.3 → agi_med_common-3.3.4}/src/agi_med_common.egg-info/dependency_links.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|