dart_monty_core 0.17.1
dart_monty_core: ^0.17.1 copied to clipboard
Sandboxed Python scripting for Dart. Low-level binding for pydantic/monty's interpreter.
Changelog #
0.17.1 #
Breaking #
MontyCallbackis now(List<Object?> args, Map<String, Object?>? kwargs). Positional args by index (args[0]…); keyword args inkwargs. Old single-map form (args['_0']) no longer compiles..argumentsrenamed to.argsonMontyPending,MontyOsCall,CoreProgressResult, andWasmProgressResult.useFuturesremoved fromfeedRun/feedStart/Monty.run. UseexternalAsyncFunctionsinstead.
Added #
inputs:onMonty.run/feedRun/feedStart— inject Dart values as Python variables for one execution.externalAsyncFunctions— callbacks dispatched viaresumeAsFuture; Python canawaitthem andasyncio.gatherruns them concurrently.MontyInternalError— newMontyErrorsubtype for interpreter-internal failures.MontyNoneliteral —feedRun('None')now returnsMontyNone.
0.17.0 #
Re-cut release: align versioning with dart_monty. Supersedes the
retracted 0.0.17 (which omitted native/src/bin/oracle.rs from
the published archive, breaking the build hook for consumers).
0.0.17 #
Initial release.