@typespec/http-client-python 0.6.8 → 0.6.9

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.
@@ -238,7 +238,7 @@ class JinjaSerializer(ReaderAndWriter):
238
238
  self, env: Environment, namespace: str, models: List[ModelType], enums: List[EnumType]
239
239
  ) -> None:
240
240
  # Write the models folder
241
- models_path = self.exec_path(namespace + ".models")
241
+ models_path = self.exec_path(namespace) / "models"
242
242
  serializer = DpgModelSerializer if self.code_model.options["models_mode"] == "dpg" else MsrestModelSerializer
243
243
  if self.code_model.has_non_json_models(models):
244
244
  self.write_file(
@@ -238,7 +238,7 @@ class JinjaSerializer(ReaderAndWriter):
238
238
  self, env: Environment, namespace: str, models: List[ModelType], enums: List[EnumType]
239
239
  ) -> None:
240
240
  # Write the models folder
241
- models_path = self.exec_path(namespace + ".models")
241
+ models_path = self.exec_path(namespace) / "models"
242
242
  serializer = DpgModelSerializer if self.code_model.options["models_mode"] == "dpg" else MsrestModelSerializer
243
243
  if self.code_model.has_non_json_models(models):
244
244
  self.write_file(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typespec/http-client-python",
3
- "version": "0.6.8",
3
+ "version": "0.6.9",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "TypeSpec emitter for Python SDKs",
6
6
  "homepage": "https://typespec.io",