Skip to content

Commit

Permalink
Merge pull request #42 from devopsarr/feature/code-generation
Browse files Browse the repository at this point in the history
build: move dependencies to tagged versions
  • Loading branch information
devopsarr[bot] committed Feb 5, 2024
2 parents 2d5ae48 + 5b61af1 commit 356c4ad
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 51 deletions.
2 changes: 0 additions & 2 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ docs/NotificationApi.md
docs/NotificationResource.md
docs/PingApi.md
docs/PingResource.md
docs/PrivacyLevel.md
docs/ProviderMessage.md
docs/ProviderMessageType.md
docs/ProxyType.md
Expand Down Expand Up @@ -195,7 +194,6 @@ prowlarr/models/movie_search_param.py
prowlarr/models/music_search_param.py
prowlarr/models/notification_resource.py
prowlarr/models/ping_resource.py
prowlarr/models/privacy_level.py
prowlarr/models/provider_message.py
prowlarr/models/provider_message_type.py
prowlarr/models/proxy_type.py
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,6 @@ Class | Method | HTTP request | Description
- [MusicSearchParam](docs/MusicSearchParam.md)
- [NotificationResource](docs/NotificationResource.md)
- [PingResource](docs/PingResource.md)
- [PrivacyLevel](docs/PrivacyLevel.md)
- [ProviderMessage](docs/ProviderMessage.md)
- [ProviderMessageType](docs/ProviderMessageType.md)
- [ProxyType](docs/ProxyType.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/AppProfileResource.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ Name | Type | Description | Notes
**id** | **int** | | [optional]
**name** | **str** | | [optional]
**enable_rss** | **bool** | | [optional]
**enable_automatic_search** | **bool** | | [optional]
**enable_interactive_search** | **bool** | | [optional]
**enable_automatic_search** | **bool** | | [optional]
**minimum_seeders** | **int** | | [optional]

## Example
Expand Down
1 change: 0 additions & 1 deletion docs/Field.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ Name | Type | Description | Notes
**select_options_provider_action** | **str** | | [optional]
**section** | **str** | | [optional]
**hidden** | **str** | | [optional]
**privacy** | [**PrivacyLevel**](PrivacyLevel.md) | | [optional]
**placeholder** | **str** | | [optional]
**is_float** | **bool** | | [optional]

Expand Down
1 change: 0 additions & 1 deletion prowlarr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@
from prowlarr.models.music_search_param import MusicSearchParam
from prowlarr.models.notification_resource import NotificationResource
from prowlarr.models.ping_resource import PingResource
from prowlarr.models.privacy_level import PrivacyLevel
from prowlarr.models.provider_message import ProviderMessage
from prowlarr.models.provider_message_type import ProviderMessageType
from prowlarr.models.proxy_type import ProxyType
Expand Down
1 change: 0 additions & 1 deletion prowlarr/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
from prowlarr.models.music_search_param import MusicSearchParam
from prowlarr.models.notification_resource import NotificationResource
from prowlarr.models.ping_resource import PingResource
from prowlarr.models.privacy_level import PrivacyLevel
from prowlarr.models.provider_message import ProviderMessage
from prowlarr.models.provider_message_type import ProviderMessageType
from prowlarr.models.proxy_type import ProxyType
Expand Down
6 changes: 3 additions & 3 deletions prowlarr/models/app_profile_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ class AppProfileResource(BaseModel):
id: Optional[int]
name: Optional[str]
enable_rss: Optional[bool]
enable_automatic_search: Optional[bool]
enable_interactive_search: Optional[bool]
enable_automatic_search: Optional[bool]
minimum_seeders: Optional[int]
__properties = ["id", "name", "enableRss", "enableAutomaticSearch", "enableInteractiveSearch", "minimumSeeders"]
__properties = ["id", "name", "enableRss", "enableInteractiveSearch", "enableAutomaticSearch", "minimumSeeders"]

class Config:
allow_population_by_field_name = True
Expand Down Expand Up @@ -80,8 +80,8 @@ def from_dict(cls, obj: dict) -> AppProfileResource:
"id": obj.get("id"),
"name": obj.get("name"),
"enable_rss": obj.get("enableRss"),
"enable_automatic_search": obj.get("enableAutomaticSearch"),
"enable_interactive_search": obj.get("enableInteractiveSearch"),
"enable_automatic_search": obj.get("enableAutomaticSearch"),
"minimum_seeders": obj.get("minimumSeeders")
})
return _obj
Expand Down
5 changes: 1 addition & 4 deletions prowlarr/models/field.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

from typing import Any, ClassVar, Dict, List, Optional
from pydantic import BaseModel
from prowlarr.models.privacy_level import PrivacyLevel
from prowlarr.models.select_option import SelectOption

class Field(BaseModel):
Expand All @@ -42,10 +41,9 @@ class Field(BaseModel):
select_options_provider_action: Optional[str]
section: Optional[str]
hidden: Optional[str]
privacy: Optional[PrivacyLevel]
placeholder: Optional[str]
is_float: Optional[bool]
__properties = ["order", "name", "label", "unit", "helpText", "helpTextWarning", "helpLink", "value", "type", "advanced", "selectOptions", "selectOptionsProviderAction", "section", "hidden", "privacy", "placeholder", "isFloat"]
__properties = ["order", "name", "label", "unit", "helpText", "helpTextWarning", "helpLink", "value", "type", "advanced", "selectOptions", "selectOptionsProviderAction", "section", "hidden", "placeholder", "isFloat"]

class Config:
allow_population_by_field_name = True
Expand Down Expand Up @@ -159,7 +157,6 @@ def from_dict(cls, obj: dict) -> Field:
"select_options_provider_action": obj.get("selectOptionsProviderAction"),
"section": obj.get("section"),
"hidden": obj.get("hidden"),
"privacy": obj.get("privacy"),
"placeholder": obj.get("placeholder"),
"is_float": obj.get("isFloat")
})
Expand Down
37 changes: 0 additions & 37 deletions prowlarr/models/privacy_level.py

This file was deleted.

0 comments on commit 356c4ad

Please sign in to comment.