Skip to content

Commit 7907d5b

Browse files
Ilanlidoclaude
andcommitted
CM-64462: use Optional instead of PEP 604 union for py3.9 compatibility
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent b8594fa commit 7907d5b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/cli/commands/ai_guardrails/ides/test_copilot.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import json
88
import os
99
from pathlib import Path
10+
from typing import Optional
1011

1112
from pyfakefs.fake_filesystem import FakeFilesystem
1213
from pytest_mock import MockerFixture
@@ -297,7 +298,7 @@ def _create_plugin_on_disk(
297298
fs: FakeFilesystem,
298299
plugin_dir: Path,
299300
manifest_location: str = '.github/plugin/plugin.json',
300-
manifest_extra: dict | None = None,
301+
manifest_extra: Optional[dict] = None,
301302
mcp_file: str = '.mcp.json',
302303
server_name: str = 'dummy-server',
303304
) -> None:

0 commit comments

Comments
 (0)