f5sdk.decorators module

Python module containing helpful decorators

Note

Wraps makes doc string available for decorated functions, this is used during documentation engine retrieval

f5sdk.decorators.add_auth_header(function)

Add authentication header

Parameters

function (function) – a function to decorate with authentication header

Returns

a decorated function

Return type

function

f5sdk.decorators.check_auth(function)

Checks authentication

Parameters

function (function) – a function to decorate with authentication check

Returns

a decorated function

Return type

function