Skip to content

Conversation

weijunjiang123
Copy link

This pull request introduces several updates to the project, including configuration changes, dependency management, and enhancements to the SchemaEngine class. The most important changes are the addition of Python versioning and dependencies, as well as improvements to schema handling in database-related functionality.

UV support:

  • .python-version: Updated the Python version to 3.13 to align with the project's requirements.
  • pyproject.toml: Added project metadata, including name, version, description, and dependencies (llama-index, numpy, psycopg2, pymysql, sqlalchemy) with specified minimum versions.

Enhancements to SchemaEngine:

  • schema_engine.py: Updated the __init__ method to include a new parameter db_name for specifying the database name. This ensures that for MySQL and PostgreSQL, if no schema is provided, the db_name is used as the default schema to avoid fetching tables across all databases. [1] [2]

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