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

Allow passing BytesIO objects for OdkForm config & uploadMedia #229

Merged
merged 7 commits into from
Feb 28, 2024

Conversation

spwoodcock
Copy link
Member

@spwoodcock spwoodcock commented Feb 27, 2024

  • Fixed header usage in OdkCentral.py (merged for all requests).
  • Allow BytesIO objects to be passed to createForm and uploadMedia.
  • Fix upload media naming for uploadMedia (must be present in XForm, else fails silently).
  • Correctly set draft & published state on OdkForm.
  • Added multiple tests for OdkForm.

@spwoodcock spwoodcock added bug Something isn't working enhancement New feature or request labels Feb 27, 2024
@spwoodcock spwoodcock requested a review from robsavoye February 27, 2024 23:46
@spwoodcock spwoodcock self-assigned this Feb 27, 2024
@spwoodcock spwoodcock merged commit f1a063c into main Feb 28, 2024
4 of 5 checks passed
@spwoodcock spwoodcock deleted the feat/bytesio branch February 28, 2024 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
Development

Successfully merging this pull request may close these issues.

1 participant