docs: def _get_entity_by_class(self, entity_cls):
          """Fetch Entity record with Entity class details"""
          entity_qualname = fully_qualified_name(entity_cls)
          if entity_qualname in self._registry:
              return self._registry[entity_qualname]
          else:
              return self._find_entity_in_records_by_class_name(entity_cls.__name__)