Create a Redis key for the IP address.
(ip: str)
| 12 | |
| 13 | |
| 14 | def _key(ip: str) -> str: |
| 15 | """Create a Redis key for the IP address.""" |
| 16 | return f"agentops.rate:{ip}" |
| 17 | |
| 18 | |
| 19 | def _now_us() -> int: |
no outgoing calls
no test coverage detected
searching dependent graphs…