############ Agent ############ Reference ======== + :class:`dohq_teamcity.custom.models.Agent` (and bases class) + Original swagger documentation by class :doc:`/swagger/models/Agent` + Some examples you can find in `tests directory `_ Examples ======== .. code-block:: python # Get pool by agent name agent = "linux-ci-01.example.com" pool = teamcity.agents.get("name:{}".format(agent)).pool.name