Граф коммитов

2177 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] 858c45ef6d
pip dev(deps-dev): bump pytest from 8.3.2 to 8.3.3 in /eng (#2840) 2024-09-16 09:37:21 -04:00
Yuchao Yan 442de28992
Fix wrong word in generated test (#2839)
* fix wrong word

* fix wrong word

* changelog
2024-09-13 08:05:12 +00:00
Yuchao Yan fb3b9157c1
update version (#2838) 2024-09-13 03:25:12 +00:00
Yuchao Yan 1670cc63aa
Fix "line-too-long" for property of model (#2837)
* fix line-too-long for property of model

* changelog
2024-09-12 08:47:49 +00:00
ChenxiJiang333 2b29fe0655
add testcases (#2822)
* add testcases

* Update requirements.txt

* add changelog

* add changelog

---------

Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
2024-09-12 12:40:13 +08:00
Yuchao Yan c87dcad801
Fix ci failure (#2835) 2024-09-11 10:43:49 -04:00
Yuchao Yan c2ece1846e
bump tsp 0.60.0 (#2834)
* bump tsp 0.60.0

* changelog
2024-09-11 07:07:15 +00:00
iscai-msft df0b946740
prep for release (#2832) 2024-09-10 11:18:57 -04:00
Yuchao Yan 2ef47f9543
Add pylint disable for "unsubscriptable-object" (#2831) 2024-09-10 11:13:24 -04:00
Yuchao Yan 2005007b87
Use `defusedxml` for untrusted xml data in deserialization (#2829) 2024-09-10 15:05:34 +00:00
Yuchao Yan db304e9d10
Add pylint disable for "line-too-long" and "too-many-locals" (#2830)
* fix for pylint

* changelog

* lint
2024-09-10 07:20:32 +00:00
dependabot[bot] 9d0e4ddd41
pip prod(deps): bump pyright from 1.1.378 to 1.1.379 in /eng (#2820)
Bumps [pyright](https://github.com/RobertCraigie/pyright-python) from 1.1.378 to 1.1.379.
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases)
- [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.378...v1.1.379)

---
updated-dependencies:
- dependency-name: pyright
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-10 14:26:05 +08:00
dependabot[bot] 49392f3c1a
pip prod(deps): bump tox from 4.18.0 to 4.18.1 in /eng (#2821)
Bumps [tox](https://github.com/tox-dev/tox) from 4.18.0 to 4.18.1.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/4.18.0...4.18.1)

---
updated-dependencies:
- dependency-name: tox
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
2024-09-10 02:39:04 +00:00
iscai-msft 76ee68035b
bump for release (#2824) 2024-09-09 14:07:21 -04:00
iscai-msft d03a34e151
Include linked imports to referenced azure.core models when properties (#2823) 2024-09-09 16:31:00 +00:00
Chenjie Shi 10d8e5b702
Xml support (#2806)
* wip

* wip

* wip

* finish first version

* changelog

* lint

* fix lint

* fix

* format

* black

* black

* fix

* fix mypy

* fix

* refine

* fix lint and pyright

* fix

* fix

* fix lint

* fix lint

* fix

* fix

* fix pyright

* regenerate

---------

Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
2024-09-09 08:43:00 +00:00
Yuchao Yan 9600df105b
test case for etag (#2790)
* add test for etag

* format
2024-09-09 06:51:54 +00:00
Yuchao Yan 9cac616e35
Bump cadl ranch 0.37.1 (#2815)
* bump cadl-ranch 0.37.1

* for multipart HttpPart<{..}> case

* regenerate

* fix multipart case

* format

* changelog

* fix ci

* regenerate

* udpate testcase name
2024-09-09 12:45:26 +08:00
iscai-msft 1388db949e
Remove pylint disable serialization (#2814) 2024-09-05 18:09:35 +00:00
Yuchao Yan 43e3a4cddd
Snake case naming optimization (with vendor code from `@azure-tools/codegen`) (#2810)
* init

* debug for vitest

* fix

* regenerate

* fix test

* fix

* fix ci
2024-09-05 13:45:59 +08:00
Yuchao Yan 87c63eceae
fix sdk regeneration pipeline (#2811)
* fix sdk regenerate pipeline

* update cmd for tsp-client
2024-09-03 06:28:23 +00:00
Yuchao Yan aafe34e666
version (#2812) 2024-09-03 05:22:46 +00:00
dependabot[bot] 6bcd165707
pip prod(deps): bump pylint from 3.2.6 to 3.2.7 in /eng (#2807)
Bumps [pylint](https://github.com/pylint-dev/pylint) from 3.2.6 to 3.2.7.
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](https://github.com/pylint-dev/pylint/compare/v3.2.6...v3.2.7)

---
updated-dependencies:
- dependency-name: pylint
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-03 02:12:50 +00:00
dependabot[bot] 35e4b97cb5
pip prod(deps): bump pyright from 1.1.377 to 1.1.378 in /eng (#2809)
Bumps [pyright](https://github.com/RobertCraigie/pyright-python) from 1.1.377 to 1.1.378.
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases)
- [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.377...v1.1.378)

---
updated-dependencies:
- dependency-name: pyright
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-03 09:35:02 +08:00
Yuchao Yan 8ad67547d2
Add `x-ms-original-file` in generated sample to declare original sample file of typespec (#2805)
* original file in sample

* changelog

* fix for ci
2024-09-02 07:10:40 +00:00
Chenjie Shi 3856eb4239
support query `explode` and path `allowReserved` (#2775)
* support query `explode` and path `allowReserved`

* update example related change

* support new spread logic change

* changelog

* format and lint
2024-08-30 10:03:15 +08:00
Yuchao Yan da6845c0a5
Fix regenerate.ts for nightly build pipeline (#2803)
* fix

* fix regenerate

* changelog
2024-08-29 15:30:29 +08:00
Yuchao Yan c04063a7f0
Support encode int as string (#2771)
* code

* changelog

* review

* add test

* review

* fix ci

* fix ci

* remove outdated folder

* fix ci

* fix ci

* review
2024-08-29 08:45:28 +08:00
dependabot[bot] 708bcb1d7e
pip dev(deps-dev): bump setuptools from 70.0.0 to 73.0.1 in /eng (#2796) 2024-08-26 11:05:16 -04:00
dependabot[bot] 1d736840b1
pip dev(deps-dev): bump setuptools from 69.2.0 to 70.0.0 in /eng (#2791) 2024-08-23 17:22:00 +00:00
Yuchao Yan ea334bcda7
fix nightly to skip deprecation warnings (#2794)
* fix nightly build

* fix

* fix

* changelog

* fix

* fix

* fix nightly build

* fix nightly build

* fix nightly build
2024-08-23 15:59:14 +08:00
Yuchao Yan 5b051fcb66
fix (#2793) 2024-08-23 02:52:32 +00:00
dependabot[bot] 61f952e296
pip prod(deps): bump pyright from 1.1.375 to 1.1.377 in /eng (#2792)
Bumps [pyright](https://github.com/RobertCraigie/pyright-python) from 1.1.375 to 1.1.377.
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases)
- [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.375...v1.1.377)

---
updated-dependencies:
- dependency-name: pyright
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-23 09:33:55 +08:00
Yuchao Yan 3ab2a26535
Fix ci (#2785) 2024-08-22 22:27:51 +00:00
Yalin Li 414977934f
Remove subprocess in typespec-python (#2780) 2024-08-21 13:03:13 -07:00
Yuchao Yan 57074313a0
bump version (#2786) 2024-08-21 11:22:04 +08:00
Yuchao Yan 8ac5289536
Advanced multipart implementation (#2740) 2024-08-20 10:27:08 -04:00
Yuchao Yan a0e2e0d9e7
Fix sample generation for keyword-only parameters (#2784)
* fix sample generation

* changelog
2024-08-20 05:58:51 +00:00
Yuchao Yan b9b5b63625
fix ci (#2781) 2024-08-19 12:56:11 +08:00
iscai-msft b973ebbb67
use npm to run tests in ci (#2779) 2024-08-16 17:37:59 +00:00
iscai-msft 0f6e720a09
clean up reqs, use ts to run scripts (#2777) 2024-08-15 14:26:47 -04:00
dependabot[bot] b85af4cdde
pip prod(deps): bump tox from 4.16.0 to 4.18.0 in /eng (#2778) 2024-08-15 13:31:10 -04:00
dependabot[bot] 29c9fa1c85
pip dev(deps-dev): bump debugpy from 1.8.2 to 1.8.5 in /eng (#2748) 2024-08-15 16:27:07 +00:00
Yuchao Yan 6a25cc384c
Remove sample from docstring (#2774) 2024-08-15 11:17:51 -04:00
ChenxiJiang333 f365c4b4f3
add testcases (#2772)
* add testcases

* add-testcases

* fix testcase

---------

Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
2024-08-15 12:40:11 +08:00
iscai-msft ff216cbda2
Update 59 1 (#2773) 2024-08-14 22:14:10 +00:00
Yuchao Yan 61f3f5a778
Fix to get right response and exception (#2756) 2024-08-14 13:36:24 -04:00
Yuchao Yan 755dc365a1
Fix crash when paging operation return type has parent type (#2766)
* fix paging

* changelog
2024-08-14 02:17:24 +00:00
Yuchao Yan e8f0113d0a
add arm test (#2768) 2024-08-14 09:39:51 +08:00
dependabot[bot] db79454592
pip prod(deps): bump pyright from 1.1.373 to 1.1.375 in /eng (#2757)
Bumps [pyright](https://github.com/RobertCraigie/pyright-python) from 1.1.373 to 1.1.375.
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases)
- [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.373...v1.1.375)

---
updated-dependencies:
- dependency-name: pyright
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
2024-08-13 08:41:30 +00:00