@typespec/http-client-python 0.12.5 → 0.13.0-dev.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.
@@ -104,35 +104,4 @@ additional questions or comments.
104
104
  [pip]: https://pypi.org/project/pip/
105
105
  [azure_sub]: https://azure.microsoft.com/free/
106
106
  {% endif %}
107
- {% else %}
108
- # Overview
109
-
110
- This package is generated by `@typespec/http-client-python` with Typespec.
111
-
112
- ## Getting started
113
-
114
- ### Prequisites
115
-
116
- - Python 3.9 or later is required to use this package.
117
-
118
- ### Install the package
119
-
120
- Step into folder where setup.py is then run:
121
-
122
- ```bash
123
- pip install -e .
124
- ```
125
-
126
- ### Examples
127
-
128
- ```python
129
- >>> from {{ code_model.namespace }} import {{ client_name }}
130
- >>> from {{ code_model.core_library }}.exceptions import HttpResponseError
131
-
132
- >>> client = {{ client_name }}(endpoint='<endpoint>')
133
- >>> try:
134
- <!-- write code here -->
135
- except HttpResponseError as e:
136
- print('service responds error: {}'.format(e.response.json()))
137
- ```
138
107
  {% endif %}
@@ -104,35 +104,4 @@ additional questions or comments.
104
104
  [pip]: https://pypi.org/project/pip/
105
105
  [azure_sub]: https://azure.microsoft.com/free/
106
106
  {% endif %}
107
- {% else %}
108
- # Overview
109
-
110
- This package is generated by `@typespec/http-client-python` with Typespec.
111
-
112
- ## Getting started
113
-
114
- ### Prequisites
115
-
116
- - Python 3.9 or later is required to use this package.
117
-
118
- ### Install the package
119
-
120
- Step into folder where setup.py is then run:
121
-
122
- ```bash
123
- pip install -e .
124
- ```
125
-
126
- ### Examples
127
-
128
- ```python
129
- >>> from {{ code_model.namespace }} import {{ client_name }}
130
- >>> from {{ code_model.core_library }}.exceptions import HttpResponseError
131
-
132
- >>> client = {{ client_name }}(endpoint='<endpoint>')
133
- >>> try:
134
- <!-- write code here -->
135
- except HttpResponseError as e:
136
- print('service responds error: {}'.format(e.response.json()))
137
- ```
138
107
  {% endif %}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typespec/http-client-python",
3
- "version": "0.12.5",
3
+ "version": "0.13.0-dev.2",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "TypeSpec emitter for Python SDKs",
6
6
  "homepage": "https://typespec.io",