* add new indexes, and change year column to int * Change gist to gin, and change year to int * Producer changes for new gin query * Fully map the rtn response using json dump from Pydantic Also updates Rtn to 0.1.9 * Add housekeeping script to reconcile imdb ids. * Join Torrent onto the ingested torrent table Ensure that a torrent can always find the details of where it came from, and how it was parsed. * Version bump for release * missing quote on table name
13 lines
604 B
C#
13 lines
604 B
C#
namespace SharedContracts.Python;
|
|
|
|
public interface IPythonEngineService
|
|
{
|
|
ILogger<PythonEngineService> Logger { get; }
|
|
|
|
Task InitializePythonEngine(CancellationToken cancellationToken);
|
|
T ExecuteCommandOrScript<T>(string command, PyModule module, bool throwOnErrors);
|
|
T ExecutePythonOperation<T>(Func<T> operation, string operationName, bool throwOnErrors);
|
|
T ExecutePythonOperationWithDefault<T>(Func<T> operation, T? defaultValue, string operationName, bool throwOnErrors, bool logErrors);
|
|
Task StopPythonEngine(CancellationToken cancellationToken);
|
|
dynamic? Sys { get; }
|
|
} |