Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
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
{{ message }}
trinodb
/
trino-python-client
Public
Notifications
You must be signed in to change notification settings
Fork
206
Star
440
Code
Issues
32
Pull requests
21
Discussions
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
Parse the host argument once and validate the endpoint
- #634
#634
Open
hashhar
wants to merge 9 commits into
trinodb:master
trinodb/trino-python-client:master
from
hashhar:hashhar/dedup-scheme-inference
hashhar/trino-python-client:hashhar/dedup-scheme-inference
Copy head branch name to clipboard
Conversation
Commits
9
(9)
Checks
Files changed
Open
Parse the host argument once and validate the endpoint
#634
hashhar
wants to merge 9 commits into
trinodb:master
trinodb/trino-python-client:master
from
hashhar:hashhar/dedup-scheme-inference
hashhar/trino-python-client:hashhar/dedup-scheme-inference
Copy head branch name to clipboard
Commits
Commits on Aug 21, 2026
Use DEFAULT_PORT constant in SQLAlchemy URL factory
hashhar
committed
cd631e5
View commit details
Copy full SHA for cd631e5
Browse repository at this point
Parametrize test_hostname_parsing
hashhar
committed
610e478
View commit details
Copy full SHA for 610e478
Browse repository at this point
Extract endpoint resolution out of Connection constructor
hashhar
committed
a16c7c5
View commit details
Copy full SHA for a16c7c5
Browse repository at this point
Share the port-to-scheme rule between Connection and TrinoRequest
hashhar
committed
a46b99c
View commit details
Copy full SHA for a46b99c
Browse repository at this point
Validate and normalize the http_scheme argument
Show description for 6fdd759
hashhar
committed
6fdd759
View commit details
Copy full SHA for 6fdd759
Browse repository at this point
Reject a scheme in host that contradicts http_scheme
Show description for 3d5ce28
hashhar
committed
3d5ce28
View commit details
Copy full SHA for 3d5ce28
Browse repository at this point
Parse the host argument through one urlsplit call
Show description for 2033c17
hashhar
committed
2033c17
View commit details
Copy full SHA for 2033c17
Browse repository at this point
Check the port range and reject a port given twice
Show description for 79b5f8b
hashhar
committed
79b5f8b
View commit details
Copy full SHA for 79b5f8b
Browse repository at this point
Validate the SQLAlchemy host through the same parser
Show description for 5fa2870
hashhar
committed
5fa2870
View commit details
Copy full SHA for 5fa2870
Browse repository at this point
You can’t perform that action at this time.