feat: import core schemas from hub-core
This commit is contained in:
parent
093b2b14ae
commit
70b264a37a
5 changed files with 49 additions and 57 deletions
12
tests/test_hub_core_imports.py
Normal file
12
tests/test_hub_core_imports.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
from api.schemas.agent_message import MessageCreate
|
||||
from api.schemas.doi import DoIReport
|
||||
from hub_core.schemas.agent_message import MessageCreate as CoreMessageCreate
|
||||
from hub_core.schemas.doi import DoIReport as CoreDoIReport
|
||||
|
||||
|
||||
def test_state_hub_reexports_core_message_schema() -> None:
|
||||
assert MessageCreate is CoreMessageCreate
|
||||
|
||||
|
||||
def test_state_hub_reexports_core_doi_schema() -> None:
|
||||
assert DoIReport is CoreDoIReport
|
||||
Loading…
Add table
Add a link
Reference in a new issue