Skip to content

Commit

Permalink
deepcopy args in method calls
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Beck committed Jun 16, 2020
1 parent 765c2de commit 614f0b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/dbt/rpc/method.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import inspect
from abc import abstractmethod
from copy import deepcopy
from typing import List, Optional, Type, TypeVar, Generic, Dict, Any

from hologram import JsonSchemaMixin, ValidationError
Expand All @@ -20,7 +21,7 @@ class RemoteMethod(Generic[Parameters, Result]):
METHOD_NAME: Optional[str] = None

def __init__(self, args, config):
self.args = args
self.args = deepcopy(args)
self.config = config

@classmethod
Expand Down

0 comments on commit 614f0b4

Please sign in to comment.