@azure-tools/typespec-python 0.39.0 → 0.39.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure-tools/typespec-python",
3
- "version": "0.39.0",
3
+ "version": "0.39.1",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "TypeSpec emitter for Python SDKs",
6
6
  "homepage": "https://github.com/Azure/autorest.python",
@@ -48,7 +48,7 @@
48
48
  "js-yaml": "~4.1.0",
49
49
  "semver": "~7.6.2",
50
50
  "tsx": "~4.19.1",
51
- "@typespec/http-client-python": "~0.7.0",
51
+ "@typespec/http-client-python": "~0.7.1",
52
52
  "fs-extra": "~11.2.0"
53
53
  },
54
54
  "devDependencies": {
@@ -7,7 +7,7 @@ import sys
7
7
  import venv
8
8
  import logging
9
9
  from pathlib import Path
10
- from pygen import m2r, preprocess, codegen, black
10
+ from pygen import preprocess, codegen, black
11
11
  from pygen.utils import parse_args
12
12
 
13
13
  _ROOT_DIR = Path(__file__).parent.parent
@@ -34,9 +34,8 @@ if __name__ == "__main__":
34
34
  debugpy.wait_for_client()
35
35
  breakpoint() # pylint: disable=undefined-variable
36
36
 
37
- # run m2r
37
+ # run
38
38
  args, unknown_args = parse_args()
39
- m2r.M2R(output_folder=args.output_folder, cadl_file=args.cadl_file, **unknown_args).process()
40
39
  preprocess.PreProcessPlugin(output_folder=args.output_folder, cadl_file=args.cadl_file, **unknown_args).process()
41
40
  codegen.CodeGenerator(output_folder=args.output_folder, cadl_file=args.cadl_file, **unknown_args).process()
42
41
  black.BlackScriptPlugin(output_folder=args.output_folder, **unknown_args).process()