MCPcopy Create free account
hub / github.com/daniel2005d/mapXplore / Query

Class Query

model/query.py:1–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1class Query:
2 def __init__(self, **kwargs) -> None:
3 self._sentence = None
4 self._word = None
5 self._tablename = None
6 for arg in kwargs.keys():
7 setattr(self, f"_{arg}", kwargs[arg])
8
9 @property
10 def sentence(self):
11 return self._sentence
12
13 @property
14 def word(self):
15 return self._word
16
17 @property
18 def tablename(self):
19 return self._tablename

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected