MCPcopy Create free account
hub / github.com/openai/openai-agents-python / should_skip

Function should_skip

examples/run_examples.py:529–540  ·  view source on GitHub ↗
(
    tags: set[str],
    allowed_overrides: set[str],
    auto_skip_set: set[str],
    relpath: str,
    auto_mode: bool,
)

Source from the content-addressed store, hash-verified

527
528
529def should_skip(
530 tags: set[str],
531 allowed_overrides: set[str],
532 auto_skip_set: set[str],
533 relpath: str,
534 auto_mode: bool,
535) -> tuple[bool, set[str]]:
536 blocked = {"interactive", "server", "audio", "external"} - allowed_overrides
537 active_blockers = tags & blocked
538 if auto_mode and relpath in auto_skip_set:
539 active_blockers = active_blockers | {"auto-skip"}
540 return (len(active_blockers) > 0, active_blockers)
541
542
543def format_command(cmd: Sequence[str]) -> str:

Callers 1

run_examplesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected