def connect(self, action=None, method=None, **kwargs):
return self.nest(Connect(action=action, method=method, **kwargs))<EOL>
Create a <Connect> element

:param action: Action URL
:param method: Action URL method
:param kwargs: additional attributes

:returns: <Connect> element