mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-17 16:39:52 +00:00
lint
This commit is contained in:
parent
44bbdab6a6
commit
0f28c5ca18
@ -1,5 +1,5 @@
|
||||
import pytest
|
||||
from langchain_tests.conftest import _base_vcr_config
|
||||
from langchain_tests.conftest import _base_vcr_config as _base_vcr_config
|
||||
|
||||
_EXTRA_HEADERS = [
|
||||
("openai-organization", "PLACEHOLDER"),
|
||||
@ -7,13 +7,13 @@ _EXTRA_HEADERS = [
|
||||
]
|
||||
|
||||
|
||||
def remove_response_headers(response):
|
||||
def remove_response_headers(response: dict) -> dict:
|
||||
response["headers"] = {}
|
||||
return response
|
||||
|
||||
|
||||
@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.
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user