Skip to content

Commit 00aa6f9

Browse files
Correct MemoryFormat.set() Parameter Type Annotation
The type annotation on the parameter for MemoryFormat.set() was previously set to EngineLiteral. This change corrects the type annotation to MemoryFormatLiteral
1 parent d425c50 commit 00aa6f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

awswrangler/_distributed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def get(cls) -> MemoryFormatEnum:
177177
return cls._enum if cls._enum else cls.get_installed()
178178

179179
@classmethod
180-
def set(cls, name: EngineLiteral) -> None:
180+
def set(cls, name: MemoryFormatLiteral) -> None:
181181
"""Set the memory format."""
182182
with cls._lock:
183183
cls._enum = MemoryFormatEnum[name.upper()]

0 commit comments

Comments
 (0)