Skip to content

Commit 55bed9b

Browse files
author
Sam Rishi
committed
fix:PRComments
1 parent 1fab252 commit 55bed9b

File tree

6 files changed

+10
-4
lines changed

6 files changed

+10
-4
lines changed

nisystemlink/clients/product/models/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
QueryProductsRequest,
99
QueryProductValuesRequest,
1010
)
11-
from ._product_response import Product
11+
from ._product import Product
1212
from ._product_request import CreateProductRequest, UpdateProductRequest
1313

1414
# flake8: noqa

nisystemlink/clients/product/models/_create_products_partial_success.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
from nisystemlink.clients.core import ApiError
44
from nisystemlink.clients.core._uplink._json_model import JsonModel
5+
from nisystemlink.clients.product.models._product import Product
56
from nisystemlink.clients.product.models._product_request import CreateProductRequest
6-
from nisystemlink.clients.product.models._product_response import Product
77

88

99
class CreateProductsPartialSuccess(JsonModel):

nisystemlink/clients/product/models/_paged_products.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from typing import List, Optional
22

33
from nisystemlink.clients.core._uplink._with_paging import WithPaging
4-
from nisystemlink.clients.product.models._product_response import Product
4+
from nisystemlink.clients.product.models._product import Product
55

66

77
class PagedProducts(WithPaging):
File renamed without changes.

nisystemlink/clients/product/utilities/_file_utilities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from nisystemlink.clients.product._product_client import ProductClient
44
from nisystemlink.clients.product.models._paged_products import PagedProducts
5-
from nisystemlink.clients.product.models._product_response import (
5+
from nisystemlink.clients.product.models._product import (
66
Product,
77
)
88
from nisystemlink.clients.product.models._query_products_request import (

nisystemlink/clients/spec/models/_update_specs_request.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ class UpdateSpecificationsRequestObject(SpecificationDefinition):
3535
type: SpecificationType
3636
"""Type of the specification."""
3737

38+
workspace: str
39+
"""Id of the workspace to which the specification will be associated.
40+
41+
Default workspace will be taken if the value is not given.
42+
"""
43+
3844

3945
class UpdateSpecificationsRequest(JsonModel):
4046

0 commit comments

Comments
 (0)