mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-18 00:51:18 +00:00
lint
This commit is contained in:
parent
44bbdab6a6
commit
0f28c5ca18
@ -1,5 +1,5 @@
|
|||||||
import pytest
|
import pytest
|
||||||
from langchain_tests.conftest import _base_vcr_config
|
from langchain_tests.conftest import _base_vcr_config as _base_vcr_config
|
||||||
|
|
||||||
_EXTRA_HEADERS = [
|
_EXTRA_HEADERS = [
|
||||||
("openai-organization", "PLACEHOLDER"),
|
("openai-organization", "PLACEHOLDER"),
|
||||||
@ -7,13 +7,13 @@ _EXTRA_HEADERS = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
def remove_response_headers(response):
|
def remove_response_headers(response: dict) -> dict:
|
||||||
response["headers"] = {}
|
response["headers"] = {}
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(scope="session")
|
@pytest.fixture(scope="session")
|
||||||
def vcr_config(_base_vcr_config: dict) -> dict:
|
def vcr_config(_base_vcr_config: dict) -> dict: # noqa: F811
|
||||||
"""
|
"""
|
||||||
Extend the default configuration coming from langchain_tests.
|
Extend the default configuration coming from langchain_tests.
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user