Benign python Download

pydoptic-sql 0.0.2.post1.dev2

“A type-safe SQL query builder built on pydoptic”

Builds SQL with Python f-string interpolationCalls Python __getattribute__ directly

Evidence

Builds SQL with Python f-string interpolation sql_query.py · lines 213–218
213:23… e = _order_by_sql(self._order_by, qualify=False)
214 return f'SELECT {selections} FROM {self.table1.__name__.lower()}{where_clause}{group_by_clause}{order_by_clause};'
215
216 def to_sql_params(self) -> Tuple[str, List[Any]]:
217 selection = self._resolved_selection()
218 assert len(sele …
DROP SQL object syntax reference sql_query.py · lines 336–344
336:5… _model: Type[TC]
337
338 def to_sql(self) -> str:
339 return f'DROP TABLE {self._model.__name__.lower()};'
340
341 def to_sql_params(self) -> Tuple[str, List[Any]]:
342 return self.to_sql(), []
343
344def _ …
Calls Python __getattribute__ directly sql_computed.py · lines 35–43
35:2… return isinstance(other, ComputedResult) and self._dict == other._dict
36
37 def __getattr__(self, item: str) -> Any:
38 try:
39 return object.__getattribute__(self, '_dict')[item]
40 except KeyError:
41 raise AttributeError(item)
42
43 def as_dict(self) -> Mapping[str, Any …

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.