File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -117,9 +117,21 @@ def main() -> None:
117117 engine_args = _parse_engine_args (args .engine_arg )
118118 engine = create_engine (args .url , ** engine_args )
119119 metadata = MetaData ()
120- tables = [tablename .strip () for tablename in args .tables .split ("," )] if args .tables else None
121- schemas = [schema .strip () for schema in args .schemas .split ("," )] if args .schemas else [None ]
122- options = set ([option .strip () for option in args .options .split ("," )]) if args .options else set ()
120+ tables = (
121+ [tablename .strip () for tablename in args .tables .split ("," )]
122+ if args .tables
123+ else None
124+ )
125+ schemas = (
126+ [schema .strip () for schema in args .schemas .split ("," )]
127+ if args .schemas
128+ else [None ]
129+ )
130+ options = (
131+ set ([option .strip () for option in args .options .split ("," )])
132+ if args .options
133+ else set ()
134+ )
123135
124136 # Instantiate the generator
125137 generator_class = generators [args .generator ].load ()
You can’t perform that action at this time.
0 commit comments