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.
Files changed (29) hide show
  1. {futurehouse_client-0.3.20.dev266/futurehouse_client.egg-info → futurehouse_client-0.3.20.dev295}/PKG-INFO +1 -1
  2. {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client/models/rest.py +1 -0
  3. {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client/version.py +2 -2
  4. {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295/futurehouse_client.egg-info}/PKG-INFO +1 -1
  5. {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/tests/test_rest.py +5 -11
  6. {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/LICENSE +0 -0
  7. {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/README.md +0 -0
  8. {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/docs/__init__.py +0 -0
  9. {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/docs/client_notebook.ipynb +0 -0
  10. {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client/__init__.py +0 -0
  11. {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client/clients/__init__.py +0 -0
  12. {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client/clients/job_client.py +0 -0
  13. {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client/clients/rest_client.py +0 -0
  14. {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client/models/__init__.py +0 -0
  15. {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client/models/app.py +0 -0
  16. {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client/models/client.py +0 -0
  17. {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client/py.typed +0 -0
  18. {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client/utils/__init__.py +0 -0
  19. {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client/utils/auth.py +0 -0
  20. {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client/utils/general.py +0 -0
  21. {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client/utils/module_utils.py +0 -0
  22. {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client/utils/monitoring.py +0 -0
  23. {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client.egg-info/SOURCES.txt +0 -0
  24. {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client.egg-info/dependency_links.txt +0 -0
  25. {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client.egg-info/requires.txt +0 -0
  26. {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/futurehouse_client.egg-info/top_level.txt +0 -0
  27. {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/pyproject.toml +0 -0
  28. {futurehouse_client-0.3.20.dev266 → futurehouse_client-0.3.20.dev295}/setup.cfg +0 -0
  29. {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.dev266
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
@@ -51,6 +51,7 @@ class WorldModel(BaseModel):
51
51
  description: str | None = None
52
52
  trajectory_id: UUID | str | None = None
53
53
  model_metadata: JsonValue | None = None
54
+ project_id: UUID | str | None = None
54
55
 
55
56
 
56
57
  class WorldModelResponse(BaseModel):
@@ -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.dev266'
21
- __version_tuple__ = version_tuple = (0, 3, 20, 'dev266')
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.dev266
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) == str(model_by_name.id)
752
- assert model_by_id.content == model.content == model_by_name.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) == str(model_by_name.id)
783
- assert model_by_id.content == model.content == model_by_name.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 == "in progress"
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"}