def get_dynamic_manager(self, fullname: str, manager: "Manager[Any]") -> TypeInfo | None:
        """
        Try to get a dynamically defined manager
        """

        # Check if manager is a generated (dynamic class) manager
        base_manager_fullname = helpers.get_class_fullname(manager.__class__.__bases__[0])
        generated_managers = self.get_generated_manager_mappings(base_manager_fullname)

        generated_manager_name: str | None = generated_managers.get(fullname, None)
        if generated_manager_name is None:
            return None

        return self.lookup_typeinfo(generated_manager_name)

        Try to get a dynamically defined manager
        
mypy_django_plugin/transformers/models.py