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 }}
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.