Skip to content

Feature: Import data from kobo #29

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

Merged
merged 23 commits into from
Mar 5, 2025

Conversation

sergey-misuk-valor
Copy link
Contributor

No description provided.

@sergey-misuk-valor sergey-misuk-valor force-pushed the feature/import-data-from-kobo branch from 5554d2b to af87097 Compare December 3, 2024 05:34
@sergey-misuk-valor sergey-misuk-valor force-pushed the feature/import-data-from-kobo branch from 202bccf to 6cd54b3 Compare December 19, 2024 08:29
from requests.models import PreparedRequest


TOKEN = "Token"

Check notice

Code scanning / Bandit

Possible hardcoded password: 'Token'

Possible hardcoded password: 'Token'
class Question(Raw[raw_asset.SurveyItem]):
def __init__(self, raw: raw_asset.SurveyItem, in_group: bool, in_roster: bool) -> None:
super().__init__(raw)
assert not (in_group and in_roster), "Cannot be both in group and roster"

Check notice

Code scanning / Bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
@sergey-misuk-valor sergey-misuk-valor force-pushed the feature/import-data-from-kobo branch from 6cd54b3 to 740d142 Compare January 2, 2025 06:36
@sergey-misuk-valor sergey-misuk-valor force-pushed the feature/import-data-from-kobo branch from 740d142 to bd4e785 Compare February 28, 2025 11:45
Copy link

codecov bot commented Feb 28, 2025

Codecov Report

Attention: Patch coverage is 86.38132% with 35 lines in your changes missing coverage. Please review.

Project coverage is 92.51%. Comparing base (4dbd6e0) to head (78bf0e5).
Report is 24 commits behind head on develop.

Files with missing lines Patch % Lines
...country_workspace/contrib/kobo/api/data/helpers.py 38.09% 13 Missing ⚠️
src/country_workspace/workspaces/admin/program.py 35.71% 9 Missing ⚠️
...c/country_workspace/contrib/kobo/api/data/asset.py 68.42% 6 Missing ⚠️
...ntry_workspace/contrib/kobo/api/data/submission.py 68.75% 5 Missing ⚠️
.../country_workspace/contrib/kobo/api/data/common.py 66.66% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #29      +/-   ##
===========================================
- Coverage    92.88%   92.51%   -0.38%     
===========================================
  Files          134      151      +17     
  Lines         4018     4273     +255     
  Branches       353      362       +9     
===========================================
+ Hits          3732     3953     +221     
- Misses         191      225      +34     
  Partials        95       95              

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

@sergey-misuk-valor sergey-misuk-valor merged commit 6662d0c into develop Mar 5, 2025
8 of 10 checks passed
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