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

chore(deps-dev): bump urllib3 from 1.26.18 to 1.26.19 in the pip group across 1 directory #8

Merged
merged 6 commits into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
23 changes: 23 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Python: Current File",
"type": "debugpy",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal"
},
{
"name": "Python: Run Functional Tests (From Scratch)",
"type": "debugpy",
"request": "launch",
"program": "pytest",
"console": "integratedTerminal",
"env": {
"PYTEST_CASSETTES_DIR": "${workspaceFolder}/tests/cassettes"
},
"preLaunchTask": "delete_cassettes"
}
]
}
17 changes: 17 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "delete_cassettes",
"type": "shell",
"command": "rm",
"args": ["-rf", "${workspaceFolder}/tests/**/cassettes/*.yaml"],
"problemMatcher": {
"base": "$tsc-watch",
"applyTo": "allDocuments"
}
}
]
}
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "diffbot-kg"
version = "0.2.1"
version = "0.2.3"
description = "Python client for the Diffbot Knowledge Graph API."
authors = ["Brendan C. Smith"]
license = "MIT"
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/clients/test_enhance_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ async def test_mocked_enhance(self, mocker, client):
# ARRANGE

# Define the search query parameters
params = {"query": "your_search_query", "limit": 10}
params = {"query": "your_search_query", "size": 10}

# Mock the _post_or_put method
mocker.patch.object(
Expand All @@ -43,7 +43,7 @@ async def test_mocked_create_bulkjob(self, mocker, client):
# ARRANGE

# Define the search query parameters
params = {"query": "your_bulk_enhance_query", "limit": 10}
params = {"query": "your_bulk_enhance_query", "size": 10}

# Mock the _post_or_put method
mocker.patch.object(
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/clients/test_search_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ async def test_mocked_search(self, mocker, client):
# ARRANGE

# Define the search query parameters
params = {"query": "your_search_query", "limit": 10}
params = {"query": "your_search_query", "size": 10}

# Mock the _post_or_put method
mocker.patch.object(
Expand Down
Loading