Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
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 }}
ShadeProtocol
shade-python
Repository navigation
Code
Issues
6
(6)
Pull requests
1
(1)
Actions
Projects
Security and quality
Insights
More
items
Feat/Global
shade
module configuration
- #53
#53
Merged
codebestia
merged 12 commits into
ShadeProtocol:main
ShadeProtocol/shade-python:main
from
DioChuks:feat/module-config
DioChuks/shade-python:feat/module-config
Copy head branch name to clipboard
Jul 29, 2026
Conversation
Commits
12
(12)
Checks
Files changed
Merged
Feat/Global
shade
module configuration
#53
codebestia
merged 12 commits into
ShadeProtocol:main
ShadeProtocol/shade-python:main
from
DioChuks:feat/module-config
DioChuks/shade-python:feat/module-config
Copy head branch name to clipboard
Commits
Commits on Jul 28, 2026
feat: support thread-safe configuration via `threading.local()` for thread isolation and thread-safe locks for global defaults.
DioChuks
committed
13b542d
View commit details
Copy full SHA for 13b542d
Browse repository at this point
feat: Exposed `api_key` getter and setter directly on the top-level `shade` package namespace (`shade.api_key = "sk_live_..."`).
DioChuks
committed
20c804a
View commit details
Copy full SHA for 20c804a
Browse repository at this point
feat: Updated `Gateway.__init__` to allow instantiation without passing `api_key` (defaulting to `None`).
DioChuks
committed
c49f7bb
View commit details
Copy full SHA for c49f7bb
Browse repository at this point
feat: Updated `SyncHTTPClient` and `AsyncHTTPClient` to resolve parameters via `get_config()` dynamically during `request()`.
DioChuks
committed
1b99fd9
View commit details
Copy full SHA for 1b99fd9
Browse repository at this point
feat: Updated `ShadeClient` `request()` method to evaluate `get_config()` and validate `api_key`.
DioChuks
committed
a28902d
View commit details
Copy full SHA for a28902d
Browse repository at this point
test: global assignment, active environ switching, multi-threaded execution, instance-level overrides
DioChuks
committed
777a126
View commit details
Copy full SHA for 777a126
Browse repository at this point
test: refactor `_reset_client_settings` fixture to use `_config.reset()`
DioChuks
committed
708cabf
View commit details
Copy full SHA for 708cabf
Browse repository at this point
fix: Functional Correctness
DioChuks
committed
cce66c8
View commit details
Copy full SHA for cce66c8
Browse repository at this point
fix: Maintainability & Code Quality
DioChuks
committed
f009b1d
View commit details
Copy full SHA for f009b1d
Browse repository at this point
fix: Instance-level environment is never propagated
DioChuks
committed
a23f346
View commit details
Copy full SHA for a23f346
Browse repository at this point
fix: api_key setter does not reach the underlying clients.
DioChuks
committed
7fe9bb5
View commit details
Copy full SHA for 7fe9bb5
Browse repository at this point
fix: from . import config as _config resolves to the singleton only by import-order luck
DioChuks
committed
73627c2
View commit details
Copy full SHA for 73627c2
Browse repository at this point
You can’t perform that action at this time.