Skip to content

Feat/incre load new resources#359

Merged
alexglasertpx merged 13 commits intomainfrom
feat/incre_load_new_resources
Mar 5, 2025
Merged

Feat/incre load new resources#359
alexglasertpx merged 13 commits intomainfrom
feat/incre_load_new_resources

Conversation

@alexglasertpx
Copy link
Copy Markdown
Contributor

What type of PR is this? (check all applicable)

  • Refactor
  • [X Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

Add a 'dataset_updatefunction to be used instead ofdataset_create` when incremental loading of new resources is implemented.

Added/updated tests?

We encourage you to keep the code coverage percentage at 80% and above. Please refer to the Digital Land Testing Guidance for more information.

  • Yes
  • No, and this is why: please replace this line with details on why tests
    have not been included
  • I need help with writing tests

Copy link
Copy Markdown
Contributor

@CarlosCoelhoSL CarlosCoelhoSL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm just one small comment

Comment thread digital_land/commands.py Outdated
Comment on lines +517 to +519
table_name = os.path.basename(
os.path.dirname(input_paths[0])
) # Find way to set this in a less hacky way
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is table_name just the dataset? I can't tell but if that's what it's meant to be then it's passed in to the function so you can just use that

@alexglasertpx alexglasertpx merged commit 18df7da into main Mar 5, 2025
3 checks passed
@alexglasertpx alexglasertpx deleted the feat/incre_load_new_resources branch March 5, 2025 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants