"""A basic (single function) API written using Hug"""
import hug


@hug.get('/happy_birthday')
def happy_birthday(name, age:hug.types.number, **kwargs):
    """Says happy birthday to a user"""
    return "Happy {age} Birthday {name}!".format(**locals())

"""A basic (single function) API written using Hug"""
import hug


@hug.get('/happy_birthday', example="name=HUG&page=1")
def happy_birthday(name, age:hug.types.number, **kwargs):
    """Says happy birthday to a user"""
    return "Happy {age} Birthday {name}!".format(**locals())

Add example argument, for direct url
Add example argument, for direct url

  """A basic (single function) API written using Hug"""
  import hug
  
  
- @hug.get('/happy_birthday')
+ @hug.get('/happy_birthday', example="name=HUG&page=1")
  def happy_birthday(name, age:hug.types.number, **kwargs):
      """Says happy birthday to a user"""
      return "Happy {age} Birthday {name}!".format(**locals())
  
Add example argument, for direct url
## Code Before:
"""A basic (single function) API written using Hug"""
import hug


@hug.get('/happy_birthday')
def happy_birthday(name, age:hug.types.number, **kwargs):
    """Says happy birthday to a user"""
    return "Happy {age} Birthday {name}!".format(**locals())

## Instruction:
Add example argument, for direct url
## Code After:
"""A basic (single function) API written using Hug"""
import hug


@hug.get('/happy_birthday', example="name=HUG&page=1")
def happy_birthday(name, age:hug.types.number, **kwargs):
    """Says happy birthday to a user"""
    return "Happy {age} Birthday {name}!".format(**locals())
