glchat-plugin 0.2.4__py3-none-any.whl → 0.2.5__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.
- glchat_plugin/service/base_rate_limiter_service.py +2 -4
- {glchat_plugin-0.2.4.dist-info → glchat_plugin-0.2.5.dist-info}/METADATA +1 -1
- {glchat_plugin-0.2.4.dist-info → glchat_plugin-0.2.5.dist-info}/RECORD +5 -5
- {glchat_plugin-0.2.4.dist-info → glchat_plugin-0.2.5.dist-info}/WHEEL +0 -0
- {glchat_plugin-0.2.4.dist-info → glchat_plugin-0.2.5.dist-info}/top_level.txt +0 -0
|
@@ -15,13 +15,11 @@ class BaseRateLimiterService(ABC):
|
|
|
15
15
|
"""A base class for tenant service."""
|
|
16
16
|
|
|
17
17
|
@abstractmethod
|
|
18
|
-
async def custom_identifier(self, request: Any
|
|
18
|
+
async def custom_identifier(self, request: Any) -> str:
|
|
19
19
|
"""Abstract method to get a custom identifier for rate limiting.
|
|
20
20
|
|
|
21
21
|
Args:
|
|
22
|
-
request (
|
|
23
|
-
identifier_id (str): The identifier ID for rate limiting.
|
|
24
|
-
**kwargs (Any): Additional keyword arguments.
|
|
22
|
+
request (Any): The incoming request.
|
|
25
23
|
|
|
26
24
|
Returns:
|
|
27
25
|
str: A custom identifier for rate limiting.
|
|
@@ -9,7 +9,7 @@ glchat_plugin/pipeline/base_pipeline_preset_config.py,sha256=2DxJlroZ_tvVO6DYo1R
|
|
|
9
9
|
glchat_plugin/pipeline/pipeline_handler.py,sha256=vDvIPI7Y39K_DI3jvQZsXC9YzQLUI4TuC-boyasdey8,24405
|
|
10
10
|
glchat_plugin/pipeline/pipeline_plugin.py,sha256=1i7w7WepM5gON4Kx10SjL7NV7-SYVAmRE1EW2m_dOYg,4028
|
|
11
11
|
glchat_plugin/service/__init__.py,sha256=9T4qzyYL052qLqva5el1F575OTRNaaf9tb9UvW-leTc,47
|
|
12
|
-
glchat_plugin/service/base_rate_limiter_service.py,sha256=
|
|
12
|
+
glchat_plugin/service/base_rate_limiter_service.py,sha256=tgKwdr4EqnGo5iDRVJPnlg8W9q0hiUzfeewAtdW4IjU,1232
|
|
13
13
|
glchat_plugin/service/base_tenant_service.py,sha256=CB-jJWXi87nTcjO1XhPoSgNMf2YA_LfXoHr30ye0VtI,734
|
|
14
14
|
glchat_plugin/service/base_user_service.py,sha256=qnRKl2u1xhGc4wMaOd_h_mAuxM7GduyDbqebj-k3GDE,2211
|
|
15
15
|
glchat_plugin/storage/__init__.py,sha256=VNO7ua2yAOLzXwe6H6zDZz9yXbhQfKqNJzxE3G8IyfA,50
|
|
@@ -17,7 +17,7 @@ glchat_plugin/storage/base_anonymizer_storage.py,sha256=oFwovWrsjM7v1YjeN-4p-M3O
|
|
|
17
17
|
glchat_plugin/storage/base_chat_history_storage.py,sha256=JvUUFMu_9jRBQ9yug_x7S4rQjZEA1vM5ombDvz-7zCE,11095
|
|
18
18
|
glchat_plugin/tools/__init__.py,sha256=OFotHbgQ8mZEbdlvlv5aVMdxfubPvkVWAcTwhIPdIqQ,542
|
|
19
19
|
glchat_plugin/tools/decorators.py,sha256=AvQBV18wzXWdC483RSSmpfh92zsqTyp8SzDLIkreIGU,3925
|
|
20
|
-
glchat_plugin-0.2.
|
|
21
|
-
glchat_plugin-0.2.
|
|
22
|
-
glchat_plugin-0.2.
|
|
23
|
-
glchat_plugin-0.2.
|
|
20
|
+
glchat_plugin-0.2.5.dist-info/METADATA,sha256=1wObo5KCKmhQp3I4Tzo7ifU7n5rszyuDsMeL63tCGgg,2063
|
|
21
|
+
glchat_plugin-0.2.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
22
|
+
glchat_plugin-0.2.5.dist-info/top_level.txt,sha256=fzKSXmct5dY4CAKku4-mkdHX-QPAyQVvo8vpQj8qizY,14
|
|
23
|
+
glchat_plugin-0.2.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|