Session
- class transmission_rpc.session.Session[source]
Session is a class holding the session data for a Transmission daemon.
Access the session field can be done through attributes. The attributes available are the same as the session arguments in the Transmission RPC specification, but with underscore instead of hyphen.
get
'download-dir'
withsession.download_dir
.session = Client().get_session() current = session.download_dir
setter on session’s properties has been removed, please use
Client().set_session()
insteadhttps://github.com/transmission/transmission/blob/main/docs/rpc-spec.md
#41-session-arguments