Skip to content

Commit 3636d8b

Browse files
author
wenfeng.wf
committed
Add table_names_case_sensitive to create db instance.
1 parent 39c9a46 commit 3636d8b

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
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 = "alibabacloud-rds-openapi-mcp-server"
3-
version = "1.7.2"
3+
version = "1.7.3"
44
description = "MCP server for RDS Services via OPENAPI."
55
readme = "README.md"
66
requires-python = ">=3.12"

src/alibabacloud_rds_openapi_mcp_server/server.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,8 @@ async def create_db_instance(
375375
resource_group_id: str = None,
376376
tde_status: str = None,
377377
encryption_key: str = None,
378-
serverless_config: Dict[str, Any] = None
378+
serverless_config: Dict[str, Any] = None,
379+
table_names_case_sensitive: bool = False
379380
) -> Dict[str, Any]:
380381
"""Create an RDS instance.
381382
@@ -404,7 +405,7 @@ async def create_db_instance(
404405
tde_status: TDE status (Enable, Disable).
405406
encryption_key: Custom encryption key.
406407
serverless_config: Serverless instance configuration.
407-
408+
table_names_case_sensitive: Are table names case-sensitive.
408409
Returns:
409410
Dict[str, Any]: Response containing the created instance details.
410411
"""
@@ -418,7 +419,8 @@ async def create_db_instance(
418419
dbinstance_class=dbinstance_class,
419420
dbinstance_storage=dbinstance_storage,
420421
security_iplist=security_ip_list,
421-
instance_network_type=instance_network_type
422+
instance_network_type=instance_network_type,
423+
dbis_ignore_case=str(not table_names_case_sensitive).lower()
422424
)
423425

424426
# Add optional parameters

0 commit comments

Comments
 (0)