Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preparation of 4.4.0 release #58

Merged
merged 2 commits into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## [4.4.0] - 2024-10-16

## [4.3.0] - 2024-09-19

## [4.2.0] - 2024-09-02
Expand Down
2 changes: 1 addition & 1 deletion osidb_bindings.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%define name osidb_bindings
%define version 4.3.0
%define version 4.4.0
%define release 0%{?dist}

Name: %{name}
Expand Down
2 changes: 1 addition & 1 deletion osidb_bindings/bindings/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "bindings"
version = "4.3.0"
version = "4.4.0"
description = "A client library for accessing OSIDB API"

authors = []
Expand Down
11 changes: 1 addition & 10 deletions osidb_bindings/bindings/python_client/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,15 @@
from .affect import Affect
from .affect_bulk_post_put_response import AffectBulkPostPutResponse
from .affect_bulk_put import AffectBulkPut
from .affect_bulk_put_meta_attr import AffectBulkPutMetaAttr
from .affect_cvss import AffectCVSS
from .affect_cvss_post import AffectCVSSPost
from .affect_cvss_put import AffectCVSSPut
from .affect_meta_attr import AffectMetaAttr
from .affect_post import AffectPost
from .affect_post_meta_attr import AffectPostMetaAttr
from .affect_report_data import AffectReportData
from .affectedness_enum import AffectednessEnum
from .alert import Alert
from .alert_type_enum import AlertTypeEnum
from .audit import Audit
from .audit_pgh_context import AuditPghContext
from .audit_pgh_diff import AuditPghDiff
from .auth_token_create_response_200 import AuthTokenCreateResponse200
from .auth_token_refresh_create_response_200 import AuthTokenRefreshCreateResponse200
from .auth_token_retrieve_response_200 import AuthTokenRetrieveResponse200
Expand Down Expand Up @@ -104,14 +99,12 @@
from .flaw_cvss import FlawCVSS
from .flaw_cvss_post import FlawCVSSPost
from .flaw_cvss_put import FlawCVSSPut
from .flaw_meta_attr import FlawMetaAttr
from .flaw_package_version import FlawPackageVersion
from .flaw_package_version_post import FlawPackageVersionPost
from .flaw_package_version_put import FlawPackageVersionPut
from .flaw_post import FlawPost
from .flaw_post_classification import FlawPostClassification
from .flaw_post_classification_state import FlawPostClassificationState
from .flaw_post_meta_attr import FlawPostMetaAttr
from .flaw_reference import FlawReference
from .flaw_reference_post import FlawReferencePost
from .flaw_reference_put import FlawReferencePut
Expand Down Expand Up @@ -362,15 +355,13 @@
from .reject import Reject
from .requires_cve_description_enum import RequiresCveDescriptionEnum
from .resolution_enum import ResolutionEnum
from .source_521_enum import Source521Enum
from .source_be_0_enum import SourceBe0Enum
from .supported_products import SupportedProducts
from .token_obtain_pair import TokenObtainPair
from .token_refresh import TokenRefresh
from .token_verify import TokenVerify
from .tracker import Tracker
from .tracker_meta_attr import TrackerMetaAttr
from .tracker_post import TrackerPost
from .tracker_post_meta_attr import TrackerPostMetaAttr
from .tracker_report_data import TrackerReportData
from .tracker_suggestion import TrackerSuggestion
from .tracker_type import TrackerType
Expand Down
23 changes: 0 additions & 23 deletions osidb_bindings/bindings/python_client/models/affect.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from dateutil.parser import isoparse

from ..models.affect_cvss import AffectCVSS
from ..models.affect_meta_attr import AffectMetaAttr
from ..models.affectedness_enum import AffectednessEnum
from ..models.alert import Alert
from ..models.blank_enum import BlankEnum
Expand All @@ -27,7 +26,6 @@ class Affect(OSIDBModel):
ps_product: str
ps_component: str
trackers: List[Tracker]
meta_attr: AffectMetaAttr
delegated_resolution: str
cvss_scores: List[AffectCVSS]
embargoed: bool
Expand Down Expand Up @@ -55,10 +53,6 @@ def to_dict(self) -> Dict[str, Any]:

trackers.append(trackers_item)

meta_attr: Dict[str, Any] = UNSET
if not isinstance(self.meta_attr, Unset):
meta_attr = self.meta_attr.to_dict()

delegated_resolution = self.delegated_resolution
cvss_scores: List[Dict[str, Any]] = UNSET
if not isinstance(self.cvss_scores, Unset):
Expand Down Expand Up @@ -147,8 +141,6 @@ def to_dict(self) -> Dict[str, Any]:
field_dict["ps_component"] = ps_component
if not isinstance(trackers, Unset):
field_dict["trackers"] = trackers
if not isinstance(meta_attr, Unset):
field_dict["meta_attr"] = meta_attr
if not isinstance(delegated_resolution, Unset):
field_dict["delegated_resolution"] = delegated_resolution
if not isinstance(cvss_scores, Unset):
Expand Down Expand Up @@ -200,10 +192,6 @@ def to_multipart(self) -> Dict[str, Any]:
_temp_trackers.append(trackers_item)
trackers = (None, json.dumps(_temp_trackers), "application/json")

