Spinoff

Latest version: v0.7.18

Safety actively analyzes 621876 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.7.18

2d7d6d5 Added `spinoff.actor.quick.{actor, process}`
c4217da Added `spinoff.actor.spawn` as a shortcut to `get_context().spawn()`

6802dcb Added error handling for fileref deletion
5b6348d Changed `FileRef` upload to manage error conditions
a7f1778 Added support for file deletion in `FileRef`
69b68e3 Added `.upload(url)` to `FileRef`, does a HTTP POST
9899b09 Changed `FileRef.upload` and fileref server to accept method for uploading, either `POST` or `PUT`
234537e Made `FileRef.upload()` raise `FileNotFound` if file does not exist on the file server

7c6b2a7 Clearer exception messages when `_BaseCell.get_child` or `Node.lookup_str` are passed bad parameters
512260f Strengthened deathwatch tests and uncovered a bug wherein watching a dead actor results in a termination message from the wather (as opposed to the watched actor)
4b18a67 Suppress the 'Interrupted system call' `ZMQError`

ff24930 Added the optional timeout parameter to `Ref.ask()`
83e78ef Fixed `Ref.join`: now doesn't cause caller to block indefinitely anymore when stopping, and works 63f9a3d Fixed `Ref.join()` to actually work with remote refs

a774cc1 Stop listening when `HttpServer` is stopped
d9478b9 Always respect `default_content_type` in `contrib.http`
455e7ae Included a form `POST` example in `examples.005_http`
6458513 Depend on Werkzeug being installed instead of including it in the source
1daa29b Corrected the `default_content_type` parameter to `contrib.http.Request` to `content_type`
5fb745b Added `Request.writeln` in `contrib.http`
2cebd56 Auto-send headers when a `Request` is closed if needed
eb730c4 Fixed a bug in `http.server`
86eb50f Better error handling in contrib.http: just send `500 Error` in most cases but keep the server running
a9fe5e9 More consistent 500 responses
fd97b5d Added `Request.set_status` in `contrib.http`
f957f5d Mention `contrib.http` in `README`
d851ddb Added example usage of `contrib.http.server`

4bbd6de Added the missing call to `node.stop()` in `spin()`
055d553 Let `ImportError`s pass thru in `spin()`
a72b5ab Handle Ctrl-C more quietly in `spin()`
4fdb12a Removed deadlock special handling in `spin()`
0799c62 Added `spinoff.actor.spin()` as well as a `spin` command line interface to it

a41e8c1 Fixed an argument passing logic bug in `actor.Props`
7197ec4 Fixed a regression: `run()` [w]as not called if `pre_start()` was defined
eb6d352 Disallowed passing of init `args`/`kwargs` to actors that consume no arguments

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.