Skip to content

Commit

Permalink
* Fixed flake error due to missing definition of FrameIntent
Browse files Browse the repository at this point in the history
Signed-off-by: apetrynet <[email protected]>
  • Loading branch information
apetrynet committed Mar 2, 2024
1 parent e2b2720 commit 32b19f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pyfdl/canvas.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from typing import Union, Tuple, Type

from pyfdl import Base, DimensionsInt, Point, DimensionsFloat, FramingDecision, TypedCollection
from pyfdl import Base, DimensionsInt, Point, DimensionsFloat, FramingDecision, TypedCollection, FramingIntent
from pyfdl.errors import FDLError


Expand Down Expand Up @@ -55,7 +55,7 @@ def __init__(
self.anamorphic_squeeze = anamorphic_squeeze
self.framing_decisions = framing_decisions or TypedCollection(FramingDecision)

def place_framing_intent(self, framing_intent: Type['FramingIntent']) -> str:
def place_framing_intent(self, framing_intent: FramingIntent) -> str:
"""Create a new [FramingDecision](framing_decision.md#Framing Decision) based on the provided
[FramingIntent](framing_intent.md#Framing Intent) and add it to the
collection of framing decisions.
Expand Down

0 comments on commit 32b19f1

Please sign in to comment.