Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Commit 1d96f47

Browse files
committed
Use properties as catalog
New Meltano version does not send the properties argument anymore. It appears that behaviour was supported in previous versions of this tap, but then dropped in a later stage.
1 parent e1937d3 commit 1d96f47

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tap_postgres/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -698,9 +698,9 @@ def main_impl():
698698

699699
if args.discover:
700700
do_discovery(conn_config)
701-
elif args.properties:
701+
elif args.properties or args.catalog:
702702
state = args.state
703-
do_sync(conn_config, args.properties, args.config.get('default_replication_method'), state)
703+
do_sync(conn_config, args.catalog.to_dict() if args.catalog else args.properties, args.config.get('default_replication_method'), state)
704704
else:
705705
LOGGER.info("No properties were selected")
706706

0 commit comments

Comments
 (0)