<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def shell(source=None, vars=None, server=None, port=None):
 """Start a shell sourcing source or using vars as locals"""

    Wdb.get(server=server, port=port).shell(source=source, vars=vars)