Skip to content

Commit f684127

Browse files
am-limericaguthan
andauthored
[devcenter] Fix syntax error with schedule commands (#8457)
* Update project env type parameters * Fix environment def example and update style * Fix show logs * Fix spacing * Fix style error * Fix integraion tests * Fix gallery test * Fix gallery test * Fix gallery compute * Update * Update control plane * Update tests and vendored sdk for data plane API * Updates * Update tests * Update version * Update tests * Update log command to support escape characters * Update control plane to 2024-10-01-preview * Changes for force delete only * update api version * remove preview flag * Fix linter errors * Update control plane tests * Update tests * Update commands * Add project policy test * Update * add missing override * Update response * Add tests * Fix image name regex * Update version for Ignite * Update data plane tests * Update control plane tests * Fix control plane tests * Fix nsg * Update params * Update release version * Update data plane 2024-10-01-preview * Remove old dp code * Add devbox list * Add project,pool,schedule * Add devbox * Fix post, add snapshots * Fix post LRO * Add environments * Add additional cmds * Fix help * Fix params * Fix customization task validate * Linter and style fixes * Update version * Update version2 * Update dp tests * Add dev box tests * Add repair test * Add snapshot test * Add customization task test * Add customization group test * Add environment test * Update tests * Update help * Fix tests * Fix examples and show logs output * Handle if there is no next scheduled time * Update HISTORY.rst * Fix syntax errors * Update version --------- Co-authored-by: Erica Guthan <ericaguthan@microsoft.com>
1 parent 9afada9 commit f684127

File tree

7 files changed

+10
-6
lines changed

7 files changed

+10
-6
lines changed

src/devcenter/HISTORY.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
33
Release History
44
===============
5+
6.2.3
6+
++++++
7+
* Fix syntax errors in schedule dataplane commands
8+
59
6.2.2
610
++++++
711
* Fix delay all and delay dev box/environment action if no next scheduled time

src/devcenter/azext_devcenter/aaz/latest/devcenter/admin/schedule/_create.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
7474
required=True,
7575
default="default",
7676
fmt=AAZStrArgFormat(
77-
pattern="^[-\w]+$",
77+
pattern=r"^[-\w]+$",
7878
max_length=100,
7979
min_length=1,
8080
),

src/devcenter/azext_devcenter/aaz/latest/devcenter/admin/schedule/_delete.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
7878
id_part="child_name_2",
7979
default="default",
8080
fmt=AAZStrArgFormat(
81-
pattern="^[-\w]+$",
81+
pattern=r"^[-\w]+$",
8282
max_length=100,
8383
min_length=1,
8484
),

src/devcenter/azext_devcenter/aaz/latest/devcenter/admin/schedule/_show.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
7676
id_part="child_name_2",
7777
default="default",
7878
fmt=AAZStrArgFormat(
79-
pattern="^[-\w]+$",
79+
pattern=r"^[-\w]+$",
8080
max_length=100,
8181
min_length=1,
8282
),

src/devcenter/azext_devcenter/aaz/latest/devcenter/admin/schedule/_update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
7979
id_part="child_name_2",
8080
default="default",
8181
fmt=AAZStrArgFormat(
82-
pattern="^[-\w]+$",
82+
pattern=r"^[-\w]+$",
8383
max_length=100,
8484
min_length=1,
8585
),

src/devcenter/azext_devcenter/aaz/latest/devcenter/admin/schedule/_wait.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
7272
id_part="child_name_2",
7373
default="default",
7474
fmt=AAZStrArgFormat(
75-
pattern="^[-\w]+$",
75+
pattern=r"^[-\w]+$",
7676
max_length=100,
7777
min_length=1,
7878
),

src/devcenter/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from setuptools import setup, find_packages
1111

1212
# HISTORY.rst entry.
13-
VERSION = '6.2.2'
13+
VERSION = '6.2.3'
1414
try:
1515
from azext_devcenter.manual.version import VERSION
1616
except ImportError:

0 commit comments

Comments
 (0)