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

Accept additional metadata from File object #11

Merged
merged 4 commits into from
Aug 30, 2022
Merged

Accept additional metadata from File object #11

merged 4 commits into from
Aug 30, 2022

Conversation

jowilf
Copy link
Owner

@jowilf jowilf commented Aug 30, 2022

  • Add upload_storage to the default information saved into the database. Before, upload_storage can be extracted from path attribute. Now you can access directly with file['upload_storage'].
  • Add Additional metadata inside File object and they will be save into your configured storage

…se. Before, upload_storage can be extracted from `path` attribute. Now you can access directly with file['upload_storage'].
@codecov-commenter
Copy link

codecov-commenter commented Aug 30, 2022

Codecov Report

Merging #11 (9bbc57a) into main (5a4fb5a) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #11   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           24        24           
  Lines         1729      1754   +25     
=========================================
+ Hits          1729      1754   +25     
Impacted Files Coverage Δ
sqlalchemy_file/file.py 100.00% <100.00%> (ø)
sqlalchemy_file/processors.py 100.00% <100.00%> (ø)
tests/test_result_value.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@jowilf jowilf changed the title Additional metadata inside File object Accept additional metadata from File object Aug 30, 2022
@jowilf jowilf merged commit 56f91b4 into main Aug 30, 2022
@jowilf jowilf deleted the dev branch August 30, 2022 21:54
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