tarsk-postgres 0.2.0__tar.gz → 0.2.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. {tarsk_postgres-0.2.0 → tarsk_postgres-0.2.1}/Cargo.lock +2 -2
  2. {tarsk_postgres-0.2.0 → tarsk_postgres-0.2.1}/Cargo.toml +1 -1
  3. {tarsk_postgres-0.2.0 → tarsk_postgres-0.2.1}/PKG-INFO +1 -1
  4. {tarsk_postgres-0.2.0 → tarsk_postgres-0.2.1}/pyproject.toml +1 -1
  5. {tarsk_postgres-0.2.0 → tarsk_postgres-0.2.1}/tarsk/__init__.py +4 -0
  6. {tarsk_postgres-0.2.0 → tarsk_postgres-0.2.1}/LICENSE +0 -0
  7. {tarsk_postgres-0.2.0 → tarsk_postgres-0.2.1}/README.md +0 -0
  8. {tarsk_postgres-0.2.0 → tarsk_postgres-0.2.1}/crates/tarsk-core/Cargo.toml +0 -0
  9. {tarsk_postgres-0.2.0 → tarsk_postgres-0.2.1}/crates/tarsk-core/src/broker.rs +0 -0
  10. {tarsk_postgres-0.2.0 → tarsk_postgres-0.2.1}/crates/tarsk-core/src/console.rs +0 -0
  11. {tarsk_postgres-0.2.0 → tarsk_postgres-0.2.1}/crates/tarsk-core/src/cron.rs +0 -0
  12. {tarsk_postgres-0.2.0 → tarsk_postgres-0.2.1}/crates/tarsk-core/src/lib.rs +0 -0
  13. {tarsk_postgres-0.2.0 → tarsk_postgres-0.2.1}/crates/tarsk-core/src/metrics.rs +0 -0
  14. {tarsk_postgres-0.2.0 → tarsk_postgres-0.2.1}/crates/tarsk-core/src/transport.rs +0 -0
  15. {tarsk_postgres-0.2.0 → tarsk_postgres-0.2.1}/crates/tarsk-python/Cargo.toml +0 -0
  16. {tarsk_postgres-0.2.0 → tarsk_postgres-0.2.1}/crates/tarsk-python/src/lib.rs +0 -0
  17. {tarsk_postgres-0.2.0 → tarsk_postgres-0.2.1}/tarsk/_child.py +0 -0
  18. {tarsk_postgres-0.2.0 → tarsk_postgres-0.2.1}/tarsk/_cli.py +0 -0
  19. {tarsk_postgres-0.2.0 → tarsk_postgres-0.2.1}/tarsk/_proto.py +0 -0
  20. {tarsk_postgres-0.2.0 → tarsk_postgres-0.2.1}/tarsk/_supervisor.py +0 -0
  21. {tarsk_postgres-0.2.0 → tarsk_postgres-0.2.1}/tarsk/py.typed +0 -0
@@ -2168,7 +2168,7 @@ checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
2168
2168
 
2169
2169
  [[package]]
2170
2170
  name = "tarsk-core"
2171
- version = "0.2.0"
2171
+ version = "0.2.1"
2172
2172
  dependencies = [
2173
2173
  "lapin",
2174
2174
  "libc",
@@ -2182,7 +2182,7 @@ dependencies = [
2182
2182
 
2183
2183
  [[package]]
2184
2184
  name = "tarsk-python"
2185
- version = "0.2.0"
2185
+ version = "0.2.1"
2186
2186
  dependencies = [
2187
2187
  "pyo3",
2188
2188
  "rustls",
@@ -3,7 +3,7 @@ members = ["crates/tarsk-core", "crates/tarsk-python"]
3
3
  resolver = "2"
4
4
 
5
5
  [workspace.package]
6
- version = "0.2.0"
6
+ version = "0.2.1"
7
7
  license = "MIT"
8
8
  repository = "https://github.com/rahmadafandi/tarsk"
9
9
  edition = "2021"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tarsk-postgres
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Classifier: Development Status :: 3 - Alpha
5
5
  Classifier: Intended Audience :: Developers
6
6
  Classifier: Programming Language :: Python :: 3
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "tarsk-postgres"
3
- version = "0.2.0"
3
+ version = "0.2.1"
4
4
  description = "Memory-bounded task queue for Python with a Rust runtime — Postgres build"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -320,6 +320,10 @@ class Enqueue:
320
320
  attempt=0, # not run yet
321
321
  args=args,
322
322
  kwargs=kwargs,
323
+ # The real dict, not a copy: `meta` is mutable and frozen only
324
+ # blocks rebinding, so a middleware adding to it here is what
325
+ # `pack_result(self.meta)` picks up below.
326
+ meta=self.meta,
323
327
  )
324
328
  for middleware in app.middlewares:
325
329
  hook = getattr(middleware, "before_send", None)
File without changes
File without changes