We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1971bda commit 69e8ff8Copy full SHA for 69e8ff8
src/sqlacodegen/cli.py
@@ -117,9 +117,9 @@ def main() -> None:
117
engine_args = _parse_engine_args(args.engine_arg)
118
engine = create_engine(args.url, **engine_args)
119
metadata = MetaData()
120
- tables = args.tables.split(",") if args.tables else None
+ 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(args.options.split(",")) if args.options else set()
+ options = set([option.strip() for option in args.options.split(",")]) if args.options else set()
123
124
# Instantiate the generator
125
generator_class = generators[args.generator].load()
0 commit comments