Skip to content
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

feat: Enable adding files #1864

Merged
merged 26 commits into from
Oct 14, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Modify test_client
  • Loading branch information
Matt Zhou authored and Matt Zhou committed Oct 10, 2024
commit 89d8adc5e100ba024b2c624077bc484f3756553f
4 changes: 4 additions & 0 deletions tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,10 @@ def test_sources(client: Union[LocalClient, RESTClient], agent: AgentState):
for source in client.list_sources():
client.delete_source(source.id)

# clear jobs
for job in client.list_jobs():
client.delete_job(job.id)

# list sources
sources = client.list_sources()
print("listed sources", sources)
Expand Down