Add --reload flag to data synchronization script #12
No reviewers
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: nick/753-Data-Sync#12
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/add-reload-flag-for-loading-data"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR introduces a new command-line argument
--reloadto the data synchronization script.When this flag is used, the script will truncate the specified feature layer in ArcGIS and load data
from a specified JSON file instead of fetching it from the API. This feature is useful for scenarios
where data needs to be reloaded without making API calls, allowing for quicker testing and data management.
Additionally, the feature layer is now truncated at the start of the script execution, ensuring that
it is cleared before loading new data.