mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2025-12-30 21:29:44 -06:00
* api changes * doc changes * move docs * generated * generate * pkg * backmerge main * revert to main * revert main * race? * remove go tests
19 lines
386 B
Python
19 lines
386 B
Python
from hatchet_sdk import Hatchet
|
|
|
|
hatchet = Hatchet(debug=True)
|
|
|
|
|
|
def main() -> None:
|
|
workflow_list = hatchet.workflows.list()
|
|
rows = workflow_list.rows or []
|
|
|
|
for workflow in rows:
|
|
print(workflow.name)
|
|
print(workflow.metadata.id)
|
|
print(workflow.metadata.created_at)
|
|
print(workflow.metadata.updated_at)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|