How to use the amadeus.client.decorator.Decorator.__init__ function in amadeus

To help you get started, we’ve selected a few amadeus examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github amadeus4dev / amadeus-python / amadeus / namespaces / _shopping.py View on Github external
def __init__(self, client):
        Decorator.__init__(self, client)
        self.flight_dates = FlightDates(client)
        self.flight_destinations = FlightDestinations(client)
        self.flight_offers = FlightOffers(client)
        self.hotel_offers = HotelOffers(client)
github amadeus4dev / amadeus-python / amadeus / shopping / _hotel.py View on Github external
def __init__(self, client, hotel_id):
        Decorator.__init__(self, client)
        self.hotel_id = hotel_id
        self.hotel_offers = HotelOffers(client, hotel_id)
github amadeus4dev / amadeus-python / amadeus / reference_data / _urls.py View on Github external
def __init__(self, client):
        Decorator.__init__(self, client)
        self.checkin_links = CheckinLinks(client)
github amadeus4dev / amadeus-python / amadeus / namespaces / _reference_data.py View on Github external
def __init__(self, client):
        Decorator.__init__(self, client)
        self.urls = Urls(client)
        self.locations = Locations(client)
github amadeus4dev / amadeus-python / amadeus / reference_data / _locations.py View on Github external
def __init__(self, client):
        Decorator.__init__(self, client)
        self.airports = Airports(client)
github amadeus4dev / amadeus-python / amadeus / travel / _analytics.py View on Github external
def __init__(self, client):
        Decorator.__init__(self, client)
        self.air_traffics = AirTraffics(client)
        self.fare_searches = FareSearches(client)
github amadeus4dev / amadeus-python / amadeus / shopping / hotel / _offer.py View on Github external
def __init__(self, client, hotel_id, offer_id):
        Decorator.__init__(self, client)
        self.hotel_id = hotel_id
        self.offer_id = offer_id
github amadeus4dev / amadeus-python / amadeus / reference_data / locations / _points_of_interest.py View on Github external
def __init__(self, client):
        Decorator.__init__(self, client)
        self.by_square = BySquare(client)
github amadeus4dev / amadeus-python / amadeus / namespaces / _travel.py View on Github external
def __init__(self, client):
        Decorator.__init__(self, client)
        self.analytics = Analytics(client)