MCPcopy Create free account
hub / github.com/CloudPolis/webdav-client-python / is_valid

Method is_valid

webdav/connection.py:74–81  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

72 self.__dict__[key] = value
73
74 def is_valid(self):
75
76 if self.password and not self.login:
77 raise OptionNotValid(name="login", value=self.login, ns=self.ns)
78
79 if self.login or self.password:
80 if not self.hostname:
81 raise OptionNotValid(name="hostname", value=self.hostname, ns=self.ns)

Callers

nothing calls this directly

Calls 1

OptionNotValidClass · 0.85

Tested by

no test coverage detected