-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Currently, all uncommitted changes are sent sequentially to the server.
But some metadata change endpoints allow a multitude of changes be applied directly to a bunch of assets.
Check the pyfwapi code and optimize where possible.
pyfwapi/pyfwapi/change/stateful.py
Lines 83 to 88 in 7ec52a9
| async def commit(self, *, conn: APIConnection, await_done: bool = True): | |
| """Commit changes ready to commit.""" | |
| for task in self.tasks.values(): | |
| if task.status != "uncommitted": | |
| continue | |
| await self.commit_uncommitted(task, conn=conn) |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request