<human>:  Python function to create object from dictionary vars.
<bot>: Here is a Python function to create objects from dictionary vars

import urllib.parse

def create_object(dictionary):
  """Creates an object from a dictionary."""
  return {key: value for key, value in list(dictionary.items())}

# Enter the dictionary
dictionary = {"name": "dahlia", "age": "23", "city": "Delhi"}

# Calling the function
object = create_object(dictionary)

# Printing the object
print(object)

#Example Output
# {'name': 'dahlia', 'age': '23', 'city': 'Delhi'}

#Remember to inspect code for bugs.