parameters: (cls, **kwargs)
docstring: Set up the storage system for file-based sessions.
  
          This should only be called once per process; this will be done
          automatically when using sessions.init (as the built-in Tool does).
docstring_summary: Set up the storage system for file-based sessions.
docstring_tokens: Set up the storage system for file - based sessions .
function: def setup(cls, **kwargs):
          """Set up the storage system for file-based sessions.
  
          This should only be called once per process; this will be done
          automatically when using sessions.init (as the built-in Tool does).
          """
          # The 'storage_path' arg is required for file-based sessions.
          kwargs['storage_path'] = os.path.abspath(kwargs['storage_path'])
  
          for k, v in kwargs.items():
              setattr(cls, k, v)
function_tokens: def setup ( cls , * * kwargs ) : # The 'storage_path' arg is required for file-based sessions. kwargs [ 'storage_path' ] = os . path . abspath ( kwargs [ 'storage_path' ] ) for k , v in kwargs . items ( ) : setattr ( cls , k , v )