Skip to content

Commit

Permalink
✅ Fix tgis client fixture for acceting kwargs
Browse files Browse the repository at this point in the history
Signed-off-by: gkumbhat <[email protected]>
  • Loading branch information
gkumbhat committed May 17, 2024
1 parent 40fb403 commit 48216eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/fixtures/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,13 +198,13 @@ class StubTGISClient:
def __init__(self, base_model_name):
pass

def Generate(self, request):
def Generate(self, request, **kwargs):
return StubTGISClient.unary_generate(request)

def GenerateStream(self, request):
def GenerateStream(self, request, **kwargs):
return StubTGISClient.stream_generate(request)

def Tokenize(self, request):
def Tokenize(self, request, **kwargs):
return StubTGISClient.tokenize(request)

@staticmethod
Expand Down

0 comments on commit 48216eb

Please sign in to comment.