rasa/core/agent.py

Summary

Maintainability
C
1 day
Test Coverage
A
92%

File agent.py has 446 lines of code (exceeds 250 allowed). Consider refactoring.
Open

from __future__ import annotations
from asyncio import AbstractEventLoop, CancelledError
import functools
import logging
import os
Severity: Minor
Found in rasa/core/agent.py - About 6 hrs to fix

    Function load has 10 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def load(
    Severity: Major
    Found in rasa/core/agent.py - About 1 hr to fix

      Function __init__ has 9 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          def __init__(
      Severity: Major
      Found in rasa/core/agent.py - About 1 hr to fix

        There are no issues that match your filters.

        Category
        Status