Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data plugins yt #565

Merged
merged 10 commits into from
Jul 27, 2021
Merged

Data plugins yt #565

merged 10 commits into from
Jul 27, 2021

Conversation

wild-endeavor
Copy link
Contributor

@wild-endeavor wild-endeavor commented Jul 27, 2021

PR into #559

Merged in master so way more diffs to look at than usual.

The main change is that I changed the DataPersistencePlugins object to hold the DataPersistence classes instead of instances of those classes.

Also changed the base class to take a prefix. This is so that when running in local mode, we can have two different DiskPersistence objects pointing to different prefixes.

  • Deleted the old FileAccessProvider and moved the old imports to the new one.
  • Make HTTP persistence create the directory when downloading.

mayitbeegh and others added 5 commits July 22, 2021 23:05
… output variables (#557)

Signed-off-by: Sean Lin <[email protected]>

Co-authored-by: wild-endeavor <[email protected]>
* document flytekit remote module

Signed-off-by: cosmicBboy <[email protected]>

* execute method supports project/domain override

- add debug logging info for project/domain override
- update docs

Signed-off-by: cosmicBboy <[email protected]>

* update doc-requirements.txt

Signed-off-by: cosmicBboy <[email protected]>

* address nits

Signed-off-by: cosmicBboy <[email protected]>
Signed-off-by: wild-endeavor <[email protected]>
Signed-off-by: wild-endeavor <[email protected]>
@codecov
Copy link

codecov bot commented Jul 27, 2021

Codecov Report

Merging #565 (d3862e9) into data-plugins (1f10fa5) will decrease coverage by 0.35%.
The diff coverage is 70.14%.

Impacted file tree graph

@@               Coverage Diff                @@
##           data-plugins     #565      +/-   ##
================================================
- Coverage         85.44%   85.09%   -0.36%     
================================================
  Files               374      381       +7     
  Lines             29040    29488     +448     
  Branches           2332     2379      +47     
================================================
+ Hits              24813    25092     +279     
- Misses             3597     3751     +154     
- Partials            630      645      +15     
Impacted Files Coverage Δ
flytekit/clients/friendly.py 68.00% <ø> (+0.79%) ⬆️
flytekit/interfaces/data/data_proxy.py 90.58% <ø> (+10.18%) ⬆️
flytekit/remote/__init__.py 100.00% <ø> (ø)
flytekit/remote/component_nodes.py 69.84% <ø> (ø)
flytekit/remote/launch_plan.py 72.34% <ø> (ø)
flytekit/remote/nodes.py 69.04% <ø> (ø)
flytekit/remote/tasks/executions.py 68.18% <ø> (ø)
flytekit/remote/tasks/task.py 95.65% <ø> (ø)
flytekit/remote/workflow.py 61.53% <ø> (ø)
flytekit/remote/workflow_execution.py 72.72% <ø> (ø)
... and 43 more

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 1f10fa5...d3862e9. Read the comment docs.

@wild-endeavor wild-endeavor merged commit 345839b into data-plugins Jul 27, 2021
kumare3 pushed a commit that referenced this pull request Jul 31, 2021
Signed-off-by: wild-endeavor <[email protected]>
Signed-off-by: Ketan Umare <[email protected]>
kumare3 added a commit that referenced this pull request Aug 19, 2021
* Name attribute added

Signed-off-by: Ketan Umare <[email protected]>

* Data persistence work in progress

Signed-off-by: Ketan Umare <[email protected]>

* updated data persistence api

Signed-off-by: Ketan Umare <[email protected]>

* tried my hand at docs - failed!

Signed-off-by: Ketan Umare <[email protected]>

* wip - pr into #559 (#565)

Signed-off-by: wild-endeavor <[email protected]>

* simplify code

Signed-off-by: wild-endeavor <[email protected]>
Signed-off-by: Ketan Umare <[email protected]>

* Addressing comments

Signed-off-by: Ketan Umare <[email protected]>

* black format

Signed-off-by: Ketan Umare <[email protected]>

* Fixed lint errors

Signed-off-by: Ketan Umare <[email protected]>

* Added unit tests

Signed-off-by: Ketan Umare <[email protected]>

* fixed lint and added more tests

Signed-off-by: Ketan Umare <[email protected]>

* updated

Signed-off-by: Ketan Umare <[email protected]>

* delete this

Signed-off-by: Ketan Umare <[email protected]>

* Revert "delete this"

This reverts commit efa5234.

Signed-off-by: Ketan Umare <[email protected]>

* Fsspec DataPersistence plugin (#596)

* Support for all fsspec data-persistence plugins

Signed-off-by: Ketan Umare <[email protected]>

* fixed lint

Signed-off-by: Ketan Umare <[email protected]>

* FSSpec debugging and defaults

Signed-off-by: Ketan Umare <[email protected]>

* FSSpec implementation

Signed-off-by: Ketan Umare <[email protected]>

* updated fsspec plugin

Signed-off-by: Ketan Umare <[email protected]>

* minio support

Signed-off-by: Ketan Umare <[email protected]>

* persist fix

Signed-off-by: Ketan Umare <[email protected]>

* fixed

Signed-off-by: Ketan Umare <[email protected]>

* updated

Signed-off-by: Ketan Umare <[email protected]>

* client args

Signed-off-by: Ketan Umare <[email protected]>

* upload to a dir

Signed-off-by: Ketan Umare <[email protected]>

* updated

Signed-off-by: Ketan Umare <[email protected]>

* fixed paths

Signed-off-by: Ketan Umare <[email protected]>

* updated

Signed-off-by: Ketan Umare <[email protected]>

* updated

Signed-off-by: Ketan Umare <[email protected]>

* update put logic

Signed-off-by: Ketan Umare <[email protected]>

* updated

Signed-off-by: Ketan Umare <[email protected]>

* remove tempfile

Signed-off-by: Yee Hing Tong <[email protected]>

* unit tests added

Signed-off-by: Ketan Umare <[email protected]>

* lint fix

Signed-off-by: Ketan Umare <[email protected]>

* test

Signed-off-by: Yee Hing Tong <[email protected]>

* try another setting

Signed-off-by: Yee Hing Tong <[email protected]>

* just fsspec

Signed-off-by: Yee Hing Tong <[email protected]>

* missing s

Signed-off-by: Yee Hing Tong <[email protected]>

* Addressed comments

Signed-off-by: Ketan Umare <[email protected]>

* test fix

Signed-off-by: Ketan Umare <[email protected]>

* Great Expectations FlyteFile modifications

Signed-off-by: Samhita Alla <[email protected]>

* remove shutil package

Signed-off-by: Samhita Alla <[email protected]>

Co-authored-by: Yee Hing Tong <[email protected]>
Co-authored-by: Samhita Alla <[email protected]>
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.

3 participants