nora-lib-impl 1.2.3__tar.gz → 1.3.0.dev1__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.
- {nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/PKG-INFO +1 -1
- {nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/src/nora_lib/impl/interactions/interactions_service.py +4 -5
- {nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/src/nora_lib_impl.egg-info/PKG-INFO +1 -1
- {nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/README.md +0 -0
- {nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/pyproject.toml +0 -0
- {nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/setup.cfg +0 -0
- {nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/setup.py +0 -0
- {nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/src/nora_lib/__init__.py +0 -0
- {nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/src/nora_lib/impl/__init__.py +0 -0
- {nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/src/nora_lib/impl/context/__init__.py +0 -0
- {nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/src/nora_lib/impl/context/agent_context.py +0 -0
- {nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/src/nora_lib/impl/context/context_service.py +0 -0
- {nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/src/nora_lib/impl/context/models.py +0 -0
- {nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/src/nora_lib/impl/interactions/__init__.py +0 -0
- {nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/src/nora_lib/impl/interactions/models.py +0 -0
- {nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/src/nora_lib/impl/interactions/step_progress.py +0 -0
- {nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/src/nora_lib/impl/pubsub.py +0 -0
- {nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/src/nora_lib/impl/tasks/__init__.py +0 -0
- {nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/src/nora_lib/impl/tasks/state.py +0 -0
- {nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/src/nora_lib/progress/__init__.py +0 -0
- {nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/src/nora_lib/progress/models.py +0 -0
- {nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/src/nora_lib/progress/reporter.py +0 -0
- {nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/src/nora_lib/py.typed +0 -0
- {nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/src/nora_lib/serializers.py +0 -0
- {nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/src/nora_lib/tasks/__init__.py +0 -0
- {nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/src/nora_lib/tasks/models.py +0 -0
- {nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/src/nora_lib/tasks/state.py +0 -0
- {nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/src/nora_lib_impl.egg-info/SOURCES.txt +0 -0
- {nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/src/nora_lib_impl.egg-info/dependency_links.txt +0 -0
- {nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/src/nora_lib_impl.egg-info/requires.txt +0 -0
- {nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/src/nora_lib_impl.egg-info/top_level.txt +0 -0
|
@@ -41,12 +41,9 @@ class InteractionsService:
|
|
|
41
41
|
) -> None:
|
|
42
42
|
self.base_url = base_url
|
|
43
43
|
self.timeout = timeout
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
elif token:
|
|
44
|
+
self.auth = auth
|
|
45
|
+
if token:
|
|
47
46
|
self.auth = BearerAuth(token)
|
|
48
|
-
else:
|
|
49
|
-
raise Exception("Either token or auth must be provided")
|
|
50
47
|
|
|
51
48
|
def _post(self, url: str, json: Dict[str, Any]) -> Response:
|
|
52
49
|
return requests.post(
|
|
@@ -373,6 +370,7 @@ class InteractionsService:
|
|
|
373
370
|
self,
|
|
374
371
|
channel_id: str,
|
|
375
372
|
min_timestamp: Optional[str] = None,
|
|
373
|
+
before_timestamp: Optional[str] = None,
|
|
376
374
|
event_types: Optional[List[str]] = None,
|
|
377
375
|
num_most_recent_threads: Optional[int] = None,
|
|
378
376
|
num_most_recent_messages_per_thread: Optional[int] = None,
|
|
@@ -386,6 +384,7 @@ class InteractionsService:
|
|
|
386
384
|
thread_filter_query = {
|
|
387
385
|
"status": thread_status,
|
|
388
386
|
"min_timestamp": min_timestamp if min_timestamp else None,
|
|
387
|
+
"before_timestamp": before_timestamp if before_timestamp else None,
|
|
389
388
|
"most_recent": num_most_recent_threads if num_most_recent_threads else None,
|
|
390
389
|
}
|
|
391
390
|
event_query = {"filter": None if event_types is None else {"type": event_types}}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/src/nora_lib/impl/context/context_service.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/src/nora_lib/impl/interactions/step_progress.py
RENAMED
|
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
|
{nora_lib_impl-1.2.3 → nora_lib_impl-1.3.0.dev1}/src/nora_lib_impl.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|