meta_attr: Union[Unset, Tuple[None, str, str]] = UNSET
if not isinstance(self.meta_attr, Unset):
meta_attr = (None, json.dumps(self.meta_attr.to_dict()), "application/json")

delegated_resolution = (
self.delegated_resolution
if self.delegated_resolution is UNSET
Expand Down Expand Up @@ -307,8 +295,6 @@ def to_multipart(self) -> Dict[str, Any]:
field_dict["ps_component"] = ps_component
if not isinstance(trackers, Unset):
field_dict["trackers"] = trackers
if not isinstance(meta_attr, Unset):
field_dict["meta_attr"] = meta_attr
if not isinstance(delegated_resolution, Unset):
field_dict["delegated_resolution"] = delegated_resolution
if not isinstance(cvss_scores, Unset):
Expand Down Expand Up @@ -358,13 +344,6 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:

trackers.append(trackers_item)

_meta_attr = d.pop("meta_attr", UNSET)
meta_attr: AffectMetaAttr
if isinstance(_meta_attr, Unset):
meta_attr = UNSET
else:
meta_attr = AffectMetaAttr.from_dict(_meta_attr)

delegated_resolution = d.pop("delegated_resolution", UNSET)

cvss_scores = []
Expand Down Expand Up @@ -510,7 +489,6 @@ def _parse_impact(data: object) -> Union[BlankEnum, ImpactEnum, Unset]:
ps_product=ps_product,
ps_component=ps_component,
trackers=trackers,
meta_attr=meta_attr,
delegated_resolution=delegated_resolution,
cvss_scores=cvss_scores,
embargoed=embargoed,
Expand All @@ -534,7 +512,6 @@ def get_fields():
"ps_product": str,
"ps_component": str,
"trackers": List[Tracker],
"meta_attr": AffectMetaAttr,
"delegated_resolution": str,
"cvss_scores": List[AffectCVSS],
"embargoed": bool,
Expand Down
17 changes: 0 additions & 17 deletions osidb_bindings/bindings/python_client/models/affect_bulk_put.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import attr
from dateutil.parser import isoparse

from ..models.affect_bulk_put_meta_attr import AffectBulkPutMetaAttr
from ..models.affect_cvss import AffectCVSS
from ..models.affectedness_enum import AffectednessEnum
from ..models.alert import Alert
Expand All @@ -26,7 +25,6 @@ class AffectBulkPut(OSIDBModel):
ps_product: str
ps_component: str
trackers: List[Tracker]
meta_attr: AffectBulkPutMetaAttr
delegated_resolution: str
cvss_scores: List[AffectCVSS]
embargoed: bool
Expand Down Expand Up @@ -54,10 +52,6 @@ def to_dict(self) -> Dict[str, Any]:

trackers.append(trackers_item)

meta_attr: Dict[str, Any] = UNSET
if not isinstance(self.meta_attr, Unset):
meta_attr = self.meta_attr.to_dict()

delegated_resolution = self.delegated_resolution
cvss_scores: List[Dict[str, Any]] = UNSET
if not isinstance(self.cvss_scores, Unset):
Expand Down Expand Up @@ -146,8 +140,6 @@ def to_dict(self) -> Dict[str, Any]:
field_dict["ps_component"] = ps_component
if not isinstance(trackers, Unset):
field_dict["trackers"] = trackers
if not isinstance(meta_attr, Unset):
field_dict["meta_attr"] = meta_attr
if not isinstance(delegated_resolution, Unset):
field_dict["delegated_resolution"] = delegated_resolution
if not isinstance(cvss_scores, Unset):
Expand Down Expand Up @@ -197,13 +189,6 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:

trackers.append(trackers_item)

_meta_attr = d.pop("meta_attr", UNSET)
meta_attr: AffectBulkPutMetaAttr
if isinstance(_meta_attr, Unset):
meta_attr = UNSET
else:
meta_attr = AffectBulkPutMetaAttr.from_dict(_meta_attr)

delegated_resolution = d.pop("delegated_resolution", UNSET)

cvss_scores = []
Expand Down Expand Up @@ -349,7 +334,6 @@ def _parse_impact(data: object) -> Union[BlankEnum, ImpactEnum, Unset]:
ps_product=ps_product,
ps_component=ps_component,
trackers=trackers,
meta_attr=meta_attr,
delegated_resolution=delegated_resolution,
cvss_scores=cvss_scores,
embargoed=embargoed,
Expand All @@ -373,7 +357,6 @@ def get_fields():
"ps_product": str,
"ps_component": str,
"trackers": List[Tracker],
"meta_attr": AffectBulkPutMetaAttr,
"delegated_resolution": str,
"cvss_scores": List[AffectCVSS],
"embargoed": bool,
Expand Down

This file was deleted.

Loading