Skip to content

Commit

Permalink
More type annotations.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nusiq committed Jun 9, 2024
1 parent 09ac939 commit 6359ec0
Show file tree
Hide file tree
Showing 19 changed files with 771 additions and 499 deletions.
7 changes: 4 additions & 3 deletions mcblend/object_data.pyi
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
from __future__ import annotations
from typing import Dict, List, Literal, Tuple
from typing import Dict, List, Tuple, Any
from enum import Enum
from bpy.types import Context, PropertyGroup
from .operator_func.pyi_types import CollectionProperty
from .common_data import MCBLEND_JustName
from .operator_func.common import ModelOriginType

# Animation properties
class EffectTypes(Enum):
Expand Down Expand Up @@ -34,7 +33,9 @@ class MCBLEND_EventProperties(PropertyGroup):
name: str
effects: CollectionProperty[MCBLEND_EffectProperties]

def get_effects_dict(self) -> Tuple[List[Dict], List[Dict]]: ...
def get_effects_dict(
self
) -> Tuple[List[Dict[Any, Any]], List[Dict[Any, Any]]]: ...

class MCBLEND_TimelineMarkerProperties(PropertyGroup):
name: str
Expand Down
Loading

0 comments on commit 6359ec0

Please sign in to comment.