We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 213e41e commit 37ec816Copy full SHA for 37ec816
ding/data/buffer/middleware/priority.py
@@ -55,7 +55,7 @@ def __init__(
55
def push(self, chain: Callable, data: Any, meta: Optional[dict] = None, *args, **kwargs) -> BufferedData:
56
if meta is None:
57
if 'priority' in data:
58
- meta = {'priority': data['priority'].item()}
+ meta = {'priority': data.pop('priority')}
59
else:
60
meta = {'priority': self.max_priority}
61
0 commit comments