MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / __init__

Method __init__

thirdparty/clientform/clientform.py:1322–1337  ·  view source on GitHub ↗
(self, type, name, attrs, index=None)

Source from the content-addressed store, hash-verified

1320
1321 """
1322 def __init__(self, type, name, attrs, index=None):
1323 self._index = index
1324 self._label = _get_label(attrs)
1325 self.__dict__["type"] = type.lower()
1326 self.__dict__["name"] = name
1327 self._value = attrs.get("value")
1328 self.disabled = "disabled" in attrs
1329 self.readonly = "readonly" in attrs
1330 self.id = attrs.get("id")
1331
1332 self.attrs = attrs.copy()
1333
1334 self._clicked = False
1335
1336 self._urlparse = _urllib.parse.urlparse
1337 self._urlunparse = _urllib.parse.urlunparse
1338
1339 def __getattr__(self, name):
1340 if name == "value":

Callers

nothing calls this directly

Calls 3

_get_labelFunction · 0.85
getMethod · 0.45
copyMethod · 0.45

Tested by

no test coverage detected