Human: Write me a Python program to get multiple fields from model. Assistant: 
Here is a Python program to get multiple fields from model

import json

def get_fields(model, field_names):
    """
    Get multiple fields from model.

    >>> model = {'a': 1, 'b': 2}
    >>> get_fields(model, ['a', 'b'])
    [1, 2]
    """
    return [model[name] for name in field_names]

# Enter the model
model = {'a': 1, 'b': 2}

# Calling the function
print((get_fields(model, ['a', 'b'])))

#Example Output
# [1, 2]

#Remember to inspect code for bugs.