Skip to content

Commit 70aa451

Browse files
committed
fix: add missing __init__.py to Python template subpackages
1 parent 66f3f91 commit 70aa451

12 files changed

Lines changed: 77 additions & 0 deletions

File tree

src/assets/__tests__/__snapshots__/assets.snapshot.test.ts.snap

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,36 +365,47 @@ exports[`Assets Directory Snapshots > File listing > should match the expected f
365365
"python/autogen/base/README.md",
366366
"python/autogen/base/gitignore.template",
367367
"python/autogen/base/main.py",
368+
"python/autogen/base/mcp_client/__init__.py",
368369
"python/autogen/base/mcp_client/client.py",
370+
"python/autogen/base/model/__init__.py",
369371
"python/autogen/base/model/load.py",
370372
"python/autogen/base/pyproject.toml",
371373
"python/crewai/base/README.md",
372374
"python/crewai/base/gitignore.template",
373375
"python/crewai/base/main.py",
376+
"python/crewai/base/model/__init__.py",
374377
"python/crewai/base/model/load.py",
375378
"python/crewai/base/pyproject.toml",
376379
"python/googleadk/base/README.md",
377380
"python/googleadk/base/gitignore.template",
378381
"python/googleadk/base/main.py",
382+
"python/googleadk/base/mcp_client/__init__.py",
379383
"python/googleadk/base/mcp_client/client.py",
384+
"python/googleadk/base/model/__init__.py",
380385
"python/googleadk/base/model/load.py",
381386
"python/googleadk/base/pyproject.toml",
382387
"python/langchain_langgraph/base/README.md",
383388
"python/langchain_langgraph/base/gitignore.template",
384389
"python/langchain_langgraph/base/main.py",
390+
"python/langchain_langgraph/base/mcp_client/__init__.py",
385391
"python/langchain_langgraph/base/mcp_client/client.py",
392+
"python/langchain_langgraph/base/model/__init__.py",
386393
"python/langchain_langgraph/base/model/load.py",
387394
"python/langchain_langgraph/base/pyproject.toml",
388395
"python/openaiagents/base/README.md",
389396
"python/openaiagents/base/gitignore.template",
390397
"python/openaiagents/base/main.py",
398+
"python/openaiagents/base/mcp_client/__init__.py",
391399
"python/openaiagents/base/mcp_client/client.py",
400+
"python/openaiagents/base/model/__init__.py",
392401
"python/openaiagents/base/model/load.py",
393402
"python/openaiagents/base/pyproject.toml",
394403
"python/strands/base/README.md",
395404
"python/strands/base/gitignore.template",
396405
"python/strands/base/main.py",
406+
"python/strands/base/mcp_client/__init__.py",
397407
"python/strands/base/mcp_client/client.py",
408+
"python/strands/base/model/__init__.py",
398409
"python/strands/base/model/load.py",
399410
"python/strands/base/pyproject.toml",
400411
"python/strands/capabilities/memory/session.py",
@@ -918,6 +929,11 @@ if __name__ == "__main__":
918929
"
919930
`;
920931
932+
exports[`Assets Directory Snapshots > Python framework assets > python/python/autogen/base/mcp_client/__init__.py should match snapshot 1`] = `
933+
"
934+
"
935+
`;
936+
921937
exports[`Assets Directory Snapshots > Python framework assets > python/python/autogen/base/mcp_client/client.py should match snapshot 1`] = `
922938
"from typing import List
923939
from autogen_ext.tools.mcp import (
@@ -940,6 +956,11 @@ async def get_streamable_http_mcp_tools() -> List[StreamableHttpMcpToolAdapter]:
940956
"
941957
`;
942958
959+
exports[`Assets Directory Snapshots > Python framework assets > python/python/autogen/base/model/__init__.py should match snapshot 1`] = `
960+
"
961+
"
962+
`;
963+
943964
exports[`Assets Directory Snapshots > Python framework assets > python/python/autogen/base/model/load.py should match snapshot 1`] = `
944965
"{{#if (eq modelProvider "Bedrock")}}
945966
import os
@@ -1267,6 +1288,11 @@ if __name__ == "__main__":
12671288
"
12681289
`;
12691290
1291+
exports[`Assets Directory Snapshots > Python framework assets > python/python/crewai/base/model/__init__.py should match snapshot 1`] = `
1292+
"
1293+
"
1294+
`;
1295+
12701296
exports[`Assets Directory Snapshots > Python framework assets > python/python/crewai/base/model/load.py should match snapshot 1`] = `
12711297
"{{#if (eq modelProvider "Bedrock")}}
12721298
from crewai import LLM
@@ -1615,6 +1641,11 @@ if __name__ == "__main__":
16151641
"
16161642
`;
16171643
1644+
exports[`Assets Directory Snapshots > Python framework assets > python/python/googleadk/base/mcp_client/__init__.py should match snapshot 1`] = `
1645+
"
1646+
"
1647+
`;
1648+
16181649
exports[`Assets Directory Snapshots > Python framework assets > python/python/googleadk/base/mcp_client/client.py should match snapshot 1`] = `
16191650
"from google.adk.tools.mcp_tool.mcp_toolset import MCPToolset
16201651
from google.adk.tools.mcp_tool.mcp_session_manager import StreamableHTTPConnectionParams
@@ -1634,6 +1665,11 @@ def get_streamable_http_mcp_client() -> MCPToolset:
16341665
"
16351666
`;
16361667
1668+
exports[`Assets Directory Snapshots > Python framework assets > python/python/googleadk/base/model/__init__.py should match snapshot 1`] = `
1669+
"
1670+
"
1671+
`;
1672+
16371673
exports[`Assets Directory Snapshots > Python framework assets > python/python/googleadk/base/model/load.py should match snapshot 1`] = `
16381674
"import os
16391675
from bedrock_agentcore.identity.auth import requires_api_key
@@ -1848,6 +1884,11 @@ if __name__ == "__main__":
18481884
"
18491885
`;
18501886
1887+
exports[`Assets Directory Snapshots > Python framework assets > python/python/langchain_langgraph/base/mcp_client/__init__.py should match snapshot 1`] = `
1888+
"
1889+
"
1890+
`;
1891+
18511892
exports[`Assets Directory Snapshots > Python framework assets > python/python/langchain_langgraph/base/mcp_client/client.py should match snapshot 1`] = `
18521893
"from langchain_mcp_adapters.client import MultiServerMCPClient
18531894
@@ -1871,6 +1912,11 @@ def get_streamable_http_mcp_client() -> MultiServerMCPClient:
18711912
"
18721913
`;
18731914
1915+
exports[`Assets Directory Snapshots > Python framework assets > python/python/langchain_langgraph/base/model/__init__.py should match snapshot 1`] = `
1916+
"
1917+
"
1918+
`;
1919+
18741920
exports[`Assets Directory Snapshots > Python framework assets > python/python/langchain_langgraph/base/model/load.py should match snapshot 1`] = `
18751921
"{{#if (eq modelProvider "Bedrock")}}
18761922
from langchain_aws import ChatBedrock
@@ -2186,6 +2232,11 @@ if __name__ == "__main__":
21862232
"
21872233
`;
21882234
2235+
exports[`Assets Directory Snapshots > Python framework assets > python/python/openaiagents/base/mcp_client/__init__.py should match snapshot 1`] = `
2236+
"
2237+
"
2238+
`;
2239+
21892240
exports[`Assets Directory Snapshots > Python framework assets > python/python/openaiagents/base/mcp_client/client.py should match snapshot 1`] = `
21902241
"from agents.mcp import MCPServerStreamableHttp
21912242
@@ -2204,6 +2255,11 @@ def get_streamable_http_mcp_client() -> MCPServerStreamableHttp:
22042255
"
22052256
`;
22062257
2258+
exports[`Assets Directory Snapshots > Python framework assets > python/python/openaiagents/base/model/__init__.py should match snapshot 1`] = `
2259+
"
2260+
"
2261+
`;
2262+
22072263
exports[`Assets Directory Snapshots > Python framework assets > python/python/openaiagents/base/model/load.py should match snapshot 1`] = `
22082264
"import os
22092265
from bedrock_agentcore.identity.auth import requires_api_key
@@ -2438,6 +2494,11 @@ if __name__ == "__main__":
24382494
"
24392495
`;
24402496
2497+
exports[`Assets Directory Snapshots > Python framework assets > python/python/strands/base/mcp_client/__init__.py should match snapshot 1`] = `
2498+
"
2499+
"
2500+
`;
2501+
24412502
exports[`Assets Directory Snapshots > Python framework assets > python/python/strands/base/mcp_client/client.py should match snapshot 1`] = `
24422503
"from mcp.client.streamable_http import streamablehttp_client
24432504
from strands.tools.mcp.mcp_client import MCPClient
@@ -2453,6 +2514,11 @@ def get_streamable_http_mcp_client() -> MCPClient:
24532514
return MCPClient(lambda: streamablehttp_client(EXAMPLE_MCP_ENDPOINT))"
24542515
`;
24552516
2517+
exports[`Assets Directory Snapshots > Python framework assets > python/python/strands/base/model/__init__.py should match snapshot 1`] = `
2518+
"
2519+
"
2520+
`;
2521+
24562522
exports[`Assets Directory Snapshots > Python framework assets > python/python/strands/base/model/load.py should match snapshot 1`] = `
24572523
"{{#if (eq modelProvider "Bedrock")}}
24582524
from strands.models.bedrock import BedrockModel
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

0 commit comments

Comments
 (0)