From 1169fdd71109c34663f85fd35475c5f0d8923451 Mon Sep 17 00:00:00 2001 From: iscai-msft Date: Thu, 10 Feb 2022 17:02:26 -0500 Subject: [PATCH] improve patch file --- autorest/codegen/templates/patch.py.jinja2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/autorest/codegen/templates/patch.py.jinja2 b/autorest/codegen/templates/patch.py.jinja2 index 52465e0022f..7b6adfd2fea 100644 --- a/autorest/codegen/templates/patch.py.jinja2 +++ b/autorest/codegen/templates/patch.py.jinja2 @@ -28,7 +28,8 @@ # This file is used for handwritten customizations to the generated code. # Follow our quickstart here for examples: https://github.com/Azure/autorest.python/blob/autorestv3/docs/customizations.md -__all__ = [] - def patch_sdk(): + """Do not remove from this file""" pass + +__all__ = ["patch_sdk"] # do not remove "patch_sdk" from __all__