def merge(x, y):
    """Given two dictionaries, merge them into a new dict as a shallow copy."""
    z = x.copy()
    z.update(y)
    return z
Given two dictionaries, merge them into a new dict as a shallow copy.
web_console_v2/api/fedlearner_webconsole/job/models.py