Skip to content

Commit

Permalink
perf: Ensure raw_schema in stream mapper is immutable (#1962)
Browse files Browse the repository at this point in the history
  • Loading branch information
pnadolny13 authored Sep 15, 2023
1 parent 97d97de commit 0da7a56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion singer_sdk/mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def __init__(
flattening_options: Flattening options, or None to skip flattening.
"""
self.stream_alias = stream_alias
self.raw_schema = raw_schema
self.raw_schema = copy.deepcopy(raw_schema)
self.raw_key_properties = key_properties
self.transformed_schema = raw_schema
self.transformed_key_properties = key_properties
Expand Down

0 comments on commit 0da7a56

Please sign in to comment.