MCPcopy Create free account
hub / github.com/bugy/script-server / __init__

Method __init__

src/auth/auth_ldap.py:242–244  ·  view source on GitHub ↗
(self, template, *variables)

Source from the content-addressed store, hash-verified

240
241class SearchRequest:
242 def __init__(self, template, *variables) -> None:
243 escaped_vars = [escape_filter_chars(var) for var in variables]
244 self.search_string = template % tuple(escaped_vars)
245
246 def as_search_string(self):
247 return self.search_string

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected