remove value None as default

This commit is contained in:
harisreedhar
2026-02-17 14:35:04 +05:30
committed by henryruhs
parent 4ab2d81580
commit 298dbc80f3
+2 -2
View File
@@ -11,8 +11,8 @@ from facefusion.apis.core import create_api
@pytest.fixture(scope = 'module')
def test_client() -> Iterator[TestClient]:
program = ArgumentParser()
source_paths_action = program.add_argument('--source-paths', nargs = '+', default = None)
target_path_action = program.add_argument('--target-path', default = None)
source_paths_action = program.add_argument('--source-paths', nargs = '+')
target_path_action = program.add_argument('--target-path')
output_format_action = program.add_argument('--output-format', default = 'mp4', choices = [ 'mp4', 'mkv', 'webm' ])
args_store.register_argument(source_paths_action, scopes = [ 'api' ])
args_store.register_argument(target_path_action, scopes = [ 'api' ])