mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-04-28 05:30:05 -05:00
Fe overhaul docs (#1640)
* api changes * doc changes * move docs * generated * generate * pkg * backmerge main * revert to main * revert main * race? * remove go tests
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
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()
|
||||
Reference in New Issue
Block a user