@autorest/python 6.14.0 → 6.14.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.
@@ -894,5 +894,6 @@ def rest_discriminator(
894
894
  *,
895
895
  name: typing.Optional[str] = None,
896
896
  type: typing.Optional[typing.Callable] = None, # pylint: disable=redefined-builtin
897
+ visibility: typing.Optional[typing.List[str]] = None,
897
898
  ) -> typing.Any:
898
- return _RestField(name=name, type=type, is_discriminator=True)
899
+ return _RestField(name=name, type=type, is_discriminator=True, visibility=visibility)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autorest/python",
3
- "version": "6.14.0",
3
+ "version": "6.14.1",
4
4
  "description": "The Python extension for generators in AutoRest.",
5
5
  "main": "index.js",
6
6
  "repository": {