Session service#

The Session Service is a component at the service layer of the BDK which covers the Session part of the REST API documentation. More precisely:

How to use#

The central component for the Session Service is the SessionService class, it exposes the service APIs endpoints mentioned above.
The service is accessible from theSymphonyBdk object by calling the sessions() method:

class SessionMain:
    async def run():
        bdk_config = BdkConfigLoader.load_from_file("path/to/config.yaml")
        async with SymphonyBdk(bdk_config) as bdk:
            sessions_service = bdk.sessions()
            session_info = await sessions_service.get_session()

if __name__ == "__main__":