code: def scope(scope_type: str) -> Callable:
      
  
      def dec(egg_: T) -> T:
          egg_.__haps_custom_scope = scope_type
          return egg_
  
      return dec
docs: A function that returns decorator that set scopes to some class/function
  
      .. code-block:: python
  
          @egg()
          @scopes(SINGLETON_SCOPE)
          class DepImpl:
              pass
  
      :param scope_type: Which scope should be used
      :return: