We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d65ada commit 5a9756fCopy full SHA for 5a9756f
tests/worker/workflow_sandbox/test_runner.py
@@ -416,10 +416,7 @@ async def run(self) -> None:
416
# Using a datetime in binary-compiled Pydantic skips our issubclass when
417
# building their validators causing it to use date instead
418
# TODO(cretz): https://github.com/temporalio/sdk-python/issues/207
419
- if pydantic.compiled:
420
- assert isinstance(PydanticMessage(content=workflow.now()).content, date)
421
- else:
422
- assert isinstance(PydanticMessage(content=workflow.now()).content, datetime)
+ assert isinstance(PydanticMessage(content=workflow.now()).content, datetime)
423
424
425
async def test_workflow_sandbox_known_issues(client: Client):
0 commit comments