View Source Mobilizon.PythonWorker (Mobilizon v5.0.0-beta.1)

Genserver to handle an instance of Python handling the calls to Mobilizon.PythonPort.

Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

@spec generate_ods(String.t()) :: any()
@spec generate_pdf(String.t()) :: any()
@spec has_module(String.t()) :: any()
@spec init(any()) :: {:ok, %{python_pid: pid()}}

Callback implementation for GenServer.init/1.

@spec start_link(any()) :: :ignore | {:error, any()} | {:ok, pid()}