Skip to content

Commit

Permalink
Release v0.25.1 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
semantic-release-bot committed Apr 15, 2024
1 parent 8195a79 commit 10892ad
Show file tree
Hide file tree
Showing 39 changed files with 68 additions and 67 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "qcs-api-client"
version = "0.25.0"
version = "0.25.1"
description = "A client library for accessing the Rigetti QCS API"
license = "Apache-2.0"
repository = "https://github.com/rigetti/qcs-api-client-python"
Expand Down
2 changes: 1 addition & 1 deletion qcs_api_client/api/account/remove_group_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
from ...util.errors import QCSHTTPStatusError
from ...util.retry import DEFAULT_RETRY_ARGUMENTS

from ...models.remove_group_user_request import RemoveGroupUserRequest
from ...models.error import Error
from ...models.remove_group_user_request import RemoveGroupUserRequest


def _get_kwargs(
Expand Down
2 changes: 1 addition & 1 deletion qcs_api_client/api/authentication/auth_get_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
from ...util.errors import QCSHTTPStatusError
from ...util.retry import DEFAULT_RETRY_ARGUMENTS

from ...models.user import User
from ...models.error import Error
from ...models.user import User


def _get_kwargs() -> Dict[str, Any]:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
from ...util.errors import QCSHTTPStatusError
from ...util.retry import DEFAULT_RETRY_ARGUMENTS

from ...models.check_client_application_response import CheckClientApplicationResponse
from ...models.check_client_application_request import CheckClientApplicationRequest
from ...models.error import Error
from ...models.check_client_application_response import CheckClientApplicationResponse


def _get_kwargs(
Expand Down
4 changes: 2 additions & 2 deletions qcs_api_client/api/endpoints/create_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
from ...util.errors import QCSHTTPStatusError
from ...util.retry import DEFAULT_RETRY_ARGUMENTS

from ...models.validation_error import ValidationError
from ...models.endpoint import Endpoint
from ...models.create_endpoint_parameters import CreateEndpointParameters
from ...models.endpoint import Endpoint
from ...models.validation_error import ValidationError
from ...models.error import Error


Expand Down
2 changes: 1 addition & 1 deletion qcs_api_client/api/endpoints/delete_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
from ...util.errors import QCSHTTPStatusError
from ...util.retry import DEFAULT_RETRY_ARGUMENTS

from ...models.validation_error import ValidationError
from ...models.error import Error
from ...models.validation_error import ValidationError


def _get_kwargs(
Expand Down
2 changes: 1 addition & 1 deletion qcs_api_client/api/endpoints/get_default_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
from ...util.errors import QCSHTTPStatusError
from ...util.retry import DEFAULT_RETRY_ARGUMENTS

from ...models.validation_error import ValidationError
from ...models.endpoint import Endpoint
from ...models.validation_error import ValidationError
from ...models.error import Error


Expand Down
2 changes: 1 addition & 1 deletion qcs_api_client/api/endpoints/get_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
from ...util.errors import QCSHTTPStatusError
from ...util.retry import DEFAULT_RETRY_ARGUMENTS

from ...models.validation_error import ValidationError
from ...models.endpoint import Endpoint
from ...models.validation_error import ValidationError
from ...models.error import Error


Expand Down
2 changes: 1 addition & 1 deletion qcs_api_client/api/endpoints/restart_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
from ...util.retry import DEFAULT_RETRY_ARGUMENTS

from ...models.validation_error import ValidationError
from ...models.restart_endpoint_request import RestartEndpointRequest
from ...models.error import Error
from ...models.restart_endpoint_request import RestartEndpointRequest


def _get_kwargs(
Expand Down
4 changes: 2 additions & 2 deletions qcs_api_client/api/engagements/create_engagement.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
from ...util.retry import DEFAULT_RETRY_ARGUMENTS

from ...models.account_type import AccountType
from ...models.engagement_with_credentials import EngagementWithCredentials
from ...types import Unset
from ...models.create_engagement_request import CreateEngagementRequest
from ...models.error import Error
from ...types import Unset
from ...models.engagement_with_credentials import EngagementWithCredentials


def _get_kwargs(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
from ...util.retry import DEFAULT_RETRY_ARGUMENTS

from ...models.validation_error import ValidationError
from ...models.quantum_processor import QuantumProcessor
from ...models.error import Error
from ...models.quantum_processor import QuantumProcessor


def _get_kwargs(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
from ...util.errors import QCSHTTPStatusError
from ...util.retry import DEFAULT_RETRY_ARGUMENTS

import datetime
from ...models.find_available_reservations_response import (
FindAvailableReservationsResponse,
)
import datetime
from ...models.error import Error
from ...types import Unset
from ...models.error import Error


def _get_kwargs(
Expand Down
4 changes: 2 additions & 2 deletions qcs_api_client/api/reservations/list_group_reservations.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
from ...util.errors import QCSHTTPStatusError
from ...util.retry import DEFAULT_RETRY_ARGUMENTS

from ...models.list_reservations_response import ListReservationsResponse
from ...models.list_group_reservations_show_deleted import (
ListGroupReservationsShowDeleted,
)
from ...models.error import Error
from ...types import Unset
from ...models.error import Error
from ...models.list_reservations_response import ListReservationsResponse


def _get_kwargs(
Expand Down
6 changes: 3 additions & 3 deletions qcs_api_client/api/reservations/list_reservations.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
from ...util.errors import QCSHTTPStatusError
from ...util.retry import DEFAULT_RETRY_ARGUMENTS

from ...types import Unset
from ...models.list_reservations_response import ListReservationsResponse
from ...models.list_reservations_show_deleted import ListReservationsShowDeleted
from ...models.account_type import AccountType
from ...models.error import Error
from ...models.list_reservations_show_deleted import ListReservationsShowDeleted
from ...types import Unset
from ...models.list_reservations_response import ListReservationsResponse


def _get_kwargs(
Expand Down
2 changes: 1 addition & 1 deletion qcs_api_client/api/translation/get_quilt_calibrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
from ...util.errors import QCSHTTPStatusError
from ...util.retry import DEFAULT_RETRY_ARGUMENTS

from ...models.get_quilt_calibrations_response import GetQuiltCalibrationsResponse
from ...models.validation_error import ValidationError
from ...models.error import Error
from ...models.get_quilt_calibrations_response import GetQuiltCalibrationsResponse


def _get_kwargs(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
from ...util.errors import QCSHTTPStatusError
from ...util.retry import DEFAULT_RETRY_ARGUMENTS

from ...models.translate_native_quil_to_encrypted_binary_response import (
TranslateNativeQuilToEncryptedBinaryResponse,
)
from ...models.validation_error import ValidationError
from ...models.translate_native_quil_to_encrypted_binary_request import (
TranslateNativeQuilToEncryptedBinaryRequest,
)
from ...models.translate_native_quil_to_encrypted_binary_response import (
TranslateNativeQuilToEncryptedBinaryResponse,
)
from ...models.error import Error


Expand Down
2 changes: 1 addition & 1 deletion qcs_api_client/client/_configuration/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import toml
from pydantic.types import FilePath
from pydantic.utils import deep_update
from pydantic.v1.utils import deep_update

from .environment import _EnvironmentBaseModel

Expand Down
4 changes: 2 additions & 2 deletions qcs_api_client/models/architecture.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
from typing import List

if TYPE_CHECKING:
from ..models.node import Node
from ..models.edge import Edge
from ..models.node import Node


T = TypeVar("T", bound="Architecture")
Expand Down Expand Up @@ -85,8 +85,8 @@ def to_dict(self, pick_by_predicate: Optional[Callable[[Any], bool]] = is_not_no

@classmethod
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
from ..models.node import Node
from ..models.edge import Edge
from ..models.node import Node

d = src_dict.copy()
edges = []
Expand Down
2 changes: 1 addition & 1 deletion qcs_api_client/models/available_reservation.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
from ..util.serialization import is_not_none


from dateutil.parser import isoparse
import datetime
from dateutil.parser import isoparse


T = TypeVar("T", bound="AvailableReservation")
Expand Down
2 changes: 1 addition & 1 deletion qcs_api_client/models/billing_invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
from ..util.serialization import is_not_none


import datetime
from ..models.billing_invoice_status import BillingInvoiceStatus
from dateutil.parser import isoparse
import datetime


T = TypeVar("T", bound="BillingInvoice")
Expand Down
6 changes: 3 additions & 3 deletions qcs_api_client/models/billing_invoice_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
from ..util.serialization import is_not_none


from ..models.billing_invoice_line_line_item_type import BillingInvoiceLineLineItemType
from typing import Union
from ..models.billing_invoice_line_line_item_type import BillingInvoiceLineLineItemType

if TYPE_CHECKING:
from ..models.billing_price import BillingPrice
from ..models.billing_invoice_line_metadata import BillingInvoiceLineMetadata
from ..models.billing_price import BillingPrice


T = TypeVar("T", bound="BillingInvoiceLine")
Expand Down Expand Up @@ -103,8 +103,8 @@ def to_dict(self, pick_by_predicate: Optional[Callable[[Any], bool]] = is_not_no

@classmethod
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
from ..models.billing_price import BillingPrice
from ..models.billing_invoice_line_metadata import BillingInvoiceLineMetadata
from ..models.billing_price import BillingPrice

d = src_dict.copy()
amount = d.pop("amount")
Expand Down
10 changes: 5 additions & 5 deletions qcs_api_client/models/billing_price.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
from ..util.serialization import is_not_none


from ..models.billing_price_tiers_mode import BillingPriceTiersMode
from typing import Union
from ..models.billing_price_object import BillingPriceObject
from ..models.billing_price_price_type import BillingPricePriceType
from ..models.billing_price_scheme import BillingPriceScheme
from typing import Union
from ..models.billing_price_price_type import BillingPricePriceType
from ..models.billing_price_tiers_mode import BillingPriceTiersMode

if TYPE_CHECKING:
from ..models.tier import Tier
from ..models.billing_product import BillingProduct
from ..models.tier import Tier
from ..models.billing_price_recurrence import BillingPriceRecurrence


Expand Down Expand Up @@ -138,8 +138,8 @@ def to_dict(self, pick_by_predicate: Optional[Callable[[Any], bool]] = is_not_no

@classmethod
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
from ..models.tier import Tier
from ..models.billing_product import BillingProduct
from ..models.tier import Tier
from ..models.billing_price_recurrence import BillingPriceRecurrence

d = src_dict.copy()
Expand Down
6 changes: 3 additions & 3 deletions qcs_api_client/models/billing_price_recurrence.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
from ..util.serialization import is_not_none


from typing import Union
from ..models.billing_price_recurrence_interval import BillingPriceRecurrenceInterval
from ..models.billing_price_recurrence_usage_type import BillingPriceRecurrenceUsageType
from ..models.billing_price_recurrence_aggregate_usage import (
BillingPriceRecurrenceAggregateUsage,
)
from ..models.billing_price_recurrence_usage_type import BillingPriceRecurrenceUsageType
from ..models.billing_price_recurrence_interval import BillingPriceRecurrenceInterval
from typing import Union


T = TypeVar("T", bound="BillingPriceRecurrence")
Expand Down
2 changes: 1 addition & 1 deletion qcs_api_client/models/billing_product.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
from ..util.serialization import is_not_none


from ..models.billing_product_object import BillingProductObject
from typing import Union
from ..models.billing_product_object import BillingProductObject


T = TypeVar("T", bound="BillingProduct")
Expand Down
2 changes: 1 addition & 1 deletion qcs_api_client/models/billing_upcoming_invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
from ..util.serialization import is_not_none


import datetime
from ..models.billing_invoice_status import BillingInvoiceStatus
from dateutil.parser import isoparse
import datetime


T = TypeVar("T", bound="BillingUpcomingInvoice")
Expand Down
4 changes: 2 additions & 2 deletions qcs_api_client/models/characteristic.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
from ..util.serialization import is_not_none


from typing import cast, List
from dateutil.parser import isoparse
from typing import Union
from typing import cast, List
import datetime
from dateutil.parser import isoparse


T = TypeVar("T", bound="Characteristic")
Expand Down
4 changes: 2 additions & 2 deletions qcs_api_client/models/create_endpoint_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
from ..util.serialization import is_not_none


from typing import cast
from ..models.nomad_job_datacenters import NomadJobDatacenters
from typing import Union
from ..models.nomad_job_datacenters import NomadJobDatacenters
from typing import cast


T = TypeVar("T", bound="CreateEndpointParameters")
Expand Down
2 changes: 1 addition & 1 deletion qcs_api_client/models/create_engagement_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
from ..util.serialization import is_not_none


from typing import cast
from typing import Union
from ..models.account_type import AccountType
from typing import cast


T = TypeVar("T", bound="CreateEngagementRequest")
Expand Down
6 changes: 3 additions & 3 deletions qcs_api_client/models/create_reservation_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
from ..util.serialization import is_not_none


from ..models.account_type import AccountType
from dateutil.parser import isoparse
import datetime
from typing import Union
import datetime
from dateutil.parser import isoparse
from ..models.account_type import AccountType


T = TypeVar("T", bound="CreateReservationRequest")
Expand Down
2 changes: 1 addition & 1 deletion qcs_api_client/models/endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
from ..util.serialization import is_not_none


from typing import cast
from typing import Union
from typing import cast

if TYPE_CHECKING:
from ..models.endpoint_addresses import EndpointAddresses
Expand Down
2 changes: 1 addition & 1 deletion qcs_api_client/models/engagement_with_credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
from ..util.serialization import is_not_none


from typing import Union
from typing import cast
from ..models.account_type import AccountType
from typing import Union

if TYPE_CHECKING:
from ..models.engagement_credentials import EngagementCredentials
Expand Down
Loading

0 comments on commit 10892ad

Please sign in to comment.