<filename>shopify_api_py/locations.py<gh_stars>0
"""Methods for interacting with Shopify locations."""

import shopify

from shopify_api_py import request


def get_inventory_locations() -> list[shopify.Location]:
    """Return a list of all shopify products."""
    request_method = shopify.Location.find
    return request.make_paginated_request(request_method=request_method)  # type: ignore[return-value]
