Skip to content

Commit

Permalink
feat: add centralized platform
Browse files Browse the repository at this point in the history
  • Loading branch information
gianlucapagliara committed Jan 11, 2025
1 parent c85db20 commit 5a1d8ae
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions financepype/platforms/centralized.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
from pydantic import Field

from financepype.platforms.platform import Platform


class CentralizedPlatform(Platform):
"""A centralized platform that is a single entity.
Attributes:
sub_identifier (str | None): The sub-identifier for the platform
"""

sub_identifier: str | None = Field(
default=None,
description="The sub-identifier for the platform",
)

0 comments on commit 5a1d8ae

Please sign in to comment.