-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #217 from amadeus4dev/remove-trip-parser
Decommission trip parser
- Loading branch information
Showing
11 changed files
with
1 addition
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,10 @@ | ||
from amadeus.client.decorator import Decorator | ||
from amadeus.travel._analytics import Analytics | ||
from amadeus.travel._predictions import Predictions | ||
from amadeus.travel._trip_parser import TripParser | ||
from amadeus.travel._encoder import from_file, from_base64 | ||
|
||
|
||
class Travel(Decorator, object): | ||
def __init__(self, client): | ||
Decorator.__init__(self, client) | ||
self.analytics = Analytics(client) | ||
self.predictions = Predictions(client) | ||
self.trip_parser = TripParser(client) | ||
|
||
@staticmethod | ||
def from_file(file): | ||
return from_file(file) | ||
|
||
@staticmethod | ||
def from_base64(base64): | ||
return from_base64(base64) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
from ._analytics import Analytics | ||
from ._predictions import TripPurpose, FlightDelay | ||
from ._trip_parser import TripParser | ||
|
||
__all__ = ['Analytics', 'TripPurpose', 'FlightDelay', 'TripParser'] | ||
__all__ = ['Analytics', 'TripPurpose', 'FlightDelay'] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.