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

Commit 48832e7

Browse files
committed
[SP-3] Update README and help text
1 parent 5c0d7dc commit 48832e7

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,11 @@ usage: py -m rdl process [-h] [-f [FORCE_FULL_REFRESH_MODELS]]
1818
1919
positional arguments:
2020
source-connection-string
21-
The source connections string as a 64bit ODBC system
22-
dsn. Eg: mssql+pyodbc://dwsource
21+
The source connection string as either:
22+
- (a) 64bit ODBC system dsn.
23+
eg: `mssql+pyodbc://dwsource`.
24+
- (b) AWS Lambda Function.
25+
eg: `aws-lambda://tenant={databaseIdentifier};function={awsAccountNumber}:function:{functionName}`
2326
destination-connection-string
2427
The destination database connection string. Provide in
2528
PostgreSQL + Psycopg format. Eg: 'postgresql+psycopg2:

rdl/RelationalDataLoader.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,11 @@ def get_arguments(self):
9797
'source_connection_string',
9898
metavar='source-connection-string',
9999
type=self.raw_connection_string_to_valid_source_connection_string,
100-
help='The source connections string as a 64bit ODBC system dsn. Eg: mssql+pyodbc://dwsource')
100+
help='The source connection string as either '
101+
'(a) 64bit ODBC system dsn. '
102+
'Eg: mssql+pyodbc://dwsource. '
103+
'(b) AWS Lambda Function. '
104+
'Eg: aws-lambda://tenant={databaseIdentifier};function={awsAccountNumber}:function:{functionName}')
101105

102106
process_command_parser.add_argument(
103107
'destination_connection_string',

0 commit comments

Comments
 (0)