function stringlengths 11 56k | repo_name stringlengths 5 60 | features list |
|---|---|---|
def get(
self,
location: str,
gallery_unique_name: str,
**kwargs: Any | Azure/azure-sdk-for-python | [
3526,
2256,
3526,
986,
1335285972
] |
def cleanUpName(aName):
bName = ''
aName = aName.upper()
## ii = aName.find(" - Homo sapiens (human)")
ii = aName.find(" - HOMO SAPIENS (HUMAN)")
if (ii >= 0):
aName = aName[:ii]
aName = aName.strip()
ii = aName.find("(")
while (ii >= 0):
jj = aName.find(")", ii)
... | cancerregulome/gidget | [
6,
3,
6,
11,
1383861509
] |
def readPathways():
fh = file(
gidgetConfigVars['TCGAFMP_BIOINFORMATICS_REFERENCES'] + "/nci_pid/only_NCI_Nature_ver4.tab", 'r')
pwDict = {}
for aLine in fh:
aLine = aLine.strip()
aLine = aLine.upper()
tokenList = aLine.split('\t')
if (len(tokenList) != 3):
... | cancerregulome/gidget | [
6,
3,
6,
11,
1383861509
] |
def setFeatBits(rowLabels, featPrefix, doesContainList, notContainList):
numSet = 0
numRow = len(rowLabels)
bitVec = numpy.zeros(numRow, dtype=numpy.bool)
for iR in range(numRow):
if (featPrefix != ""):
if (not rowLabels[iR].startswith(featPrefix)): continue
if (len(does... | cancerregulome/gidget | [
6,
3,
6,
11,
1383861509
] |
def makeNewFeatureName(curFeatName, oldStringList, newStringList):
for jj in range(len(oldStringList)):
oldStr = oldStringList[jj]
newStr = newStringList[jj]
i1 = curFeatName.find(oldStr)
if ( i1 >= 0 ):
i2 = i1 + len(oldStr)
newFeatName = curFeatName[:i1] +... | cancerregulome/gidget | [
6,
3,
6,
11,
1383861509
] |
def chooseCountThreshold(dataD):
rowLabels = dataD['rowLabels']
dMat = dataD['dataMatrix']
numBits = 0
for ii in range(len(rowLabels)):
if (numBits > 0):
continue
if (rowLabels[ii].find("B:GNAB:TP53:") >= 0):
for jj in range(len(dMat[ii])):
if (d... | cancerregulome/gidget | [
6,
3,
6,
11,
1383861509
] |
def findFeature ( rowLabels, s1, s2 ):
for iR in range(len(rowLabels)):
if ( rowLabels[iR].find(s1) >= 0 ):
if ( rowLabels[iR].find(s2) >= 0 ):
return ( iR )
return ( -1 ) | cancerregulome/gidget | [
6,
3,
6,
11,
1383861509
] |
def pathwayGnab(dataD, pathways={}):
print " "
print " ************************************************************* "
print " ************************************************************* "
print " "
print " in pathwayGnab ... "
# check that the input feature matrix looks ok ...
try:
... | cancerregulome/gidget | [
6,
3,
6,
11,
1383861509
] |
def driverGnab(dataD, driverList):
print " "
print " ************************************************************* "
print " ************************************************************* "
print " "
print " in driverGnab ... "
# check that the input feature matrix looks ok ...
try:
... | cancerregulome/gidget | [
6,
3,
6,
11,
1383861509
] |
def combineGnabCnvr(dataD):
print " "
print " ************************************************************* "
print " ************************************************************* "
print " "
print " in combineGnabCnvr ... "
# check that the input feature matrix looks ok ...
try:
n... | cancerregulome/gidget | [
6,
3,
6,
11,
1383861509
] |
def to_json(self):
"""
Encodes a Collection as a json representation so it can be sent through the bitmessage network
:return: the json representation of the given Collection
"""
json_docs = []
for doc in self.documents:
json_docs.append({"address": doc.collec... | FreeJournal/freejournal | [
8,
2,
8,
4,
1423190010
] |
def loop_call(delta=60 * 1000):
def wrap_loop(func):
@wraps(func)
def wrap_func(*args, **kwargs):
func(*args, **kwargs)
tornado.ioloop.IOLoop.instance().add_timeout(
datetime.timeelta(milliseconds=delta),
wrap_func)
return wrap_func
... | cloudaice/simple-data | [
93,
31,
93,
4,
1368439478
] |
def wrap_loop(func):
@wraps(func)
@gen.coroutine
def wrap_func(*args, **kwargs):
options.logger.info("function %r start at %d" %
(func.__name__, int(time.time())))
try:
yield func(*args, **kwargs)
except Exceptio... | cloudaice/simple-data | [
93,
31,
93,
4,
1368439478
] |
def __init__(self, url, **kwargs):
super(TornadoDataRequest, self).__init__(url, **kwargs)
self.auth_username = options.username
self.auth_password = options.password
self.user_agent = "Tornado-data" | cloudaice/simple-data | [
93,
31,
93,
4,
1368439478
] |
def GetPage(url):
client = AsyncHTTPClient()
request = TornadoDataRequest(url, method='GET')
try:
response = yield client.fetch(request)
except HTTPError, e:
response = e
raise gen.Return(response) | cloudaice/simple-data | [
93,
31,
93,
4,
1368439478
] |
def PutPage(url, body):
client = AsyncHTTPClient()
request = TornadoDataRequest(url, method='PUT', body=body)
try:
response = yield client.fetch(request)
except HTTPError, e:
response = e
raise gen.Return(response) | cloudaice/simple-data | [
93,
31,
93,
4,
1368439478
] |
def PatchPage(url, body):
client = AsyncHTTPClient.configurable_default()()
request = TornadoDataRequest(url, method="PATCH", body=body)
try:
response = yield client.fetch(request)
except HTTPError, e:
response = e
raise gen.Return(response) | cloudaice/simple-data | [
93,
31,
93,
4,
1368439478
] |
def commit(url, message, data):
resp = yield GetPage(url)
if resp.code == 200:
resp = escape.json_decode(resp.body)
sha = resp["sha"]
body = json.dumps({
"message": message,
"content": base64.b64encode(json.dumps(data)),
"committer": {"name": "cloudaic... | cloudaice/simple-data | [
93,
31,
93,
4,
1368439478
] |
def hide():
"""Hide the cursor using ANSI escape codes."""
sys.stdout.write("\033[?25l")
sys.stdout.flush() | pa-pyrus/papatcher | [
4,
2,
4,
1,
1401601700
] |
def show():
"""Show the cursor using ANSI escape codes."""
sys.stdout.write("\033[?25h")
sys.stdout.flush() | pa-pyrus/papatcher | [
4,
2,
4,
1,
1401601700
] |
def shown():
"""Show the cursor within a context."""
Cursor.show()
yield
Cursor.hide() | pa-pyrus/papatcher | [
4,
2,
4,
1,
1401601700
] |
def __init__(self):
self.last_fraction = None | pa-pyrus/papatcher | [
4,
2,
4,
1,
1401601700
] |
def __init__(self, ubername, password, threads, ratelimit):
"""
Initialize the patcher with UberNet credentials. They will be used to
login, check for and retrieve patches.
"""
self.credentials = dumps({"TitleId": 4,
"AuthMethod": "UberCredential... | pa-pyrus/papatcher | [
4,
2,
4,
1,
1401601700
] |
def get_streams(self):
"""
Request and return a list of streams we can download from UberNet.
"""
# we can't continue without a session ticket
if not hasattr(self, "_session"):
return None
headers = {"X-Authorization": self._session}
# we no longer ne... | pa-pyrus/papatcher | [
4,
2,
4,
1,
1401601700
] |
def _verify_manifest(self, full):
if not hasattr(self, "_stream") or not hasattr(self, "_manifest"):
return False
# clean up cache in the process
cache_dir = CACHE_DIR / self._stream["StreamName"]
print("* Verifying contents of cache folder {0}.".format(
str(cach... | pa-pyrus/papatcher | [
4,
2,
4,
1,
1401601700
] |
def patch(self):
if not hasattr(self, "_bundles"):
return False
with futures.ThreadPoolExecutor(max_workers=self.threads) as executor:
bundle_futures = list()
# download bundles sorted by size
self._bundles.sort(key=lambda bundle: int(bundle["size"]),
... | pa-pyrus/papatcher | [
4,
2,
4,
1,
1401601700
] |
def _extract_bundle(self, bundle):
if not hasattr(self, "_stream"):
return False
bundle_checksum = bundle["checksum"]
cache_file = CACHE_DIR / self._stream["StreamName"] / bundle_checksum
# open cache file with gzip
with cache_file.open("rb") as cache_fp:
... | pa-pyrus/papatcher | [
4,
2,
4,
1,
1401601700
] |
def __init__(self, CP, CarController, CarState):
self.CP = CP
self.VM = VehicleModel(CP)
self.frame = 0
self.steering_unpressed = 0
self.low_speed_alert = False
self.silent_steer_warning = True
if CarState is not None:
self.CS = CarState(CP)
self.cp = self.CS.get_can_parser(CP)... | commaai/openpilot | [
38913,
7077,
38913,
364,
1479951210
] |
def get_pid_accel_limits(CP, current_speed, cruise_speed):
return ACCEL_MIN, ACCEL_MAX | commaai/openpilot | [
38913,
7077,
38913,
364,
1479951210
] |
def get_params(candidate, fingerprint=gen_empty_fingerprint(), car_fw=None):
pass | commaai/openpilot | [
38913,
7077,
38913,
364,
1479951210
] |
def init(CP, logcan, sendcan):
pass | commaai/openpilot | [
38913,
7077,
38913,
364,
1479951210
] |
def get_steer_feedforward_default(desired_angle, v_ego):
# Proportional to realigning tire momentum: lateral acceleration.
# TODO: something with lateralPlan.curvatureRates
return desired_angle * (v_ego**2) | commaai/openpilot | [
38913,
7077,
38913,
364,
1479951210
] |
def get_steer_feedforward_function(cls):
return cls.get_steer_feedforward_default | commaai/openpilot | [
38913,
7077,
38913,
364,
1479951210
] |
def get_std_params(candidate, fingerprint):
ret = car.CarParams.new_message()
ret.carFingerprint = candidate
ret.unsafeMode = 0 # see panda/board/safety_declarations.h for allowed values
# standard ALC params
ret.steerControlType = car.CarParams.SteerControlType.torque
ret.steerMaxBP = [0.]
... | commaai/openpilot | [
38913,
7077,
38913,
364,
1479951210
] |
def update(self, c: car.CarControl, can_strings: List[bytes]) -> car.CarState:
pass | commaai/openpilot | [
38913,
7077,
38913,
364,
1479951210
] |
def apply(self, c: car.CarControl) -> Tuple[car.CarControl.Actuators, List[bytes]]:
pass | commaai/openpilot | [
38913,
7077,
38913,
364,
1479951210
] |
def __init__(self, CP):
self.pts = {}
self.delay = 0
self.radar_ts = CP.radarTimeStep
self.no_radar_sleep = 'NO_RADAR_SLEEP' in os.environ | commaai/openpilot | [
38913,
7077,
38913,
364,
1479951210
] |
def __init__(self, CP):
self.CP = CP
self.car_fingerprint = CP.carFingerprint
self.out = car.CarState.new_message()
self.cruise_buttons = 0
self.left_blinker_cnt = 0
self.right_blinker_cnt = 0
self.left_blinker_prev = False
self.right_blinker_prev = False
# Q = np.matrix([[10.0, 0.... | commaai/openpilot | [
38913,
7077,
38913,
364,
1479951210
] |
def get_wheel_speeds(self, fl, fr, rl, rr, unit=CV.KPH_TO_MS):
factor = unit * self.CP.wheelSpeedFactor
wheelSpeeds = car.CarState.WheelSpeeds.new_message()
wheelSpeeds.fl = fl * factor
wheelSpeeds.fr = fr * factor
wheelSpeeds.rl = rl * factor
wheelSpeeds.rr = rr * factor
return wheelSpeeds | commaai/openpilot | [
38913,
7077,
38913,
364,
1479951210
] |
def update_blinker_from_stalk(self, blinker_time: int, left_blinker_stalk: bool, right_blinker_stalk: bool):
"""Update blinkers from stalk position. When stalk is seen the blinker will be on for at least blinker_time,
or until the stalk is turned off, whichever is longer. If the opposite stalk direction is seen... | commaai/openpilot | [
38913,
7077,
38913,
364,
1479951210
] |
def parse_gear_shifter(gear: str) -> car.CarState.GearShifter:
d: Dict[str, car.CarState.GearShifter] = {
'P': GearShifter.park, 'R': GearShifter.reverse, 'N': GearShifter.neutral,
'E': GearShifter.eco, 'T': GearShifter.manumatic, 'D': GearShifter.drive,
'S': GearShifter.sport, 'L': GearShif... | commaai/openpilot | [
38913,
7077,
38913,
364,
1479951210
] |
def get_cam_can_parser(CP):
return None | commaai/openpilot | [
38913,
7077,
38913,
364,
1479951210
] |
def get_body_can_parser(CP):
return None | commaai/openpilot | [
38913,
7077,
38913,
364,
1479951210
] |
def blocked_re(self):
return re.compile(u'({})'.format(u'|'.join(
map(re.escape, self.blocked_tokens) +
map(lambda k: u'\\b{}\\b'.format(re.escape(k)), self.blocked_words)
)), re.I + re.U) | ThaTiemsz/jetski | [
15,
9,
15,
22,
1496860309
] |
def __init__(self, reason, event, ctx):
self.reason = reason
self.event = event
self.ctx = ctx
self.content = S(event.content, escape_codeblocks=True) | ThaTiemsz/jetski | [
15,
9,
15,
22,
1496860309
] |
def details(self):
if self.reason is CensorReason.INVITE:
if self.ctx['guild']:
return u'invite `{}` to {}'.format(
self.ctx['invite'],
S(self.ctx['guild']['name'], escape_codeblocks=True)
)
else:
ret... | ThaTiemsz/jetski | [
15,
9,
15,
22,
1496860309
] |
def compute_relevant_configs(self, event, author):
if event.channel_id in event.config.channels:
yield event.config.channels[event.channel.id]
if event.config.levels:
user_level = int(self.bot.plugins.get('CorePlugin').get_level(event.guild, author))
for level, conf... | ThaTiemsz/jetski | [
15,
9,
15,
22,
1496860309
] |
def on_message_update(self, event):
try:
msg = Message.get(id=event.id)
except Message.DoesNotExist:
self.log.warning('Not censoring MessageUpdate for id %s, %s, no stored message', event.channel_id, event.id)
return
if not event.content:
return
... | ThaTiemsz/jetski | [
15,
9,
15,
22,
1496860309
] |
def on_message_create(self, event, author=None):
author = author or event.author
if author.id == self.state.me.id:
return
if event.webhook_id:
return
configs = list(self.compute_relevant_configs(event, author))
if not configs:
return
... | ThaTiemsz/jetski | [
15,
9,
15,
22,
1496860309
] |
def filter_invites(self, event, config):
invites = INVITE_LINK_RE.findall(event.content)
for _, invite in invites:
invite_info = self.get_invite_info(invite)
need_whitelist = (
config.invites_guild_whitelist or
(config.invites_whitelist or not co... | ThaTiemsz/jetski | [
15,
9,
15,
22,
1496860309
] |
def get_trace_name(self, source_entities, brief):
return "Preprocess file" | aqualid/aqualid | [
5,
3,
5,
10,
1414322110
] |
def get_trace_targets(self, target_entities, brief):
return None | aqualid/aqualid | [
5,
3,
5,
10,
1414322110
] |
def build(self, source_entities, targets):
src_file = source_entities[0].get()
empty_re = re.compile(r'^\s*\r*\n', re.MULTILINE)
slash_re = re.compile(r'\\\r*\n', re.MULTILINE)
comments_re = re.compile(r"^\s*#.*$", re.MULTILINE)
all_stmt_re = re.compile(
r"^__all__\s... | aqualid/aqualid | [
5,
3,
5,
10,
1414322110
] |
def __init__(self, options, target):
self.target = self.get_target_path(target, ext='.py') | aqualid/aqualid | [
5,
3,
5,
10,
1414322110
] |
def get_target_entities(self, source_entities):
return self.target | aqualid/aqualid | [
5,
3,
5,
10,
1414322110
] |
def get_trace_sources(self, source_entities, brief):
return (os.path.basename(src.name) for src in source_entities) | aqualid/aqualid | [
5,
3,
5,
10,
1414322110
] |
def replace(self, options, source_entities):
finder = aql.FindFilesBuilder(options,
mask='*.py',
exclude_mask="__init__.py")
core_files = aql.Node(finder, source_entities)
return aql.Node(AqlPreprocess(options), core_fi... | aqualid/aqualid | [
5,
3,
5,
10,
1414322110
] |
def _mod_to_files(file2deps, modules):
mod2files = {}
for mod in modules:
files = set()
for file in file2deps:
if file.find(mod) != -1:
files.add(file)
mod2files[mod] = files
return mod2files | aqualid/aqualid | [
5,
3,
5,
10,
1414322110
] |
def _get_dep_to_files(file2deps, mod2files):
dep2files = {}
tmp_file2deps = {}
for file, mods in file2deps.items():
for mod in mods:
files = mod2files[mod]
tmp_file2deps.setdefault(file, set()).update(files)
for f in files:
... | aqualid/aqualid | [
5,
3,
5,
10,
1414322110
] |
def _get_content(files_content, dep2files, file2deps, tails):
content = ""
while tails:
tail = tails.pop(0)
content += files_content[tail]
files = dep2files.pop(tail, [])
for file in files:
deps = file2deps[file]
deps.rem... | aqualid/aqualid | [
5,
3,
5,
10,
1414322110
] |
def build(self, source_entities, targets):
file2deps = {}
files_content = {}
modules = set()
tails = []
std_modules = set()
for entity in source_entities:
file_name = entity.name
mod_std_imports, mod_deps, mod_content = entity.data
... | aqualid/aqualid | [
5,
3,
5,
10,
1414322110
] |
def __init__(self, options, target):
self.target = target
self.build_target = self.get_target_path(target, ext='.b64') | aqualid/aqualid | [
5,
3,
5,
10,
1414322110
] |
def get_trace_name(self, source_entities, brief):
return "Pack Tools" | aqualid/aqualid | [
5,
3,
5,
10,
1414322110
] |
def get_target_entities(self, source_values):
return self.build_target | aqualid/aqualid | [
5,
3,
5,
10,
1414322110
] |
def replace(self, options, source_entities):
tools_path = [source.get() for source in source_entities]
if not tools_path:
return None
finder = aql.FindFilesBuilder(options, '*.py')
zipper = aql.ZipFilesBuilder(options,
target=self.target... | aqualid/aqualid | [
5,
3,
5,
10,
1414322110
] |
def build(self, source_entities, targets):
target = self.build_target
with aql.open_file(target, write=True,
binary=True, truncate=True) as output:
for source in source_entities:
zip_file = source.get()
with aql.open_file(zip_fil... | aqualid/aqualid | [
5,
3,
5,
10,
1414322110
] |
def __init__(self, options, target):
self.target = self.get_target_path(target) | aqualid/aqualid | [
5,
3,
5,
10,
1414322110
] |
def get_trace_name(self, source_entities, brief):
return "Link AQL standalone script" | aqualid/aqualid | [
5,
3,
5,
10,
1414322110
] |
def get_target_entities(self, source_values):
return self.target | aqualid/aqualid | [
5,
3,
5,
10,
1414322110
] |
def build(self, source_entities, targets):
content = []
embedded_tools = ""
for source in source_entities:
data = aql.read_text_file(source.get())
if not data:
continue
if "embedded_tools" in source.tags:
embedded_tools = EMB... | aqualid/aqualid | [
5,
3,
5,
10,
1414322110
] |
def pack_tools(self, options, target):
return AqlPackTools(options, target) | aqualid/aqualid | [
5,
3,
5,
10,
1414322110
] |
def link_standalone(self, options, target):
return AqlLinkStandalone(options, target) | aqualid/aqualid | [
5,
3,
5,
10,
1414322110
] |
def __init__(self, instrument):
"""."""
super().__init__(instrument)
# self.log = logging.getLogger(__name__)
# self.log.info('Creating an instance of\t' + str(__class__))
self.amps = [-140, 17]
self.freqs = [10e6, 40e9]
# self.siggen.write("*CLS") # clear error... | DavidLutton/EngineeringProject | [
7,
3,
7,
7,
1484501899
] |
def frequency(self):
"""."""
return(self.query("OF0")) | DavidLutton/EngineeringProject | [
7,
3,
7,
7,
1484501899
] |
def frequency(self, frequency):
self.write(f"F0{frequency:.2f}GH") | DavidLutton/EngineeringProject | [
7,
3,
7,
7,
1484501899
] |
def amplitude(self):
"""."""
return(self.query("OL0")) | DavidLutton/EngineeringProject | [
7,
3,
7,
7,
1484501899
] |
def amplitude(self, amplitude):
self.write(f"L0{amplitude:.2f}DM") | DavidLutton/EngineeringProject | [
7,
3,
7,
7,
1484501899
] |
def output(self):
if self.query("OUTPut:STATe?") == "1":
return(True)
else:
return(False) | DavidLutton/EngineeringProject | [
7,
3,
7,
7,
1484501899
] |
def output(self, boolean=False):
self.write("OUTPut:STATe {:d}".format(boolean)) | DavidLutton/EngineeringProject | [
7,
3,
7,
7,
1484501899
] |
def test_open_graph_all_properties(self):
url = 'http://lassie.it/open_graph/all_properties.html'
data = lassie.fetch(url)
self.assertEqual(data['url'], url)
self.assertEqual(data['title'], 'Lassie Open Graph All Properies Test')
self.assertEqual(data['description'], 'Just a tes... | michaelhelmick/lassie | [
579,
49,
579,
12,
1375216899
] |
def test_open_graph_og_image_plus_two_body_images(self):
url = 'http://lassie.it/open_graph/og_image_plus_two_body_images.html'
data = lassie.fetch(url)
# Try without passing "all_images", then pass it
self.assertEqual(len(data['images']), 1)
data = lassie.fetch(url, all_image... | michaelhelmick/lassie | [
579,
49,
579,
12,
1375216899
] |
def i2repr(self, pkt, x):
return XShortField.i2repr(self, pkt, x) | schumilo/vUSBf | [
151,
34,
151,
2,
1413990514
] |
def i2repr(self, pkt, x):
return XIntField.i2repr(self, pkt, x) | schumilo/vUSBf | [
151,
34,
151,
2,
1413990514
] |
def Reset(self):
for i in self._objects:
try:
self._objects[i].hide()
except:
pass
log.info("Resetting RPC objects...")
self._objects = {} | felipenaselva/felipe.repository | [
2,
6,
2,
1,
1474110890
] |
def UpdateAddonRepos(self):
return xbmc.executebuiltin("UpdateAddonRepos") | felipenaselva/felipe.repository | [
2,
6,
2,
1,
1474110890
] |
def Notify(self, header, message, image):
return notify(getLocalizedLabel(message), header, 3000, image) | felipenaselva/felipe.repository | [
2,
6,
2,
1,
1474110890
] |
def Dialog(self, title, message):
dialog = xbmcgui.Dialog()
return dialog.ok(getLocalizedLabel(title), getLocalizedLabel(message)) | felipenaselva/felipe.repository | [
2,
6,
2,
1,
1474110890
] |
def Dialog_Select(self, title, items):
dialog = xbmcgui.Dialog()
return dialog.select(getLocalizedLabel(title), items) | felipenaselva/felipe.repository | [
2,
6,
2,
1,
1474110890
] |
def Player_GetPlayingFile(self, *args, **kwargs):
return XBMC_PLAYER.getPlayingFile() | felipenaselva/felipe.repository | [
2,
6,
2,
1,
1474110890
] |
def Player_IsPaused(self):
return xbmc.getCondVisibility("Player.Paused") | felipenaselva/felipe.repository | [
2,
6,
2,
1,
1474110890
] |
def ConvertLanguage(self, *args, **kwargs):
return xbmc.convertLanguage(*args, **kwargs) | felipenaselva/felipe.repository | [
2,
6,
2,
1,
1474110890
] |
def GetAddonInfo(self):
info = {}
for key in ("author", "changelog", "description", "disclaimer",
"fanart", "icon", "id", "name", "path", "profile", "stars",
"summary", "type", "version"):
info[key] = ADDON.getAddonInfo(key)
return info | felipenaselva/felipe.repository | [
2,
6,
2,
1,
1474110890
] |
def AddonCheck(self, addonId):
if addonId in self._failures:
return self._failures[addonId]
return 0 | felipenaselva/felipe.repository | [
2,
6,
2,
1,
1474110890
] |
def GetLanguage(self, *args, **kwargs):
return xbmc.getLanguage(*args, **kwargs) | felipenaselva/felipe.repository | [
2,
6,
2,
1,
1474110890
] |
def GetSetting(self, *args, **kwargs):
return ADDON.getSetting(*args, **kwargs) | felipenaselva/felipe.repository | [
2,
6,
2,
1,
1474110890
] |
def SetSetting(self, *args, **kwargs):
return ADDON.setSetting(*args, **kwargs) | felipenaselva/felipe.repository | [
2,
6,
2,
1,
1474110890
] |
def TranslatePath(self, *args, **kwargs):
return xbmc.translatePath(*args, **kwargs) | felipenaselva/felipe.repository | [
2,
6,
2,
1,
1474110890
] |
def Dialog_CloseAll(self, *args, **kwargs):
return xbmc.executebuiltin("Dialog.Close(all, true)") | felipenaselva/felipe.repository | [
2,
6,
2,
1,
1474110890
] |
def DialogProgress_Create(self, *args, **kwargs):
dialog = xbmcgui.DialogProgress()
self._objects[id(dialog)] = dialog
dialog.create(*args, **kwargs)
return id(dialog) | felipenaselva/felipe.repository | [
2,
6,
2,
1,
1474110890
] |
def DialogProgress_Update(self, hwnd, *args, **kwargs):
return self._objects[hwnd].update(*args, **kwargs) | felipenaselva/felipe.repository | [
2,
6,
2,
1,
1474110890
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.