diff options
Diffstat (limited to 'packages/sdk/python/examples/file_status.py')
| -rw-r--r-- | packages/sdk/python/examples/file_status.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/sdk/python/examples/file_status.py b/packages/sdk/python/examples/file_status.py new file mode 100644 index 000000000..e86cfa3f6 --- /dev/null +++ b/packages/sdk/python/examples/file_status.py @@ -0,0 +1,6 @@ +from opencode_ai import OpenCodeClient + +client = OpenCodeClient() +files = client.file_status() or [] +for f in files: + print(f.path, f.type) |
