futurehouse-client 0.3.20.dev266__tar.gz → 0.3.20.dev295__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.
- {futurehouse_client-0.3.20.dev266/futurehouse_client.egg-info → futurehouse_client-0.3.20.dev295}/PKG-INFO +1 -1
- {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client/models/rest.py +1 -0
- {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client/version.py +2 -2
- {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295/futurehouse_client.egg-info}/PKG-INFO +1 -1
- {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/tests/test_rest.py +5 -11
- {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/LICENSE +0 -0
- {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/README.md +0 -0
- {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/docs/__init__.py +0 -0
- {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/docs/client_notebook.ipynb +0 -0
- {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client/__init__.py +0 -0
- {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client/clients/__init__.py +0 -0
- {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client/clients/job_client.py +0 -0
- {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client/clients/rest_client.py +0 -0
- {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client/models/__init__.py +0 -0
- {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client/models/app.py +0 -0
- {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client/models/client.py +0 -0
- {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client/py.typed +0 -0
- {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client/utils/__init__.py +0 -0
- {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client/utils/auth.py +0 -0
- {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client/utils/general.py +0 -0
- {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client/utils/module_utils.py +0 -0
- {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client/utils/monitoring.py +0 -0
- {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client.egg-info/SOURCES.txt +0 -0
- {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client.egg-info/dependency_links.txt +0 -0
- {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client.egg-info/requires.txt +0 -0
- {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client.egg-info/top_level.txt +0 -0
- {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/pyproject.toml +0 -0
- {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/setup.cfg +0 -0
- {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/tests/test_client.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: futurehouse-client
|
3
|
-
Version: 0.3.20.
|
3
|
+
Version: 0.3.20.dev295
|
4
4
|
Summary: A client for interacting with endpoints of the FutureHouse service.
|
5
5
|
Author-email: FutureHouse technical staff <hello@futurehouse.org>
|
6
6
|
License: Apache License
|
{futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client/version.py
RENAMED
@@ -17,5 +17,5 @@ __version__: str
|
|
17
17
|
__version_tuple__: VERSION_TUPLE
|
18
18
|
version_tuple: VERSION_TUPLE
|
19
19
|
|
20
|
-
__version__ = version = '0.3.20.
|
21
|
-
__version_tuple__ = version_tuple = (0, 3, 20, '
|
20
|
+
__version__ = version = '0.3.20.dev295'
|
21
|
+
__version_tuple__ = version_tuple = (0, 3, 20, 'dev295')
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: futurehouse-client
|
3
|
-
Version: 0.3.20.
|
3
|
+
Version: 0.3.20.dev295
|
4
4
|
Summary: A client for interacting with endpoints of the FutureHouse service.
|
5
5
|
Author-email: FutureHouse technical staff <hello@futurehouse.org>
|
6
6
|
License: Apache License
|
@@ -746,10 +746,9 @@ async def test_world_model_acreate_and_aget(admin_client: RestClient):
|
|
746
746
|
|
747
747
|
# try getting the newly created model by id
|
748
748
|
model_by_id = await admin_client.aget_world_model(model_id)
|
749
|
-
model_by_name = await admin_client.aget_world_model(name=model.name)
|
750
749
|
|
751
|
-
assert str(model_by_id.id) == str(model_id)
|
752
|
-
assert model_by_id.content == model.content
|
750
|
+
assert str(model_by_id.id) == str(model_id)
|
751
|
+
assert model_by_id.content == model.content
|
753
752
|
|
754
753
|
updated_model = WorldModel(
|
755
754
|
content="updated test content",
|
@@ -760,11 +759,9 @@ async def test_world_model_acreate_and_aget(admin_client: RestClient):
|
|
760
759
|
|
761
760
|
# try getting the newly created model by id
|
762
761
|
updated_model_by_id = await admin_client.aget_world_model(updated_model_id)
|
763
|
-
updated_model_by_name = await admin_client.aget_world_model(name=model.name)
|
764
762
|
|
765
763
|
assert updated_model_by_id.name == model.name
|
766
764
|
assert updated_model_by_id.content != model.content
|
767
|
-
assert updated_model_by_name.content != model.content
|
768
765
|
|
769
766
|
|
770
767
|
def test_world_model_create_and_get(admin_client: RestClient):
|
@@ -777,10 +774,9 @@ def test_world_model_create_and_get(admin_client: RestClient):
|
|
777
774
|
|
778
775
|
# try getting the newly created model by id
|
779
776
|
model_by_id = admin_client.get_world_model(model_id)
|
780
|
-
model_by_name = admin_client.get_world_model(name=model.name)
|
781
777
|
|
782
|
-
assert str(model_by_id.id) == str(model_id)
|
783
|
-
assert model_by_id.content == model.content
|
778
|
+
assert str(model_by_id.id) == str(model_id)
|
779
|
+
assert model_by_id.content == model.content
|
784
780
|
|
785
781
|
updated_model = WorldModel(
|
786
782
|
content="updated test content",
|
@@ -791,11 +787,9 @@ def test_world_model_create_and_get(admin_client: RestClient):
|
|
791
787
|
|
792
788
|
# try getting the newly created model by id
|
793
789
|
updated_model_by_id = admin_client.get_world_model(updated_model_id)
|
794
|
-
updated_model_by_name = admin_client.get_world_model(name=model.name)
|
795
790
|
|
796
791
|
assert updated_model_by_id.name == model.name
|
797
792
|
assert updated_model_by_id.content != model.content
|
798
|
-
assert updated_model_by_name.content != model.content
|
799
793
|
|
800
794
|
|
801
795
|
class TestProjectOperations:
|
@@ -1078,7 +1072,7 @@ class TestAsyncUserAgentRequestOperations:
|
|
1078
1072
|
job_data = await admin_client.aget_task(
|
1079
1073
|
cast(str, retrieved_req.response_trajectory_id)
|
1080
1074
|
)
|
1081
|
-
assert job_data.status
|
1075
|
+
assert job_data.status in {"queued", "in progress"}
|
1082
1076
|
|
1083
1077
|
# 4. RESPOND to the request -- ensure nothing changes
|
1084
1078
|
ignored_response = {"answer": "Async Yes"}
|
File without changes
|
File without changes
|
File without changes
|
{futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/docs/client_notebook.ipynb
RENAMED
File without changes
|
{futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client/py.typed
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
|