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

feat: Set feature export response on initial API request #3126

Merged
merged 7 commits into from
Dec 8, 2023

Conversation

zachaysan
Copy link
Contributor

Thanks for submitting a PR! Please check the boxes below:

  • I have run pre-commit to check linting
  • I have added information to docs/ if required so people know about the feature!
  • I have filled in the "Changes" section below?
  • I have filled in the "How did you test this code" section below?
  • I have used a Conventional Commit title for this Pull Request

Changes

Instead of taking the initial API request that would allow a new FeatureExport to create in the background, now an empty instance is created and passed off to the task responsible for generating the document and indicating success afterwards.

How did you test this code?

A number of existing tests provided coverage and were updated as the endpoint and task signature was changed.

Copy link

vercel bot commented Dec 8, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview Dec 8, 2023 8:19pm
flagsmith-frontend-preview ✅ Ready (Inspect) Visit Preview Dec 8, 2023 8:19pm
flagsmith-frontend-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 8, 2023 8:19pm

Copy link
Contributor

github-actions bot commented Dec 8, 2023

Uffizzi Preview deployment-42458 was deleted.

@codecov-commenter
Copy link

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (0604ec1) 95.90% compared to head (f337efb) 95.89%.
Report is 3 commits behind head on main.

Files Patch % Lines
api/features/import_export/tasks.py 75.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3126      +/-   ##
==========================================
- Coverage   95.90%   95.89%   -0.01%     
==========================================
  Files        1048     1049       +1     
  Lines       31384    31409      +25     
==========================================
+ Hits        30100    30121      +21     
- Misses       1284     1288       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zachaysan zachaysan requested review from a team and novakzaballa and removed request for a team December 8, 2023 20:30
@zachaysan zachaysan added this pull request to the merge queue Dec 8, 2023
Merged via the queue into main with commit 89b7c8c Dec 8, 2023
20 checks passed
@zachaysan zachaysan deleted the feat/set_feature_export_response_on_init_request branch December 8, 2023 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issue related to the REST API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants