@autorest/python 6.7.1 → 6.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
import sys
|
|
7
7
|
import logging
|
|
8
8
|
import json
|
|
9
|
-
import shutil
|
|
10
9
|
|
|
11
10
|
from collections import defaultdict
|
|
12
11
|
from pathlib import Path
|
|
@@ -174,10 +173,6 @@ class MultiAPI(ReaderAndWriter): # pylint: disable=abstract-method
|
|
|
174
173
|
user_specified_default_api=self.user_specified_default_api,
|
|
175
174
|
)
|
|
176
175
|
|
|
177
|
-
# In case we are transitioning from a single api generation, clean old folders
|
|
178
|
-
shutil.rmtree(str(self.output_folder / "operations"), ignore_errors=True)
|
|
179
|
-
shutil.rmtree(str(self.output_folder / "models"), ignore_errors=True)
|
|
180
|
-
|
|
181
176
|
multiapi_serializer = self.serializer
|
|
182
177
|
multiapi_serializer.serialize(code_model, self.no_async)
|
|
183
178
|
|