Skip to content

Commit

Permalink
fix: import validator for components with pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuochi committed Mar 20, 2023
1 parent 6dca461 commit e168f25
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Sonarr API docs
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 3.0.0
- Package version: 0.5.1
- Package version: 0.6.0
- Build package: org.openapitools.codegen.languages.PythonNextgenClientCodegen

## Requirements.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[project]
name = "sonarr-py"
version = "0.5.0"
version = "0.6.0"
dependencies = [
"urllib3 >= 1.25.3",
"python-dateutil",
Expand Down
2 changes: 1 addition & 1 deletion sonarr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

from __future__ import absolute_import

__version__ = "0.5.1"
__version__ = "0.6.0"

# import apis into sdk package
from sonarr.api.api_info_api import ApiInfoApi
Expand Down
2 changes: 1 addition & 1 deletion sonarr/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 3.0.0\n"\
"SDK Package Version: 0.5.1".\
"SDK Package Version: 0.6.0".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
2 changes: 1 addition & 1 deletion sonarr/models/command_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

from datetime import datetime
from typing import Optional
from pydantic import BaseModel
from pydantic import BaseModel, validator
from sonarr.models.command import Command
from sonarr.models.command_priority import CommandPriority
from sonarr.models.command_status import CommandStatus
Expand Down
2 changes: 1 addition & 1 deletion sonarr/models/import_list_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


from typing import List, Optional
from pydantic import BaseModel
from pydantic import BaseModel, validator
from sonarr.models.field import Field
from sonarr.models.import_list_type import ImportListType
from sonarr.models.monitor_types import MonitorTypes
Expand Down
2 changes: 1 addition & 1 deletion sonarr/models/queue_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

from datetime import datetime
from typing import List, Optional
from pydantic import BaseModel
from pydantic import BaseModel, validator
from sonarr.models.custom_format_resource import CustomFormatResource
from sonarr.models.download_protocol import DownloadProtocol
from sonarr.models.episode_resource import EpisodeResource
Expand Down
2 changes: 1 addition & 1 deletion sonarr/models/task_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

from datetime import datetime
from typing import Optional
from pydantic import BaseModel
from pydantic import BaseModel, validator

class TaskResource(BaseModel):
"""NOTE: This class is auto generated by OpenAPI Generator.
Expand Down

0 comments on commit e168f25

Please sign in to comment.