Attributes and Helpers

Attributes to annotate routing paths.

Attributes

Inheritance diagram:

Inheritance diagram of pyHTTPRequestRouter.Attributes.GETRoute, pyHTTPRequestRouter.Attributes.POSTRoute, pyHTTPRequestRouter.Attributes.PUTRoute, pyHTTPRequestRouter.Attributes.DELETERoute

RoutingAttribute

class pyHTTPRequestRouter.Attributes.RoutingAttribute(path, httpMethods: pyHTTPInterface.HTTPMethods)[source]

Bases: pyAttributes.Attribute

GETRoute

class pyHTTPRequestRouter.Attributes.GETRoute(path)[source]

Bases: pyHTTPRequestRouter.Attributes.RoutingAttribute

POSTRoute

class pyHTTPRequestRouter.Attributes.POSTRoute(path)[source]

Bases: pyHTTPRequestRouter.Attributes.RoutingAttribute

PUTRoute

class pyHTTPRequestRouter.Attributes.PUTRoute(path)[source]

Bases: pyHTTPRequestRouter.Attributes.RoutingAttribute

DELETERoute

class pyHTTPRequestRouter.Attributes.DELETERoute(path)[source]

Bases: pyHTTPRequestRouter.Attributes.RoutingAttribute

Helpers

ReSTAPIMixin

class pyHTTPRequestRouter.Attributes.ReSTAPIMixin(**kwargs)[source]

Bases: pyAttributes.AttributeHelperMixin

See also

Base attribute class pyAttributes.Attribute

Base class for all attributes from pyAttributes package.