pydent.interfaces.SessionInterface

class pydent.interfaces.SessionInterface(aqhttp, session)[source]

Bases: object

Generic session interface.

Trident users should only be able to make requests through a SessionInterface to avoid making arbitrary and potentially damaging http requests.

Initializer for SessionInterface.

Parameters
  • aqhttp (AqHTTP) – aqhttp instance for this interface

  • session (AqSession) – session instance for this interface

__init__(aqhttp, session)[source]

Initializer for SessionInterface.

Parameters
  • aqhttp (AqHTTP) – aqhttp instance for this interface

  • session (AqSession) – session instance for this interface

Methods

__init__(aqhttp, session)

Initializer for SessionInterface.

Attributes

aqhttp

session