title: how to pass additional argument along with *args in Python
body: <p>I have a function that takes *arg and an additional positional argument. but when calling this function I am getting below error. Any help how to pass this additional argument</p>
  <pre><code>**error**:
  export_bundle() missing 1 required keyword-only argument: 'dict'
  </code></pre>
  <pre><code>from stix2 import MemoryStore, Identity
  import datetime
  
  timestamp = datetime.datetime.today().strftime('%Y-%m-%d-%H:%M:%S')
  
  id1 = Identity(
      name=&quot;John Smith&quot;,
      identity_class=&quot;individual&quot;,
      description=&quot;Just some guy&quot;,
  )
  id2 = Identity(
      name=&quot;John Smith&quot;,
      identity_class=&quot;individual&quot;,
      description=&quot;A person&quot;,
  )
  
  dict= {&quot;id&quot;:1234, &quot;name&quot;:&quot;abd&quot;}
  
  def export_bundle(self, *args, dict):
     mem = MemoryStore()
     for sdo in args:
        mem.add([sdo])
     mem.save_to_file(self.output_location + str(dict['id']) + timestamp+ '.json')
      del mem
  
  export_bundle(id1, id2, dict)
  </code></pre>