microsoft-agents-storage-cosmos 0.6.0.dev10__tar.gz → 0.6.0.dev15__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 (18) hide show
  1. {microsoft_agents_storage_cosmos-0.6.0.dev10 → microsoft_agents_storage_cosmos-0.6.0.dev15}/PKG-INFO +2 -2
  2. {microsoft_agents_storage_cosmos-0.6.0.dev10 → microsoft_agents_storage_cosmos-0.6.0.dev15}/microsoft_agents/storage/cosmos/errors/__init__.py +1 -1
  3. {microsoft_agents_storage_cosmos-0.6.0.dev10 → microsoft_agents_storage_cosmos-0.6.0.dev15}/microsoft_agents/storage/cosmos/errors/error_resources.py +1 -14
  4. {microsoft_agents_storage_cosmos-0.6.0.dev10 → microsoft_agents_storage_cosmos-0.6.0.dev15}/microsoft_agents_storage_cosmos.egg-info/PKG-INFO +2 -2
  5. microsoft_agents_storage_cosmos-0.6.0.dev15/microsoft_agents_storage_cosmos.egg-info/requires.txt +3 -0
  6. microsoft_agents_storage_cosmos-0.6.0.dev10/microsoft_agents_storage_cosmos.egg-info/requires.txt +0 -3
  7. {microsoft_agents_storage_cosmos-0.6.0.dev10 → microsoft_agents_storage_cosmos-0.6.0.dev15}/LICENSE +0 -0
  8. {microsoft_agents_storage_cosmos-0.6.0.dev10 → microsoft_agents_storage_cosmos-0.6.0.dev15}/microsoft_agents/storage/cosmos/__init__.py +0 -0
  9. {microsoft_agents_storage_cosmos-0.6.0.dev10 → microsoft_agents_storage_cosmos-0.6.0.dev15}/microsoft_agents/storage/cosmos/cosmos_db_storage.py +0 -0
  10. {microsoft_agents_storage_cosmos-0.6.0.dev10 → microsoft_agents_storage_cosmos-0.6.0.dev15}/microsoft_agents/storage/cosmos/cosmos_db_storage_config.py +0 -0
  11. {microsoft_agents_storage_cosmos-0.6.0.dev10 → microsoft_agents_storage_cosmos-0.6.0.dev15}/microsoft_agents/storage/cosmos/key_ops.py +0 -0
  12. {microsoft_agents_storage_cosmos-0.6.0.dev10 → microsoft_agents_storage_cosmos-0.6.0.dev15}/microsoft_agents_storage_cosmos.egg-info/SOURCES.txt +0 -0
  13. {microsoft_agents_storage_cosmos-0.6.0.dev10 → microsoft_agents_storage_cosmos-0.6.0.dev15}/microsoft_agents_storage_cosmos.egg-info/dependency_links.txt +0 -0
  14. {microsoft_agents_storage_cosmos-0.6.0.dev10 → microsoft_agents_storage_cosmos-0.6.0.dev15}/microsoft_agents_storage_cosmos.egg-info/top_level.txt +0 -0
  15. {microsoft_agents_storage_cosmos-0.6.0.dev10 → microsoft_agents_storage_cosmos-0.6.0.dev15}/pyproject.toml +0 -0
  16. {microsoft_agents_storage_cosmos-0.6.0.dev10 → microsoft_agents_storage_cosmos-0.6.0.dev15}/readme.md +0 -0
  17. {microsoft_agents_storage_cosmos-0.6.0.dev10 → microsoft_agents_storage_cosmos-0.6.0.dev15}/setup.cfg +0 -0
  18. {microsoft_agents_storage_cosmos-0.6.0.dev10 → microsoft_agents_storage_cosmos-0.6.0.dev15}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: microsoft-agents-storage-cosmos
3
- Version: 0.6.0.dev10
3
+ Version: 0.6.0.dev15
4
4
  Summary: A Cosmos DB storage library for Microsoft Agents
5
5
  Author: Microsoft Corporation
6
6
  License-Expression: MIT
@@ -15,7 +15,7 @@ Classifier: Operating System :: OS Independent
15
15
  Requires-Python: >=3.10
16
16
  Description-Content-Type: text/markdown
17
17
  License-File: LICENSE
18
- Requires-Dist: microsoft-agents-hosting-core==0.6.0.dev10
18
+ Requires-Dist: microsoft-agents-hosting-core==0.6.0.dev15
19
19
  Requires-Dist: azure-core
20
20
  Requires-Dist: azure-cosmos
21
21
  Dynamic: license-file
@@ -5,7 +5,7 @@
5
5
  Error resources for Microsoft Agents Storage Cosmos package.
6
6
  """
7
7
 
8
- from microsoft_agents.hosting.core.errors import ErrorMessage
8
+ from microsoft_agents.activity.errors import ErrorMessage
9
9
 
10
10
  from .error_resources import StorageErrorResources
11
11
 
@@ -7,7 +7,7 @@ Storage error resources for Microsoft Agents SDK (CosmosDB).
7
7
  Error codes are in the range -61000 to -61999.
8
8
  """
