How to use the vortexasdk.result_conversions.create_list function in vortexasdk

To help you get started, we’ve selected a few vortexasdk 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 V0RT3X4 / python-sdk / vortexasdk / endpoints / vessel_movements_result.py View on Github external
def to_list(self) -> List[VesselMovement]:
        """Represent vessel movements as a list of `VesselMovementEntity`s."""
        # noinspection PyTypeChecker
        return create_list(super().to_list(), VesselMovement)
github V0RT3X4 / python-sdk / vortexasdk / endpoints / products_result.py View on Github external
def to_list(self) -> List[Product]:
        """Represent products as a list."""
        # noinspection PyTypeChecker
        return create_list(super().to_list(), Product)
github V0RT3X4 / python-sdk / vortexasdk / endpoints / cargo_movements_result.py View on Github external
def to_list(self) -> List[CargoMovement]:
        """Represent cargo movements as a list of `CargoMovementEntity`s."""
        # noinspection PyTypeChecker
        return create_list(super().to_list(), CargoMovement)
github V0RT3X4 / python-sdk / vortexasdk / endpoints / timeseries_result.py View on Github external
def to_list(self) -> List[TimeSeriesItem]:
        """Represents time series as a list."""
        # noinspection PyTypeChecker
        return create_list(super().to_list(), TimeSeriesItem)
github V0RT3X4 / python-sdk / vortexasdk / endpoints / vessels_result.py View on Github external
def to_list(self) -> List[Vessel]:
        """Represent vessels as a list."""
        # noinspection PyTypeChecker
        return create_list(super().to_list(), Vessel)
github V0RT3X4 / python-sdk / vortexasdk / endpoints / attributes_result.py View on Github external
def to_list(self) -> List[Attribute]:
        """Represent attributes as a list."""
        # noinspection PyTypeChecker
        return create_list(super().to_list(), Attribute)
github V0RT3X4 / python-sdk / vortexasdk / endpoints / corporations_result.py View on Github external
def to_list(self) -> List[Corporation]:
        """Represent vessels as a list."""
        # noinspection PyTypeChecker
        return create_list(super().to_list(), Corporation)