Skip to content

Chore: use engine_adapter.execute for statements in python model docs#4754

Merged
georgesittas merged 1 commit into
mainfrom
jo/fix_python_model_docs
Jun 19, 2025
Merged

Chore: use engine_adapter.execute for statements in python model docs#4754
georgesittas merged 1 commit into
mainfrom
jo/fix_python_model_docs

Conversation

@georgesittas
Copy link
Copy Markdown
Collaborator

@georgesittas georgesittas commented Jun 17, 2025

Using fetchdf() for statements may result in errors, e.g.:

File ".../site-packages/pandas/io/sql.py", line 2729, in read_query
        columns = [col_desc[0] for col_desc in cursor.description]
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
          TypeError: 'NoneType' object is not iterable

@georgesittas georgesittas requested a review from treysp June 17, 2025 12:33
@georgesittas georgesittas merged commit 8018d7a into main Jun 19, 2025
25 checks passed
@georgesittas georgesittas deleted the jo/fix_python_model_docs branch June 19, 2025 12:10
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.

1 participant