Skip to content

Commit

Permalink
Move Resource Config Selector to be accessible for inheritance (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tankilevitch authored Aug 14, 2023
1 parent f646e93 commit 0b08440
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions port_ocean/core/handlers/port_app_config/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ class MappingsConfig(BaseModel):
entity: Optional[MappingsConfig]


class ResourceConfig(BaseModel):
class Selector(BaseModel):
query: str
class Selector(BaseModel):
query: str


class ResourceConfig(BaseModel):
kind: str
selector: Selector
port: PortResourceConfig
Expand Down

0 comments on commit 0b08440

Please sign in to comment.