-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating the execution window hours #28
Conversation
The version should be updated to 0.2.6 |
... } | ||
>>> DeviceExecutionWindow.parse_raw(json.dumps(input_json)) | ||
|
||
""" | ||
|
||
executionDay: ExecutionDay | ||
windowStartHour: datetime | ||
windowEndHour: datetime | ||
windowStartHour: time |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't these be strings?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
time can be a string, You can see the examples i added. https://pydantic-docs.helpmanual.io/usage/types/#datetime-types
@@ -114,3 +120,4 @@ class DeviceServiceProperties(BraketSchemaBase): | |||
deviceCost: Optional[DeviceCost] | |||
deviceDocumentation: Optional[DeviceDocumentation] | |||
deviceLocation: Optional[str] | |||
updatedAt: datetime |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't these be strings?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
datetime can be a string as well, please check the examples i added. https://pydantic-docs.helpmanual.io/usage/types/#datetime-types
Update OQC json schema to match GetDevice API call
Description of changes:
Build Results
Attach results of `tox -e zip-build
build_files.tar.gz
`
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.