Skip to content

Commit 9b84384

Browse files
Correct MemoryFormat.set() Parameter Type Annotation (#3221)
The type annotation on the parameter for MemoryFormat.set() was previously set to EngineLiteral. This change corrects the type annotation to MemoryFormatLiteral Co-authored-by: Anton Kukushkin <[email protected]>
1 parent f5980f2 commit 9b84384

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)