tiled.config.direct_access_from_profile

tiled.config.direct_access_from_profile(name)[source]

Return the server-side Adapter object from a profile.

Some profiles are purely client side, providing an address like

uri: …

Others have the service-side configuration inline like:

direct:
  • path: / tree: …

This function only works on the latter kind. It returns the service-side Adapter instance directly, not wrapped in a client.