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

Updated generate_project_files to bulk upload entities #1714

Merged
merged 8 commits into from
Jul 29, 2024

Conversation

Sujanadh
Copy link
Collaborator

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

  • πŸ• Feature
  • πŸ› Bug Fix
  • πŸ“ Documentation
  • πŸ§‘β€πŸ’» Refactor
  • βœ… Test
  • πŸ€– Build or CI
  • ❓ Other (please specify)

Related Issue

Describe this PR

This PR now allows to create entities via single api call without needing entity form creation.

  • refactored generate_project_files shifting odk_contents to generate_odk_central_project_content
  • created Data Class for the Fields in project_schemas required for entities
  • removed entity_creation_form
  • created functions to create dataset , its properties(fields), bulk create entities via api calls in osm-fieldwork
  • dependent to release of osm-fieldwork

Screenshots

N/A

Alternative Approaches Considered

Did you attempt any other approaches that are not documented in code?

Review Guide

Notes for the reviewer. How to test this change?

Checklist before requesting a review

[optional] What gif best describes this PR or how it makes you feel?

@Sujanadh Sujanadh requested a review from spwoodcock July 29, 2024 11:11
@Sujanadh Sujanadh self-assigned this Jul 29, 2024
@github-actions github-actions bot added the backend Related to backend code label Jul 29, 2024
@Sujanadh Sujanadh added the dependency:osm-fieldwork Requires updates in osm-fieldwork label Jul 29, 2024
@spwoodcock
Copy link
Member

Excellent work - thanks for your help on this Sujan!

Project creation is so much faster now πŸŽ‰

@spwoodcock spwoodcock merged commit 2e52a81 into development Jul 29, 2024
5 of 6 checks passed
@spwoodcock spwoodcock deleted the feat/bulk-upload-entities branch July 29, 2024 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to backend code dependency:osm-fieldwork Requires updates in osm-fieldwork
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants