Skip to content

feat: Add source_file_id to Example class and query #387

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

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

codegen-sh[bot]
Copy link

@codegen-sh codegen-sh bot commented Jun 11, 2025

This PR adds source_file_id to the Example class and GraphQL query in the Python client, mirroring the changes made in the fog repository's feat/bun branch.

Changes:

  1. Added source_file_id field to the Example class in indico/types/questionnaire.py
  2. Updated the GraphQL query in indico/queries/questionnaire.py to include sourceFileId in the query
  3. Updated the test to check for the presence of source_file_id in the Example object

This change allows the Python client to work with the updated API that uses source_file_id instead of just datafile_id.


💻 View my workAbout Codegen

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.

0 participants