csle_rest_api.resources.fnn_w_softmax_policies package

Submodules

csle_rest_api.resources.fnn_w_softmax_policies.routes module

Routes and sub-resources for the /fnn-w-softmax-policies resource

csle_rest_api.resources.fnn_w_softmax_policies.routes.fnn_w_softmax_policies() Tuple[flask.wrappers.Response, int][source]

The /fnn-w-softmax-policies resource.

Returns

A list of fnn-w-softmax-policies or a list of ids of the policies or deletes the policies

csle_rest_api.resources.fnn_w_softmax_policies.routes.fnn_w_softmax_policies_ids() Tuple[flask.wrappers.Response, int][source]
Returns

An HTTP response with all fnn-w-softmax policies ids

csle_rest_api.resources.fnn_w_softmax_policies.routes.fnn_w_softmax_policy(policy_id: int) Tuple[flask.wrappers.Response, int][source]

The /fnn-w-softmax-policies/id resource.

Parameters

policy_id – the id of the policy

Returns

The given policy or deletes the policy

Module contents