Move limit middlewares from splunklib.ai.hooks to splunklib.ai.limits #238
Annotations
10 errors and 10 warnings
|
lint-stage:
tests/unit/ai/test_default_limits.py#L73
Cannot access attribute "_limit" for class "AgentMiddleware"
Attribute "_limit" is unknown (reportAttributeAccessIssue)
|
|
lint-stage:
tests/unit/ai/test_default_limits.py#L28
"TokenLimitMiddleware" is unknown import symbol (reportAttributeAccessIssue)
|
|
lint-stage:
tests/unit/ai/test_default_limits.py#L27
"TokenLimitExceededException" is unknown import symbol (reportAttributeAccessIssue)
|
|
lint-stage:
tests/unit/ai/test_default_limits.py#L26
"TimeoutLimitMiddleware" is unknown import symbol (reportAttributeAccessIssue)
|
|
lint-stage:
tests/unit/ai/test_default_limits.py#L25
"TimeoutExceededException" is unknown import symbol (reportAttributeAccessIssue)
|
|
lint-stage:
tests/unit/ai/test_default_limits.py#L24
"StepsLimitExceededException" is unknown import symbol (reportAttributeAccessIssue)
|
|
lint-stage:
tests/unit/ai/test_default_limits.py#L23
"StepLimitMiddleware" is unknown import symbol (reportAttributeAccessIssue)
|
|
lint-stage:
tests/unit/ai/test_default_limits.py#L22
"DEFAULT_TOKEN_LIMIT" is unknown import symbol (reportAttributeAccessIssue)
|
|
lint-stage:
tests/unit/ai/test_default_limits.py#L21
"DEFAULT_TIMEOUT_SECONDS" is unknown import symbol (reportAttributeAccessIssue)
|
|
lint-stage:
tests/unit/ai/test_default_limits.py#L20
"DEFAULT_STEP_LIMIT" is unknown import symbol (reportAttributeAccessIssue)
|
|
lint-stage:
tests/unit/ai/test_default_limits.py#L73
Unnecessary "# pyright: ignore" rule: "reportPrivateUsage" (reportUnnecessaryTypeIgnoreComment)
|
|
lint-stage:
tests/unit/ai/test_default_limits.py#L28
Type of "TokenLimitMiddleware" is unknown (reportUnknownVariableType)
|
|
lint-stage:
tests/unit/ai/test_default_limits.py#L27
Type of "TokenLimitExceededException" is unknown (reportUnknownVariableType)
|
|
lint-stage:
tests/unit/ai/test_default_limits.py#L26
Type of "TimeoutLimitMiddleware" is unknown (reportUnknownVariableType)
|
|
lint-stage:
tests/unit/ai/test_default_limits.py#L25
Type of "TimeoutExceededException" is unknown (reportUnknownVariableType)
|
|
lint-stage:
tests/unit/ai/test_default_limits.py#L24
Type of "StepsLimitExceededException" is unknown (reportUnknownVariableType)
|
|
lint-stage:
tests/unit/ai/test_default_limits.py#L23
Type of "StepLimitMiddleware" is unknown (reportUnknownVariableType)
|
|
lint-stage:
tests/unit/ai/test_default_limits.py#L22
Type of "DEFAULT_TOKEN_LIMIT" is unknown (reportUnknownVariableType)
|
|
lint-stage:
tests/unit/ai/test_default_limits.py#L21
Type of "DEFAULT_TIMEOUT_SECONDS" is unknown (reportUnknownVariableType)
|
|
lint-stage:
tests/unit/ai/test_default_limits.py#L20
Type of "DEFAULT_STEP_LIMIT" is unknown (reportUnknownVariableType)
|