Skip to content

Commit fb1f0dc

Browse files
authored
Merge pull request #845 from writer/dev
chore: Merge for release
2 parents afb74a3 + 6c1466a commit fb1f0dc

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
name = "writer"
7-
version = "0.8.3rc15"
7+
version = "0.8.3rc16"
88
description = "An open-source, Python framework for building feature-rich apps that are fully integrated with the Writer platform."
99
authors = ["Writer, Inc."]
1010
readme = "README.md"

src/writer/wf_project.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ def write_files_async(context: WfProjectContext, metadata: MetadataDefinition, c
4343
4444
>>> wf_project.write_files_async('app/hello', metadata={"writer_version": "0.1" }, components=...)
4545
"""
46+
47+
while not context.write_files_async_queue.empty():
48+
try:
49+
context.write_files_async_queue.get_nowait()
50+
except queue.Empty:
51+
break
52+
4653
context.write_files_async_queue.put((context.app_path, metadata, components))
4754

4855
def write_files(app_path: str, metadata: MetadataDefinition, components: Dict[str, ComponentDefinition]) -> None:

0 commit comments

Comments
 (0)