Skip to content

Unexpected Behavior: export_records() is returning "_complete" fields for every form in a REDCap database #252

@camilovelez

Description

@camilovelez

Hi,

I've noticed that export_records() in the current main branch is returning the "_complete" fields of every form in a database when querying individual forms. That is, if I for example have a database with form_A, form_B and form_C, exporting the data from form_A will not only return the field "form_A_complete", but also "form_B_complete" and "form_C_complete" (and likewise for form_B and form_C).

-The expected behavior will have forms only being exported with their specific "_complete" field (e.g., form_A shouldn't be returning "form_B_complete" and "form_C_complete").

-Note: I believe this behavior is only occurring in the current main branch (the one as of December 20th, 2022), as both pycap 1.1.3 and the latest version of the library in the pypi repository seem to be working as expected.

Thank you so much for your attention!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions