@autorest/python 6.32.0 → 6.32.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.
@@ -415,7 +415,7 @@ class CodeModel: # pylint: disable=too-many-public-methods, disable=too-many-in
415
415
  license_header = self.yaml_data.get("licenseInfo", {}).get("header", "")
416
416
  else:
417
417
  # typespec azure case without custom license and swagger case
418
- license_header = self.options.get("header_text", DEFAULT_HEADER_TEXT)
418
+ license_header = self.options.get("header_text") or DEFAULT_HEADER_TEXT
419
419
  if license_header:
420
420
  license_header = license_header.replace("\n", "\n# ")
421
421
  license_header = (
@@ -415,7 +415,7 @@ class CodeModel: # pylint: disable=too-many-public-methods, disable=too-many-in
415
415
  license_header = self.yaml_data.get("licenseInfo", {}).get("header", "")
416
416
  else:
417
417
  # typespec azure case without custom license and swagger case
418
- license_header = self.options.get("header_text", DEFAULT_HEADER_TEXT)
418
+ license_header = self.options.get("header_text") or DEFAULT_HEADER_TEXT
419
419
  if license_header:
420
420
  license_header = license_header.replace("\n", "\n# ")
421
421
  license_header = (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autorest/python",
3
- "version": "6.32.0",
3
+ "version": "6.32.1",
4
4
  "description": "The Python extension for generators in AutoRest.",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "homepage": "https://github.com/Azure/autorest.python/blob/main/README.md",
21
21
  "dependencies": {
22
- "@typespec/http-client-python": "~0.9.0",
22
+ "@typespec/http-client-python": "~0.9.1",
23
23
  "@autorest/system-requirements": "~1.0.2",
24
24
  "fs-extra": "~11.2.0",
25
25
  "tsx": "~4.19.1"