Remove DeprecatedModuleProxy and service re-export shims
Remove the deprecation proxy infrastructure that allowed old-style flat imports (e.g. `from pipecat.services.openai import OpenAILLMService`). Users must now import from specific submodules (`from pipecat.services.openai.llm import OpenAILLMService`), which is already the established pattern across all internal code and 179+ examples. - Strip 32 proxy `__init__.py` files to empty - Strip 3 non-proxy files with bare star imports (minimax, sambanova, sarvam) - Strip google/gemini_live `__init__.py` re-exports - Remove DeprecatedModuleProxy class and helpers from services/__init__.py - Remove ruff per-file ignore for services/__init__.py - Fix 2 examples using old-style imports
This commit is contained in:
@@ -209,7 +209,6 @@ ignore = [
|
||||
"**/__init__.py" = ["D104"]
|
||||
# Skip specific rules for generated protobuf files
|
||||
"**/*_pb2.py" = ["D"]
|
||||
"src/pipecat/services/__init__.py" = ["D"]
|
||||
|
||||
[tool.ruff.lint.pydocstyle]
|
||||
convention = "google"
|
||||
|
||||
Reference in New Issue
Block a user