agrc / palletjack

A library for updating AGOL data from various external sources
https://agrc.github.io/palletjack/palletjack/
MIT License
12 stars 0 forks source link

feat: Downloading files from drive and adding files as attachments #9

Closed jacobdadams closed 2 years ago

jacobdadams commented 2 years ago

Added GoogleDriveDownloader and FeatureServiceAttachmentsUpdater classes for downloading files from Google Drive to local storage and attaching files to feature services based on a dataframe containing a join key and the path to the files.

More in-depth docs and examples for both will be forthcoming.

codecov[bot] commented 2 years ago

Codecov Report

Merging #9 (e2f48ce) into main (9839644) will decrease coverage by 14.11%. The diff coverage is 85.88%.

@@             Coverage Diff              @@
##              main       #9       +/-   ##
============================================
- Coverage   100.00%   85.88%   -14.12%     
============================================
  Files            1        3        +2     
  Lines            6      340      +334     
  Branches         0       50       +50     
============================================
+ Hits             6      292      +286     
- Misses           0       46       +46     
- Partials         0        2        +2     
Impacted Files Coverage Δ
src/palletjack/loaders.py 85.59% <85.59%> (ø)
src/palletjack/updaters.py 85.90% <85.90%> (ø)
src/palletjack/__init__.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 708bad8...e2f48ce. Read the comment docs.