You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run as-is, got a NameError: Field name "fields" shadows a BaseModel attribute; use a different field name with "alias='fields'".
Is this expected? Cause fields is a most frequently-used arg name. Noticed #1250, but validate_arguments even without type annotations (like def query(fields)) raises this error. I mean, not ideal. Any easy workaround on this one?
Cool project though.
The text was updated successfully, but these errors were encountered:
Could this be addressed by internally using aliases for fields with colliding field names, then returning the validated values by their (original) alias names?
Run as-is, got a NameError: Field name "fields" shadows a BaseModel attribute; use a different field name with "alias='fields'".
Is this expected? Cause fields is a most frequently-used arg name. Noticed #1250, but validate_arguments even without type annotations (like
def query(fields)
) raises this error. I mean, not ideal. Any easy workaround on this one?Cool project though.
The text was updated successfully, but these errors were encountered: