Skip to content

Commit b6113bb

Browse files
authored
Merge pull request #60 from zwldarren/dev
chore(deps): update dependencies and fix type errors
2 parents 3c38b1b + 1a29133 commit b6113bb

File tree

4 files changed

+622
-1162
lines changed

4 files changed

+622
-1162
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "akshare-one-mcp"
3-
version = "0.3.8"
3+
version = "0.3.9"
44
description = "MCP server that provides access to Chinese stock market data using akshare-one"
55
readme = "README.md"
66
license = { text = "MIT" }

src/akshare_one_mcp/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
def create_streamable_http_app():
1313
app = mcp.http_app()
1414
app.add_middleware(
15-
CORSMiddleware,
15+
CORSMiddleware, # type: ignore[arg-type]
1616
allow_origins=["*"],
1717
allow_credentials=True,
1818
allow_methods=["GET", "POST", "OPTIONS"],

src/akshare_one_mcp/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def get_hist_data(
143143
for indicator in indicators_list:
144144
if indicator in indicator_map:
145145
func, params = indicator_map[indicator]
146-
indicator_df = func(df, **params)
146+
indicator_df = func(df, **params) # type: ignore[arg-type]
147147
temp.append(indicator_df)
148148
if temp:
149149
df = df.join(temp)

0 commit comments

Comments
 (0)