from typing import Sequence
from typing import Dict
from typing import Any


def bind_function_args(argument_names: Sequence[str], *args,
                       **kwargs) -> Dict[str, Any]:
  """Returns a dict with function arguments."""
  outputs = {}
  for k, val in zip(argument_names, args):
    outputs[k] = val
  outputs.update(**kwargs)
  return outputs