-
Notifications
You must be signed in to change notification settings - Fork 146
load_submission
Kirk Barden edited this page May 22, 2020
·
18 revisions
load_submission is responsible for pulling File A, B, C data and Submission metadata from Broker for a single DABS submission. It is executed from the command line via ./manage.py load_submission submission_id and is an integral part of the nightly USAspending pipeline where its execution is initiated indirectly via the load_multiple_submissions command.
load_submission accepts two command line arguments:
-
submission_idis a required positional argument used to indicate a single Brokersubmission.submission_idto be loaded. -
--testis an optional switch that causes the loader to utilize a "phony cursor" that reads data fromusaspending_api/etl/tests/etl_test_data.jsonrather than attempting to pull data from Broker. As the name implies, this is strictly for testing.
MORE INCOMING
- Home
- The DATA Act
-
Data
- Account Data (A/B/C)
-
Award Data (D1/D2)
- Contract Data (D1)
- Assistance Data (D2)
- Recipient Data (E)
- Subaward Data (F)
- File C to D Linkage
- Agency Data (Federal Hierarchy)
- Location Data
- Management Commands
- Release Notes
- Resources