MCPcopy
hub / github.com/owtf/owtf / get

Method get

owtf/db/model_base.py:15–19  ·  view source on GitHub ↗
(cls, session, **kwargs)

Source from the content-addressed store, hash-verified

13
14 @classmethod
15 def get(cls, session, **kwargs):
16 instance = session.query(cls).filter_by(**kwargs).scalar()
17 if instance:
18 return instance
19 return None
20
21 @classmethod
22 def get_or_create(cls, session, **kwargs):

Callers 15

enable_loggingMethod · 0.45
deep_updateFunction · 0.45
multi_replaceFunction · 0.45
__init__Method · 0.45
load_general_configFunction · 0.45
config_gen_queryFunction · 0.45
update_config_valFunction · 0.45
url_gen_queryFunction · 0.45
poutput_gen_queryFunction · 0.45
update_poutputFunction · 0.45
get_pathMethod · 0.45

Calls

no outgoing calls

Tested by 1

get_by_codeMethod · 0.36