mirror of
https://github.com/OMGeeky/pytiled_parser.git
synced 2025-12-26 17:02:28 +01:00
docs: updated properties.py docstrings
This commit is contained in:
@@ -28,14 +28,14 @@ class RawProperties(TypedDict):
|
||||
value: RawProperty
|
||||
|
||||
|
||||
def cast(raw_properties: List[RawProperties]) -> Dict[str, Property]:
|
||||
""" Cast raw properties into a dictionary of completed properly typed properties.
|
||||
def cast(raw_properties: List[RawProperties]) -> Properties:
|
||||
""" Cast a list of `RawProperties` into `Properties`
|
||||
|
||||
Args:
|
||||
raw_properties: The list of raw properties to cast.
|
||||
raw_properties: The list of `RawProperty`s to cast.
|
||||
|
||||
Returns:
|
||||
Dict[str, Property]: The completed dictionary of casted properties.
|
||||
Properties: The casted `Properties`.
|
||||
"""
|
||||
|
||||
final: Properties = {}
|
||||
|
||||
Reference in New Issue
Block a user