flaskapp.api.products package
Submodules
flaskapp.api.products.category_controller module
flaskapp.api.products.product_controller module
- class flaskapp.api.products.product_controller.Product[source]
Bases:
MethodViewController class for handling requests on products.
- methods: ClassVar[Optional[Collection[str]]] = {'GET'}
The methods this view is registered for. Uses the same default (
["GET", "HEAD", "OPTIONS"]) asrouteandadd_url_ruleby default.
- class flaskapp.api.products.product_controller.ProductCategory[source]
Bases:
MethodViewController class for handling requests on products based on category type.
- methods: ClassVar[Optional[Collection[str]]] = {'GET'}
The methods this view is registered for. Uses the same default (
["GET", "HEAD", "OPTIONS"]) asrouteandadd_url_ruleby default.
- class flaskapp.api.products.product_controller.ProductList[source]
Bases:
MethodViewController class for handling requests on list of products.
- methods: ClassVar[Optional[Collection[str]]] = {'GET'}
The methods this view is registered for. Uses the same default (
["GET", "HEAD", "OPTIONS"]) asrouteandadd_url_ruleby default.
- class flaskapp.api.products.product_controller.ProductSearch[source]
Bases:
MethodViewController class for handling search requests on products.
- methods: ClassVar[Optional[Collection[str]]] = {'GET'}
The methods this view is registered for. Uses the same default (
["GET", "HEAD", "OPTIONS"]) asrouteandadd_url_ruleby default.