[Source-Github] - Rate Limiter check should support Enterprise self hosted API endpoints #54692
Open
1 task done
Labels
area/connectors
Connector related issues
community
connectors/source/github
team/extensibility
type/bug
Something isn't working
Connector Name
source-github
Connector Version
1.8.26
What step the error happened?
Configuring a new connector
Relevant information
In the utils.py MultipleTokenAuthenticatorWithRateLimiter , within _check_token_limits function , the github API endpoint is harded code to https://api.github.com . This prevents using the connector for enterprise self hosted github environments. The API url is passed part of the connector config is not used. This function should be modified to use the api_url provided.
Relevant log output
Contribute
The text was updated successfully, but these errors were encountered: