@@ -103,7 +103,7 @@ def __init__(self, stix_data=None, allow_custom=False, version=None):
103103 sink = MemorySink (stix_data = self ._data , allow_custom = allow_custom , version = version , _store = True )
104104 )
105105
106- def save_to_file (self , file_path , allow_custom = False ):
106+ def save_to_file (self , * args , ** kwargs ):
107107 """Write SITX objects from in-memory dictionary to JSON file, as a STIX
108108 Bundle.
109109
@@ -113,9 +113,9 @@ def save_to_file(self, file_path, allow_custom=False):
113113 not. Default: False.
114114
115115 """
116- return self .sink .save_to_file (file_path = file_path , allow_custom = allow_custom )
116+ return self .sink .save_to_file (* args , ** kwargs )
117117
118- def load_from_file (self , file_path , allow_custom = False , version = None ):
118+ def load_from_file (self , * args , ** kwargs ):
119119 """Load STIX data from JSON file.
120120
121121 File format is expected to be a single JSON
@@ -129,7 +129,7 @@ def load_from_file(self, file_path, allow_custom=False, version=None):
129129 None, use latest version.
130130
131131 """
132- return self .source .load_from_file (file_path = file_path , allow_custom = allow_custom , version = version )
132+ return self .source .load_from_file (* args , ** kwargs )
133133
134134
135135class MemorySink (DataSink ):
0 commit comments