Skip to content

Commit

Permalink
generate_one_valid: make overwrites optional
Browse files Browse the repository at this point in the history
  • Loading branch information
otto-ifak committed Sep 30, 2024
1 parent 8267d57 commit e3441b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fences/open_api/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def add(self, schema: any, is_body: bool) -> Samples:
return samples


def generate_one_valid(operation: Operation, sample_cache: SampleCache, parameter_overwrites: Dict[str, any]) -> Request:
def generate_one_valid(operation: Operation, sample_cache: SampleCache, parameter_overwrites: Dict[str, any] = {}) -> Request:
test_case = Request(operation)
for param in operation.parameters:
try:
Expand Down

0 comments on commit e3441b8

Please sign in to comment.