9
9
 
10
- from microsoft_agents.hosting.core.errors import ErrorMessage
10
+ from microsoft_agents.activity.errors import ErrorMessage
11
11
 
12
12
 
13
13
  class StorageErrorResources:
@@ -20,79 +20,66 @@ class StorageErrorResources:
20
20
  CosmosDbConfigRequired = ErrorMessage(
21
21
  "CosmosDBStorage: CosmosDBConfig is required.",
22
22
  -61000,
23
- "storage-configuration",
24
23
  )
25
24
 
26
25
  CosmosDbEndpointRequired = ErrorMessage(
27
26
  "CosmosDBStorage: cosmos_db_endpoint is required.",
28
27
  -61001,
29
- "storage-configuration",
30
28
  )
31
29
 
32
30
  CosmosDbAuthKeyRequired = ErrorMessage(
33
31
  "CosmosDBStorage: auth_key is required.",
34
32
  -61002,
35
- "storage-configuration",
36
33
  )
37
34
 
38
35
  CosmosDbDatabaseIdRequired = ErrorMessage(
39
36
  "CosmosDBStorage: database_id is required.",
40
37
  -61003,
41
- "storage-configuration",
42
38
  )
43
39
 
44
40
  CosmosDbContainerIdRequired = ErrorMessage(
45
41
  "CosmosDBStorage: container_id is required.",
46
42
  -61004,
47
- "storage-configuration",
48
43
  )
49
44
 
50
45
  CosmosDbKeyCannotBeEmpty = ErrorMessage(
51
46
  "CosmosDBStorage: Key cannot be empty.",
52
47
  -61005,
53
- "storage-configuration",
54
48
  )
55
49
 
56
50
  CosmosDbPartitionKeyInvalid = ErrorMessage(
57
51
  "CosmosDBStorage: PartitionKey of {0} cannot be used with a CosmosDbPartitionedStorageOptions.PartitionKey of {1}.",
58
52
  -61006,
59
- "storage-configuration",
60
53
  )
61
54
 
62
55
  CosmosDbPartitionKeyPathInvalid = ErrorMessage(
63
56
  "CosmosDBStorage: PartitionKeyPath must match cosmosDbPartitionedStorageOptions value of {0}",
64
57
  -61007,
65
- "storage-configuration",
66
58
  )
67
59
 
68
60
  CosmosDbCompatibilityModeRequired = ErrorMessage(
69
61
  "CosmosDBStorage: compatibilityMode cannot be set when using partitionKey options.",
70
62
  -61008,
71
- "storage-configuration",
72
63
  )
73
64
 
74
65
  CosmosDbPartitionKeyNotFound = ErrorMessage(
75
66
  "CosmosDBStorage: Partition key '{0}' missing from state, you may be missing custom state implementation.",
76
67
  -61009,
77
- "storage-configuration",
78
68
  )
79
69
 
80
70
  CosmosDbInvalidPartitionKeyValue = ErrorMessage(
81
71
  "CosmosDBStorage: Invalid PartitionKey property on item with id {0}",
82
72
  -61010,
83
- "storage-configuration",
84
73
  )
85
74
 
86
75
  CosmosDbInvalidKeySuffixCharacters = ErrorMessage(
87
76
  "Cannot use invalid Row Key characters: {0} in keySuffix.",
88
77
  -61011,
89
- "storage-configuration",
90
78
  )
91
79
 
92
80
  InvalidConfiguration = ErrorMessage(
93
81
  "Invalid configuration: {0}",
94
82
  -61012,
95
- "configuration",
96
83
  )
97
84
 
98
85
  def __init__(self):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: microsoft-agents-storage-cosmos
3
- Version: 0.6.0.dev10
3
+ Version: 0.6.0.dev15
4
4
  Summary: A Cosmos DB storage library for Microsoft Agents
5
5
  Author: Microsoft Corporation
6
6
  License-Expression: MIT
@@ -15,7 +15,7 @@ Classifier: Operating System :: OS Independent
15
15
  Requires-Python: >=3.10
16
16
  Description-Content-Type: text/markdown
17
17
  License-File: LICENSE
18
- Requires-Dist: microsoft-agents-hosting-core==0.6.0.dev10
18
+ Requires-Dist: microsoft-agents-hosting-core==0.6.0.dev15
19
19
  Requires-Dist: azure-core
20
20
  Requires-Dist: azure-cosmos
21
21
  Dynamic: license-file
@@ -0,0 +1,3 @@
1
+ microsoft-agents-hosting-core==0.6.0.dev15
2
+ azure-core
3
+ azure-cosmos
@@ -1,3 +0,0 @@
1
- microsoft-agents-hosting-core==0.6.0.dev10
2
- azure-core
3
- azure-cosmos