Skip to content

Commit 0caf55b

Browse files
committed
gis-8085 Improve StrictPlatformException
1 parent 0d550b3 commit 0caf55b

File tree

1 file changed

+1
-1
lines changed
  • uncoder-core/app/translator/core/exceptions

1 file changed

+1
-1
lines changed

uncoder-core/app/translator/core/exceptions/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class StrictPlatformException(BasePlatformException):
1111
field_name = None
1212

1313
def __init__(
14-
self, platform_name: str, field_name: str, mapping: str = "default", detected_fields: Optional[list] = None
14+
self, platform_name: str, field_name: str, mapping: str = None, detected_fields: Optional[list] = None
1515
):
1616
message = (
1717
f"Platform {platform_name} has strict mapping. "

0 commit comments

Comments
 (0)