Skip to content

Commit

Permalink
Ensure entities are copied during clone. (#134)
Browse files Browse the repository at this point in the history
* Ensure entities are copied during clone.
* Organize cloned doc_gen properties for clarity.
  • Loading branch information
cpyle0819 authored Jan 22, 2025
1 parent 5cc37ce commit 5cc716c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aws_doc_sdk_examples_tools/doc_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,11 @@ def default(cls) -> "DocGen":
def clone(self) -> "DocGen":
return DocGen(
root=self.root,
errors=MetadataErrors(),
validation=self.validation.clone(),
sdks={**self.sdks},
entities=self.entities,
services={**self.services},
errors=MetadataErrors(),
snippets={},
snippet_files=set(),
cross_blocks=set(),
Expand Down

0 comments on commit 5cc716c

Please sign in to comment.