Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ has_upper_bound
Function
has_upper_bound
scripts/utils/check-dependency-caps.py:25–26 ·
view source on GitHub ↗
(requirement: Requirement)
Source
from the content-addressed store, hash-verified
23
24
25
def
has_upper_bound(requirement: Requirement) -> bool:
26
return
any(spec.operator in UPPER_BOUND_OPERATORS
for
spec in requirement.specifier)
27
28
29
def
main() -> None:
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected