fews_py_wrapper._api.endpoints#

Classes

class fews_py_wrapper._api.endpoints.Filters[source]#
execute(*, client, **kwargs)[source]#

Execute the API endpoint call.

Parameters:
  • client (AuthenticatedClient | Client) – AuthenticatedClient or Client instance for API calls.

  • document_format – Format of the returned document.

  • **kwargs (Any) – Keyword arguments for the API call.

Returns:

Parsed response content based on the returned content type.

Return type:

dict[str, Any] | str

class fews_py_wrapper._api.endpoints.Parameters[source]#
execute(*, client, **kwargs)[source]#

Execute the API endpoint call.

Parameters:
  • client (AuthenticatedClient | Client) – AuthenticatedClient or Client instance for API calls.

  • document_format – Format of the returned document.

  • **kwargs (Any) – Keyword arguments for the API call.

Returns:

Parsed response content based on the returned content type.

Return type:

dict[str, Any]

class fews_py_wrapper._api.endpoints.Locations[source]#
execute(*, client, **kwargs)[source]#

Execute the API endpoint call.

Parameters:
  • client (AuthenticatedClient | Client) – AuthenticatedClient or Client instance for API calls.

  • document_format – Format of the returned document.

  • **kwargs (Any) – Keyword arguments for the API call.

Returns:

Parsed response content based on the returned content type.

Return type:

dict[str, Any]

class fews_py_wrapper._api.endpoints.TimeSeries[source]#
execute(*, client, **kwargs)[source]#

Execute the API endpoint call.

Parameters:
  • client (AuthenticatedClient | Client) – AuthenticatedClient or Client instance for API calls.

  • document_format – Format of the returned document.

  • **kwargs (Any) – Keyword arguments for the API call.

Returns:

Parsed response content based on the returned content type.

Return type:

dict[str, Any] | bytes | str

class fews_py_wrapper._api.endpoints.PostTimeSeries[source]#
execute(*, client, **kwargs)[source]#

Execute the API endpoint call.

Parameters:
  • client (AuthenticatedClient | Client) – AuthenticatedClient or Client instance for API calls.

  • document_format – Format of the returned document.

  • **kwargs (Any) – Keyword arguments for the API call.

Returns:

Parsed response content based on the returned content type.

Return type:

dict[str, Any] | bytes | str

class fews_py_wrapper._api.endpoints.Taskruns[source]#
execute(*, client, **kwargs)[source]#

Execute the API endpoint call.

Parameters:
  • client (AuthenticatedClient | Client) – AuthenticatedClient or Client instance for API calls.

  • document_format – Format of the returned document.

  • **kwargs (Any) – Keyword arguments for the API call.

Returns:

Parsed response content based on the returned content type.

Return type:

dict[str, Any] | str

class fews_py_wrapper._api.endpoints.Taskrunstatus[source]#
execute(*, client, **kwargs)[source]#

Execute the API endpoint call.

Parameters:
  • client (AuthenticatedClient | Client) – AuthenticatedClient or Client instance for API calls.

  • document_format – Format of the returned document.

  • **kwargs (Any) – Keyword arguments for the API call.

Returns:

Parsed response content based on the returned content type.

Return type:

dict[str, Any]

class fews_py_wrapper._api.endpoints.WhatIfScenarios[source]#
execute(*, client, **kwargs)[source]#

Execute the API endpoint call.

Parameters:
  • client (AuthenticatedClient | Client) – AuthenticatedClient or Client instance for API calls.

  • document_format – Format of the returned document.

  • **kwargs (Any) – Keyword arguments for the API call.

Returns:

Parsed response content based on the returned content type.

Return type:

dict[str, Any]

class fews_py_wrapper._api.endpoints.WhatIfTemplates[source]#
execute(*, client, **kwargs)[source]#

Execute the API endpoint call.

Parameters:
  • client (AuthenticatedClient | Client) – AuthenticatedClient or Client instance for API calls.

  • document_format – Format of the returned document.

  • **kwargs (Any) – Keyword arguments for the API call.

Returns:

Parsed response content based on the returned content type.

Return type:

dict[str, Any]

class fews_py_wrapper._api.endpoints.PostWhatIfScenarios[source]#
execute(*, client, **kwargs)[source]#

Execute the API endpoint call.

Parameters:
  • client (AuthenticatedClient | Client) – AuthenticatedClient or Client instance for API calls.

  • document_format – Format of the returned document.

  • **kwargs (Any) – Keyword arguments for the API call.

Returns:

Parsed response content based on the returned content type.

Return type:

dict[str, Any]

class fews_py_wrapper._api.endpoints.PostRunTask[source]#
execute(*, client, **kwargs)[source]#

Execute the API endpoint call.

Parameters:
  • client (AuthenticatedClient | Client) – AuthenticatedClient or Client instance for API calls.

  • document_format – Format of the returned document.

  • **kwargs (Any) – Keyword arguments for the API call.

Returns:

Parsed response content based on the returned content type.

Return type:

str

class fews_py_wrapper._api.endpoints.Workflows[source]#
execute(*, client, **kwargs)[source]#

Execute the API endpoint call.

Parameters:
  • client (AuthenticatedClient | Client) – AuthenticatedClient or Client instance for API calls.

  • document_format – Format of the returned document.

  • **kwargs (Any) – Keyword arguments for the API call.

Returns:

Parsed response content based on the returned content type.

Return type:

dict[str, Any] | str