Skip to content

Commit a88b954

Browse files
committed
pragma no cover
x
1 parent 4cb7771 commit a88b954

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nemoguardrails/llm/providers/_langchain_nvidia_ai_endpoints_patch.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
from langchain_nvidia_ai_endpoints import ChatNVIDIA as ChatNVIDIAOriginal
2626
from pydantic import Field
2727

28-
log = logging.getLogger(__name__)
28+
log = logging.getLogger(__name__) # pragma: no cover
2929

3030

31-
def stream_decorator(func):
31+
def stream_decorator(func): # pragma: no cover
3232
@wraps(func)
3333
def wrapper(
3434
self,
@@ -52,7 +52,7 @@ def wrapper(
5252

5353
# NOTE: this needs to have the same name as the original class,
5454
# otherwise, there's a check inside `langchain-nvidia-ai-endpoints` that will fail.
55-
class ChatNVIDIA(ChatNVIDIAOriginal):
55+
class ChatNVIDIA(ChatNVIDIAOriginal): # pragma: no cover
5656
streaming: bool = Field(
5757
default=False, description="Whether to use streaming or not"
5858
)

0 commit comments

Comments
 (0)