Skip to content

Commit

Permalink
Merge pull request #182 from zeus-fyi/mb-python
Browse files Browse the repository at this point in the history
add examples
  • Loading branch information
ctrl-alt-lulz authored Feb 27, 2024
2 parents ae06cb8 + 3a7ca83 commit b2d7dce
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion examples/mockingbird/python/analysis_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ def get_task(tid):

def create_analysis_task(task):
url = api_v1_path + "/tasks/ai"
print(url)
headers = get_headers()
response = requests.post(url, json=task, headers=headers)
# Check the response status
Expand Down
1 change: 0 additions & 1 deletion examples/mockingbird/python/retrievals.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ def get_retrieval(rid):

def create_or_update_retrieval(ret):
url = api_v1_path + "/retrievals/ai"
print(url)
headers = get_headers()
response = requests.post(url, json=ret, headers=headers)
# Check the response status
Expand Down

0 comments on commit b2d7dce

Please sign in to comment.