input stringlengths 28 198k | output stringlengths 3 71k | file stringlengths 19 330 | input_tokens int64 5 159k | output_tokens int64 3 9.07k | __index_level_0__ int64 2 449k |
|---|---|---|---|---|---|
LOAD_CONST 1
LOAD_CONST ('Random36',)
IMPORT_NAME random_36
IMPORT_FROM Random36
STORE_NAME Random36
POP_TOP
LOAD_CONST 1
LOAD_CONST ('MarkovTextGenerator',)
IMPORT_NAME markov_textgen
IMPORT_FROM MarkovTextGenerator
STORE_NAME MarkovTextGenerator
POP_TOP
LOAD_CONST 1
LOAD_CONST ('MarkovWordGenerator',)
IMPORT_NAME m... | from .random_36 import Random36
from .markov_textgen import MarkovTextGenerator
from .markov_wordgen import MarkovWordGenerator
from .statistic_wordgen import StatisticTextGenerator
from .document_generator import DocumentGenerator
| data/essential_generators-1.0/essential_generators/__init__.py | 163 | 58 | 153,165 |
LOAD_CONST <code object test_scram_sha_256 at 0x7fab81f0b810, file "f.py", line 1>
LOAD_CONST 'test_scram_sha_256'
MAKE_FUNCTION
STORE_NAME test_scram_sha_256
LOAD_CONST None
RETURN_VALUE
LOAD_CONST None
RETURN_VALUE | def test_scram_sha_256(con):
"""Called by GitHub Actions with auth method scram-sha-256.
We just need to check that we can get a connection.
"""
pass
| data/pg8000-1.30.4/test/legacy/auth/test_scram-sha-256.py | 80 | 58 | 196,112 |
LOAD_CONST 0
LOAD_CONST ('_to_outputter', 'outputter', 'parse_outputter', 'register_outputter')
IMPORT_NAME fugue.extensions.outputter.convert
IMPORT_FROM _to_outputter
STORE_NAME _to_outputter
IMPORT_FROM outputter
STORE_NAME outputter
IMPORT_FROM parse_outputter
STORE_NAME parse_outputter
IMPORT_FROM register_outputt... | from fugue.extensions.outputter.convert import (
_to_outputter,
outputter,
parse_outputter,
register_outputter,
)
from fugue.extensions.outputter.outputter import Outputter
| data/fugue-0.8.7/fugue/extensions/outputter/__init__.py | 127 | 58 | 7,995 |
LOAD_CONST 0
LOAD_CONST ('_to_creator', 'creator', 'parse_creator', 'register_creator')
IMPORT_NAME fugue.extensions.creator.convert
IMPORT_FROM _to_creator
STORE_NAME _to_creator
IMPORT_FROM creator
STORE_NAME creator
IMPORT_FROM parse_creator
STORE_NAME parse_creator
IMPORT_FROM register_creator
STORE_NAME register_c... | from fugue.extensions.creator.convert import (
_to_creator,
creator,
parse_creator,
register_creator,
)
from fugue.extensions.creator.creator import Creator
| data/fugue-0.8.7/fugue/extensions/creator/__init__.py | 127 | 58 | 7,982 |
LOAD_CONST 5
STORE_NAME bestsize
LOAD_CONST 2
BUILD_LIST
STORE_NAME b
LOAD_CONST <code object isbjunk at 0x7fab0028b810, file "f.py", line 5>
LOAD_CONST 'isbjunk'
MAKE_FUNCTION
STORE_NAME isbjunk
SETUP_LOOP to 60
LOAD_CONST 1
LOAD_NAME bestsize
COMPARE_OP <
POP_JUMP_IF_FALSE
LOAD_NAME isbjunk
LOAD_NAME b
LOAD_CONST ... | bestsize = 5
b = [2]
def isbjunk(x):
return False
while 1 < bestsize and not isbjunk(b[0]) and b[0]:
bestsize += 1
| data/uncompyle6-3.9.0/test/simple_source/bug33/04_aug_assign.py | 150 | 58 | 442,115 |
LOAD_CONST 0
LOAD_CONST ('Domain', 'RegisteredString', 'EventAttributes', 'pop_range', 'push_range', 'start_range', 'end_range', 'mark')
IMPORT_NAME nvtx._lib.lib
IMPORT_FROM Domain
STORE_NAME Domain
IMPORT_FROM RegisteredString
STORE_NAME RegisteredString
IMPORT_FROM EventAttributes
STORE_NAME EventAttributes
IMPORT_F... | from nvtx._lib.lib import (
Domain,
RegisteredString,
EventAttributes,
pop_range,
push_range,
start_range,
end_range,
mark,
)
| data/nvtx-0.2.10/nvtx/_lib/__init__.py | 129 | 58 | 133,937 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME os
STORE_NAME os
LOAD_CONST 0
LOAD_CONST ('get_main',)
IMPORT_NAME dora.tests.test_main
IMPORT_FROM get_main
STORE_NAME get_main
POP_TOP
LOAD_NAME get_main
LOAD_NAME os
LOAD_ATTR environ
LOAD_CONST '_DORA_TEST_TMPDIR'
BINARY_SUBSCR
CALL_FUNCTION
STORE_NAME main
LOAD_CONST 'do... | import os
from dora.tests.test_main import get_main
main = get_main(os.environ["_DORA_TEST_TMPDIR"])
main.package = "dora.tests.integ"
| data/dora_search-0.1.12/dora/tests/integ/train.py | 104 | 58 | 110,684 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME better_exceptions
STORE_NAME better_exceptions
LOAD_NAME better_exceptions
LOAD_METHOD hook
CALL_METHOD
POP_TOP
LOAD_CONST None
LOAD_NAME better_exceptions
STORE_ATTR MAX_LENGTH
LOAD_CONST <code object div at 0x7fab40da1810, file "f.py", line 7>
LOAD_CONST 'div'
MAKE_FUNCTION... | import better_exceptions
better_exceptions.hook()
better_exceptions.MAX_LENGTH = None
def div():
var = "9" * 150
return 1 / var
div()
| data/better_exceptions-0.3.3/test/test_truncating_disabled.py | 274 | 58 | 387,828 |
LOAD_CONST 0
LOAD_CONST ('sleep',)
IMPORT_NAME time
IMPORT_FROM sleep
STORE_NAME sleep
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Test1 at 0x7f8af1683a50, file "f.py", line 4>
LOAD_CONST 'Test1'
MAKE_FUNCTION
LOAD_CONST 'Test1'
LOAD_NAME object
CALL_FUNCTION
STORE_NAME Test1
LOAD_BUILD_CLASS
LOAD_CONST <code ob... | from time import sleep
class Test1(object):
def test1(self):
sleep(1)
pass
class Test2(object):
def test2(self):
sleep(1)
pass
| data/nose-1.3.7/functional_tests/test_multiprocessing/support/concurrent_shared/test.py | 338 | 58 | 401,737 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pyrogram
STORE_NAME pyrogram
LOAD_BUILD_CLASS
LOAD_CONST <code object Update at 0x7faac0322420, file "f.py", line 4>
LOAD_CONST 'Update'
MAKE_FUNCTION
LOAD_CONST 'Update'
CALL_FUNCTION
STORE_NAME Update
LOAD_CONST None
RETURN_VALUE
LOAD_NAME __name__
STORE_NAME __module__
LOAD... | import pyrogram
class Update:
def stop_propagation(self):
raise pyrogram.StopPropagation
def continue_propagation(self):
raise pyrogram.ContinuePropagation
| data/Pyrogram-2.0.106/pyrogram/types/update.py | 251 | 58 | 273,021 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME cherrypy
STORE_NAME cherrypy
LOAD_CONST <code object is_xhr at 0x7faa5f6e8030, file "f.py", line 4>
LOAD_CONST 'is_xhr'
MAKE_FUNCTION
STORE_NAME is_xhr
LOAD_CONST None
RETURN_VALUE
LOAD_GLOBAL cherrypy
LOAD_ATTR request
LOAD_ATTR headers
LOAD_METHOD get
LOAD_CONST 'X-Requested... | import cherrypy
def is_xhr():
requested_with = cherrypy.request.headers.get("X-Requested-With")
return requested_with and requested_with.lower() == "xmlhttprequest"
| data/Genshi-0.7.7/examples/tutorial/geddit/lib/ajax.py | 137 | 58 | 22,633 |
LOAD_BUILD_CLASS
LOAD_CONST <code object DateTimeFieldFormatType at 0x7fadb5811c00, file "f.py", line 1>
LOAD_CONST 'DateTimeFieldFormatType'
MAKE_FUNCTION
LOAD_CONST 'DateTimeFieldFormatType'
CALL_FUNCTION
STORE_NAME DateTimeFieldFormatType
LOAD_CONST None
RETURN_VALUE
LOAD_NAME __name__
STORE_NAME __module__
LOAD_CO... | class DateTimeFieldFormatType:
"""Specifies the format to use in displaying date and time fields."""
DateOnly = 0
"""Only the date is displayed."""
DateTime = 1
"""Both the date and the time are displayed."""
| data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/fields/datetime_field_format_type.py | 138 | 58 | 189,181 |
LOAD_CONST '1.6.2'
STORE_NAME __version__
LOAD_CONST 0
LOAD_CONST ('FifoDiskQueue', 'LifoDiskQueue')
IMPORT_NAME queuelib.queue
IMPORT_FROM FifoDiskQueue
STORE_NAME FifoDiskQueue
IMPORT_FROM LifoDiskQueue
STORE_NAME LifoDiskQueue
POP_TOP
LOAD_CONST 0
LOAD_CONST ('PriorityQueue',)
IMPORT_NAME queuelib.pqueue
IMPORT_FR... | __version__ = "1.6.2"
from queuelib.queue import FifoDiskQueue, LifoDiskQueue
from queuelib.pqueue import PriorityQueue
from queuelib.rrqueue import RoundRobinQueue
| data/queuelib-1.6.2/queuelib/__init__.py | 146 | 58 | 366,448 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.core.data_util.dataloader.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.core.data_util.dataloader
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.core.data_util.dataloader."""
from tensorflow_examples.lite.model_maker.core.data_util.dataloader import *
| data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/core/data_util/dataloader.py | 78 | 58 | 389,374 |
LOAD_CONST 0
LOAD_CONST ('SystemEnvironment',)
IMPORT_NAME hatch.env.system
IMPORT_FROM SystemEnvironment
STORE_NAME SystemEnvironment
POP_TOP
LOAD_CONST 0
LOAD_CONST ('VirtualEnvironment',)
IMPORT_NAME hatch.env.virtual
IMPORT_FROM VirtualEnvironment
STORE_NAME VirtualEnvironment
POP_TOP
LOAD_CONST 0
LOAD_CONST ('ho... | from hatch.env.system import SystemEnvironment
from hatch.env.virtual import VirtualEnvironment
from hatchling.plugin import hookimpl
@hookimpl
def hatch_register_environment():
return [SystemEnvironment, VirtualEnvironment]
| data/hatch-1.9.3/src/hatch/env/plugin/hooks.py | 168 | 58 | 183,837 |
LOAD_CONST 0
LOAD_CONST ('mock',)
IMPORT_NAME unittest
IMPORT_FROM mock
STORE_NAME mock
POP_TOP
LOAD_CONST 0
LOAD_CONST ('User',)
IMPORT_NAME django.contrib.auth.models
IMPORT_FROM User
STORE_NAME User
POP_TOP
LOAD_NAME mock
LOAD_METHOD MagicMock
CALL_METHOD
STORE_NAME Choice
LOAD_NAME mock
LOAD_METHOD MagicMock
CAL... | from unittest import mock
from django.contrib.auth.models import User # noqa
Choice = mock.MagicMock()
Poll = mock.MagicMock()
MyModel = mock.MagicMock()
| data/django-tastypie-0.14.6/docs/code/myapp/models.py | 99 | 58 | 88,941 |
LOAD_CONST 0
LOAD_CONST ('date',)
IMPORT_NAME datetime
IMPORT_FROM date
STORE_NAME date
POP_TOP
LOAD_NAME api
LOAD_METHOD get
LOAD_CONST '/example'
CALL_METHOD
LOAD_CONST (None, None, None, None)
LOAD_NAME str
LOAD_NAME bool
LOAD_NAME date
LOAD_NAME int
LOAD_CONST ('s', 'b', 'd', 'i')
BUILD_CONST_KEY_MAP
LOAD_CONST <... | from datetime import date
@api.get("/example")
def example(request, s: str = None, b: bool = None, d: date = None, i: int = None):
return [s, b, d, i]
| data/django_ninja-1.1.0/docs/src/tutorial/query/code03.py | 139 | 58 | 88,634 |
LOAD_CONST 0
LOAD_CONST ('Repo',)
IMPORT_NAME dulwich.repo
IMPORT_FROM Repo
STORE_NAME Repo
POP_TOP
LOAD_NAME Repo
LOAD_CONST '.'
CALL_FUNCTION
STORE_NAME repo
LOAD_NAME repo
LOAD_METHOD get_config
CALL_METHOD
STORE_NAME config
LOAD_NAME print
LOAD_NAME config
LOAD_METHOD get
LOAD_CONST 'core'
LOAD_CONST 'filemode'
... | from dulwich.repo import Repo
repo = Repo(".")
config = repo.get_config()
print(config.get("core", "filemode"))
print(config.get(("remote", "origin"), "url"))
| data/dulwich-0.21.7/examples/config.py | 117 | 58 | 127,635 |
LOAD_CONST 0
LOAD_CONST ('random',)
IMPORT_NAME scipy.sparse
IMPORT_FROM random
STORE_NAME random
POP_TOP
LOAD_CONST (0.8,)
LOAD_CONST <code object random_psd at 0x7fab8212b9c0, file "f.py", line 4>
LOAD_CONST 'random_psd'
MAKE_FUNCTION
STORE_NAME random_psd
LOAD_CONST None
RETURN_VALUE
LOAD_GLOBAL random
LOAD_FAST m... | from scipy.sparse import random
def random_psd(m, n, density=0.8):
M = random(m, n, density=density)
return M.dot(M.T).tocsc()
| data/qdldl-0.1.7.post0/tests/utils.py | 138 | 58 | 168,917 |
LOAD_CONST 0
LOAD_CONST ('HTMLReport', 'WidgetReport')
IMPORT_NAME pandas_profiling.report.presentation.flavours.flavours
IMPORT_FROM HTMLReport
STORE_NAME HTMLReport
IMPORT_FROM WidgetReport
STORE_NAME WidgetReport
POP_TOP
LOAD_CONST 'HTMLReport'
LOAD_CONST 'WidgetReport'
BUILD_LIST
STORE_NAME __all__
LOAD_CONST Non... | from pandas_profiling.report.presentation.flavours.flavours import (
HTMLReport,
WidgetReport,
)
__all__ = [
"HTMLReport",
"WidgetReport",
]
| data/pandas-profiling-3.6.6/src/pandas_profiling/report/presentation/flavours/__init__.py | 81 | 58 | 305,445 |
LOAD_CONST 0
LOAD_CONST ('Docx2txtLoader', 'UnstructuredWordDocumentLoader')
IMPORT_NAME langchain_community.document_loaders.word_document
IMPORT_FROM Docx2txtLoader
STORE_NAME Docx2txtLoader
IMPORT_FROM UnstructuredWordDocumentLoader
STORE_NAME UnstructuredWordDocumentLoader
POP_TOP
LOAD_CONST 'Docx2txtLoader'
LOAD_... | from langchain_community.document_loaders.word_document import (
Docx2txtLoader,
UnstructuredWordDocumentLoader,
)
__all__ = ["Docx2txtLoader", "UnstructuredWordDocumentLoader"]
| data/langchain-0.1.8/langchain/document_loaders/word_document.py | 100 | 58 | 368,531 |
LOAD_CONST 0
LOAD_CONST ('annotations',)
IMPORT_NAME __future__
IMPORT_FROM annotations
STORE_NAME annotations
POP_TOP
LOAD_CONST 0
LOAD_CONST ('template',)
IMPORT_NAME django
IMPORT_FROM template
STORE_NAME template
POP_TOP
LOAD_CONST 0
LOAD_CONST ('django_htmx_script',)
IMPORT_NAME django_htmx.jinja
IMPORT_FROM dja... | from __future__ import annotations
from django import template
from django_htmx.jinja import django_htmx_script
register = template.Library()
register.simple_tag(django_htmx_script)
| data/django-htmx-1.17.2/src/django_htmx/templatetags/django_htmx.py | 135 | 58 | 162,415 |
LOAD_CONST 0
LOAD_CONST ('Enum',)
IMPORT_NAME enum
IMPORT_FROM Enum
STORE_NAME Enum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object EndUserNotificationPreference at 0x7fab820f48a0, file "f.py", line 4>
LOAD_CONST 'EndUserNotificationPreference'
MAKE_FUNCTION
LOAD_CONST 'EndUserNotificationPreference'
LOAD_NAME str
LO... | from enum import Enum
class EndUserNotificationPreference(str, Enum):
Unknown = ("unknown",)
Microsoft = ("microsoft",)
Custom = ("custom",)
UnknownFutureValue = ("unknownFutureValue",)
| data/msgraph-sdk-1.1.0/msgraph/generated/models/end_user_notification_preference.py | 178 | 58 | 261,527 |
LOAD_CONST 'Exceptions for Ion Python.'
STORE_NAME __doc__
LOAD_BUILD_CLASS
LOAD_CONST <code object IonException at 0x7fab703aeae0, file "f.py", line 4>
LOAD_CONST 'IonException'
MAKE_FUNCTION
LOAD_CONST 'IonException'
LOAD_NAME Exception
CALL_FUNCTION
STORE_NAME IonException
LOAD_BUILD_CLASS
LOAD_CONST <code object ... | """Exceptions for Ion Python."""
class IonException(Exception):
"""Root exception for Ion Python."""
class CannotSubstituteTable(IonException):
"""Indicates a problem with resolving symbols tables."""
| data/amazon.ion-0.11.3/amazon/ion/exceptions.py | 249 | 58 | 174,575 |
LOAD_CONST 0
LOAD_CONST ('Entity',)
IMPORT_NAME office365.sharepoint.entity
IMPORT_FROM Entity
STORE_NAME Entity
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object PageMoveResponse at 0x7fab81f0b9c0, file "f.py", line 4>
LOAD_CONST 'PageMoveResponse'
MAKE_FUNCTION
LOAD_CONST 'PageMoveResponse'
LOAD_NAME Entity
CALL_FUNC... | from office365.sharepoint.entity import Entity
class PageMoveResponse(Entity):
""""""
@property
def entity_type_name(self):
return "SP.Publishing.PageMoveResponse"
| data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/publishing/pages/move_response.py | 216 | 58 | 189,113 |
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME checkov.terraform.checks.resource
IMPORT_STAR
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME checkov.terraform.checks.data
IMPORT_STAR
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME checkov.terraform.modules
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | from checkov.terraform.checks.resource import * # noqa
from checkov.terraform.checks.data import * # noqa
from checkov.terraform.modules import * # noqa
| data/checkov-3.2.23/checkov/terraform/__init__.py | 79 | 58 | 158,795 |
LOAD_CONST 0
LOAD_CONST ('Entity',)
IMPORT_NAME office365.sharepoint.entity
IMPORT_FROM Entity
STORE_NAME Entity
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object WavesManager at 0x7fab700e41e0, file "f.py", line 4>
LOAD_CONST 'WavesManager'
MAKE_FUNCTION
LOAD_CONST 'WavesManager'
LOAD_NAME Entity
CALL_FUNCTION
STORE_N... | from office365.sharepoint.entity import Entity
class WavesManager(Entity):
@property
def entity_type_name(self):
return "SP.Publishing.PortalLaunch.WavesManager"
| data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/publishing/portallaunch/waves_manager.py | 211 | 58 | 189,136 |
LOAD_CONST 0
LOAD_CONST ('Alpha', 'Bravo', 'Root')
IMPORT_NAME tests.fixtures.compound.models
IMPORT_FROM Alpha
STORE_NAME Alpha
IMPORT_FROM Bravo
STORE_NAME Bravo
IMPORT_FROM Root
STORE_NAME Root
POP_TOP
LOAD_CONST 'Alpha'
LOAD_CONST 'Bravo'
LOAD_CONST 'Root'
BUILD_LIST
STORE_NAME __all__
LOAD_CONST None
RETURN_VAL... | from tests.fixtures.compound.models import (
Alpha,
Bravo,
Root,
)
__all__ = [
"Alpha",
"Bravo",
"Root",
]
| data/xsdata-24.2.1/tests/fixtures/compound/__init__.py | 88 | 58 | 112,045 |
LOAD_CONST 'DO NOT EDIT.\n\nThis file was autogenerated. Do not edit it by hand,\nsince your modifications would be overwritten.\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('load_data',)
IMPORT_NAME keras.src.datasets.california_housing
IMPORT_FROM load_data
STORE_NAME load_data
POP_TOP
LOAD_CONST None
RETURN_VALUE | """DO NOT EDIT.
This file was autogenerated. Do not edit it by hand,
since your modifications would be overwritten.
"""
from keras.src.datasets.california_housing import load_data
| data/keras-nightly-3.1.0.dev2024022103/keras/_tf_keras/keras/datasets/california_housing/__init__.py | 89 | 58 | 285,375 |
LOAD_CONST 'A simple script to demonstrate scipy.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('norm',)
IMPORT_NAME scipy.stats
IMPORT_FROM norm
STORE_NAME norm
POP_TOP
LOAD_NAME __name__
LOAD_CONST '__main__'
COMPARE_OP ==
POP_JUMP_IF_FALSE
LOAD_NAME print
LOAD_CONST 'bounds of distribution lower: %s, upper: %s'
LO... | """A simple script to demonstrate scipy."""
from scipy.stats import norm
if __name__ == "__main__":
print("bounds of distribution lower: %s, upper: %s" % norm.support())
| data/cx_Freeze-6.15.15/samples/scipy/test_scipy.py | 101 | 58 | 175,560 |
LOAD_CONST '\nEase-of-use tools for databricks notebooks.\n\n.. moduleauthor:: eterna2@hotmail.com\n'
STORE_NAME __doc__
LOAD_CONST '0.0.7'
STORE_NAME __version__
LOAD_CONST '__version__'
BUILD_LIST
STORE_NAME __all__
LOAD_CONST None
RETURN_VALUE | """
Ease-of-use tools for databricks notebooks.
.. moduleauthor:: eterna2@hotmail.com
"""
__version__ = "0.0.7"
__all__ = ["__version__"]
| data/databricks-utils-0.0.7/databricks_utils/__init__.py | 76 | 58 | 234,694 |
LOAD_CONST 0
LOAD_CONST ('_multiarray_umath',)
IMPORT_NAME numpy.core
IMPORT_FROM _multiarray_umath
STORE_NAME _multiarray_umath
POP_TOP
LOAD_NAME globals
CALL_FUNCTION
STORE_NAME _globals
SETUP_LOOP to 50
LOAD_NAME _multiarray_umath
LOAD_METHOD __dir__
CALL_METHOD
GET_ITER
FOR_ITER to 48
STORE_NAME item
LOAD_NAME g... | from numpy.core import _multiarray_umath
_globals = globals()
for item in _multiarray_umath.__dir__():
_globals[item] = getattr(_multiarray_umath, item)
| data/numpy-1.26.4/numpy/_core/_multiarray_umath.py | 121 | 58 | 364,102 |
LOAD_CONST 1
LOAD_CONST ('validate',)
IMPORT_NAME iso8601_time
IMPORT_FROM validate
STORE_NAME validate_time
POP_TOP
LOAD_CONST 1
LOAD_CONST ('validate',)
IMPORT_NAME rfc3339
IMPORT_FROM validate
STORE_NAME validate_rfc3339
POP_TOP
LOAD_CONST ('validate_rfc3339', 'validate_time')
STORE_NAME __all__
LOAD_CONST None
RE... | from .iso8601_time import validate as validate_time
from .rfc3339 import validate as validate_rfc3339
__all__ = ("validate_rfc3339", "validate_time")
| data/check-jsonschema-0.28.0/src/check_jsonschema/formats/implementations/__init__.py | 92 | 58 | 11,365 |
LOAD_CONST 'Task libraries.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('Task',)
IMPORT_NAME tensorflow_recommenders.tasks.base
IMPORT_FROM Task
STORE_NAME Task
POP_TOP
LOAD_CONST 0
LOAD_CONST ('Ranking',)
IMPORT_NAME tensorflow_recommenders.tasks.ranking
IMPORT_FROM Ranking
STORE_NAME Ranking
POP_TOP
LOAD_CONST 0
... | """Task libraries."""
from tensorflow_recommenders.tasks.base import Task
from tensorflow_recommenders.tasks.ranking import Ranking
from tensorflow_recommenders.tasks.retrieval import Retrieval
| data/tensorflow-recommenders-0.7.3/tensorflow_recommenders/tasks/__init__.py | 125 | 58 | 88,454 |
LOAD_CONST '\ntest_coe_clusters\n----------------------------------\n\nFunctional tests for COE clusters methods.\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('base',)
IMPORT_NAME openstack.tests.functional
IMPORT_FROM base
STORE_NAME base
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object TestCompute at 0x7fab8214d4... | """
test_coe_clusters
----------------------------------
Functional tests for COE clusters methods.
"""
from openstack.tests.functional import base
class TestCompute(base.BaseFunctionalTest):
pass
| data/openstacksdk-2.1.0/openstack/tests/functional/cloud/test_coe_clusters.py | 169 | 58 | 283,950 |
LOAD_CONST 1
LOAD_CONST ('read_r', 'list_objects', 'write_rds', 'write_rdata', 'download_file')
IMPORT_NAME pyreadr
IMPORT_FROM read_r
STORE_NAME read_r
IMPORT_FROM list_objects
STORE_NAME list_objects
IMPORT_FROM write_rds
STORE_NAME write_rds
IMPORT_FROM write_rdata
STORE_NAME write_rdata
IMPORT_FROM download_file
ST... | from .pyreadr import read_r, list_objects, write_rds, write_rdata, download_file
from .custom_errors import PyreadrError, LibrdataError
__version__ = "0.5.0"
| data/pyreadr-0.5.0/pyreadr/__init__.py | 164 | 58 | 288,854 |
LOAD_CONST 'StabilityAI module.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('absolute_import',)
IMPORT_NAME __future__
IMPORT_FROM absolute_import
STORE_NAME absolute_import
POP_TOP
LOAD_CONST 0
LOAD_CONST ('get_stabilityai_image_uri',)
IMPORT_NAME sagemaker.stabilityai.stability_utils
IMPORT_FROM get_stabilityai_im... | """StabilityAI module."""
from __future__ import absolute_import
from sagemaker.stabilityai.stability_utils import (
get_stabilityai_image_uri,
) # noqa: F401
| data/sagemaker-2.208.0/src/sagemaker/stabilityai/__init__.py | 106 | 58 | 318,839 |
LOAD_CONST 0
LOAD_CONST ('VertexAI', 'VertexAIModelGarden')
IMPORT_NAME langchain_community.llms.vertexai
IMPORT_FROM VertexAI
STORE_NAME VertexAI
IMPORT_FROM VertexAIModelGarden
STORE_NAME VertexAIModelGarden
POP_TOP
LOAD_CONST 'VertexAI'
LOAD_CONST 'VertexAIModelGarden'
BUILD_LIST
STORE_NAME __all__
LOAD_CONST None... | from langchain_community.llms.vertexai import (
VertexAI,
VertexAIModelGarden,
)
__all__ = [
"VertexAI",
"VertexAIModelGarden",
]
| data/langchain-0.1.8/langchain/llms/vertexai.py | 90 | 58 | 368,919 |
LOAD_CONST 'Aggregation heads package definition.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('LogisticModel',)
IMPORT_NAME official.projects.yt8m.modeling.heads.logistic
IMPORT_FROM LogisticModel
STORE_NAME LogisticModel
POP_TOP
LOAD_CONST 0
LOAD_CONST ('MoeModel',)
IMPORT_NAME official.projects.yt8m.modeling.heads... | """Aggregation heads package definition."""
from official.projects.yt8m.modeling.heads.logistic import LogisticModel
from official.projects.yt8m.modeling.heads.moe import MoeModel
| data/tf-models-official-2.15.0/official/projects/yt8m/modeling/heads/__init__.py | 109 | 58 | 355,845 |
LOAD_CONST <code object list_public_methods at 0x7fab40f49270, file "f.py", line 1>
LOAD_CONST 'list_public_methods'
MAKE_FUNCTION
STORE_NAME list_public_methods
LOAD_CONST None
RETURN_VALUE
LOAD_CLOSURE obj
BUILD_TUPLE
LOAD_CONST <code object <listcomp> at 0x7fab42ab7300, file "f.py", line 3>
LOAD_CONST 'list_public_... | def list_public_methods(obj):
return [
member
for member in dir(obj)
if not member.startswith("_") and hasattr(getattr(obj, member), "__call__")
]
| data/uncompyle6-3.9.0/test/simple_source/comprehension/06_list_ifnot_and.py | 205 | 58 | 441,929 |
LOAD_CONST 1
LOAD_CONST ('frame_view_t',)
IMPORT_NAME frame_view
IMPORT_FROM frame_view_t
STORE_NAME frame_view_t
POP_TOP
LOAD_CONST 1
LOAD_CONST ('setup_frame_view',)
IMPORT_NAME frame_view_setup
IMPORT_FROM setup_frame_view
STORE_NAME setup_frame_view
POP_TOP
LOAD_CONST 1
LOAD_CONST ('frame_view_imp_t',)
IMPORT_NAM... | from .frame_view import frame_view_t # noqa
from .frame_view_setup import setup_frame_view # noqa
from .frame_view_imp import frame_view_imp_t # noqa
| data/hachoir-3.3.0/hachoir/wx/frame_view/__init__.py | 122 | 58 | 203,856 |
LOAD_CONST 0
LOAD_CONST ('annotations',)
IMPORT_NAME __future__
IMPORT_FROM annotations
STORE_NAME annotations
POP_TOP
LOAD_CONST 0
LOAD_CONST ('Hashable',)
IMPORT_NAME collections.abc
IMPORT_FROM Hashable
STORE_NAME Hashable
POP_TOP
LOAD_CONST 0
LOAD_CONST ('TypeVar',)
IMPORT_NAME typing
IMPORT_FROM TypeVar
STORE_NA... | from __future__ import annotations
from collections.abc import Hashable
from typing import TypeVar
__all__ = ["K", "V"]
K = TypeVar("K", bound=Hashable)
V = TypeVar("V")
| data/ibis_framework-8.0.0/ibis/expr/types/typing.py | 141 | 58 | 161,646 |
LOAD_CONST 'Base task class.'
STORE_NAME __doc__
LOAD_BUILD_CLASS
LOAD_CONST <code object Task at 0x7fab700785d0, file "f.py", line 4>
LOAD_CONST 'Task'
MAKE_FUNCTION
LOAD_CONST 'Task'
CALL_FUNCTION
STORE_NAME Task
LOAD_CONST None
RETURN_VALUE
LOAD_NAME __name__
STORE_NAME __module__
LOAD_CONST 'Task'
STORE_NAME __qu... | """Base task class."""
class Task:
"""Task class.
This is a marker class: inherit from this class if you'd like to make
your tasks distinguishable from plain Keras layers.
"""
pass
| data/tensorflow-recommenders-0.7.3/tensorflow_recommenders/tasks/base.py | 143 | 58 | 88,452 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pytest
STORE_NAME pytest
LOAD_CONST 0
LOAD_CONST ('windows_compatible_mode',)
IMPORT_NAME dbnd._core.utils.platform
IMPORT_FROM windows_compatible_mode
STORE_NAME windows_compatible_mode
POP_TOP
LOAD_NAME pytest
LOAD_ATTR mark
LOAD_ATTR skipif
LOAD_NAME windows_compatible_mod... | import pytest
from dbnd._core.utils.platform import windows_compatible_mode
skip_on_windows = pytest.mark.skipif(
windows_compatible_mode, reason="not supported on Windows OS"
)
| data/dbnd-1.0.21.5/src/dbnd/testing/helpers_pytest.py | 105 | 58 | 272,119 |
LOAD_CONST 'Quantum Time Evolution package.'
STORE_NAME __doc__
LOAD_CONST 1
LOAD_CONST ('EvolutionResult',)
IMPORT_NAME evolution_result
IMPORT_FROM EvolutionResult
STORE_NAME EvolutionResult
POP_TOP
LOAD_CONST 1
LOAD_CONST ('EvolutionProblem',)
IMPORT_NAME evolution_problem
IMPORT_FROM EvolutionProblem
STORE_NAME E... | """Quantum Time Evolution package."""
from .evolution_result import EvolutionResult
from .evolution_problem import EvolutionProblem
__all__ = [
"EvolutionResult",
"EvolutionProblem",
]
| data/qiskit-terra-0.46.0/qiskit/algorithms/evolvers/__init__.py | 107 | 58 | 430,685 |
LOAD_CONST 1
LOAD_CONST ('OKPKey',)
IMPORT_NAME okp_key
IMPORT_FROM OKPKey
STORE_NAME OKPKey
POP_TOP
LOAD_CONST 1
LOAD_CONST ('register_jws_rfc8037',)
IMPORT_NAME jws_eddsa
IMPORT_FROM register_jws_rfc8037
STORE_NAME register_jws_rfc8037
POP_TOP
LOAD_CONST 'register_jws_rfc8037'
LOAD_CONST 'OKPKey'
BUILD_LIST
STORE_N... | from .okp_key import OKPKey
from .jws_eddsa import register_jws_rfc8037
__all__ = ["register_jws_rfc8037", "OKPKey"]
| data/Authlib-1.3.0/authlib/jose/rfc8037/__init__.py | 122 | 58 | 116,551 |
LOAD_CONST 0
LOAD_CONST ('default_urlpatterns',)
IMPORT_NAME allauth.socialaccount.providers.oauth2.urls
IMPORT_FROM default_urlpatterns
STORE_NAME default_urlpatterns
POP_TOP
LOAD_CONST 1
LOAD_CONST ('QuickBooksOAuth2Provider',)
IMPORT_NAME provider
IMPORT_FROM QuickBooksOAuth2Provider
STORE_NAME QuickBooksOAuth2Prov... | from allauth.socialaccount.providers.oauth2.urls import default_urlpatterns
from .provider import QuickBooksOAuth2Provider
urlpatterns = default_urlpatterns(QuickBooksOAuth2Provider)
| data/django-allauth-0.61.1/allauth/socialaccount/providers/quickbooks/urls.py | 116 | 58 | 336,617 |
LOAD_CONST 0
LOAD_CONST ('Enum',)
IMPORT_NAME enum
IMPORT_FROM Enum
STORE_NAME Enum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Misc at 0x7f8ece8a8930, file "f.py", line 4>
LOAD_CONST 'Misc'
MAKE_FUNCTION
LOAD_CONST 'Misc'
LOAD_NAME str
LOAD_NAME Enum
CALL_FUNCTION
STORE_NAME Misc
LOAD_CONST None
RETURN_VALUE
LO... | from enum import Enum
class Misc(str, Enum):
GET_ANNOUNCEMENT = "/v5/announcements/index"
def __str__(self) -> str:
return self.value
| data/pybit-5.6.2/pybit/misc.py | 212 | 58 | 121,260 |
LOAD_CONST 1
LOAD_CONST ('LaboratoryException', 'MismatchException')
IMPORT_NAME exceptions
IMPORT_FROM LaboratoryException
STORE_NAME LaboratoryException
IMPORT_FROM MismatchException
STORE_NAME MismatchException
POP_TOP
LOAD_CONST 1
LOAD_CONST ('Experiment',)
IMPORT_NAME experiment
IMPORT_FROM Experiment
STORE_NAME ... | from .exceptions import LaboratoryException, MismatchException
from .experiment import Experiment
__version__ = "1.0.2"
__all__ = ("Experiment", "LaboratoryException", "MismatchException")
| data/laboratory-1.0.2/laboratory/__init__.py | 114 | 58 | 309,276 |
LOAD_CONST 0
LOAD_CONST ('absolute_import', 'division', 'print_function', 'unicode_literals')
IMPORT_NAME __future__
IMPORT_FROM absolute_import
STORE_NAME absolute_import
IMPORT_FROM division
STORE_NAME division
IMPORT_FROM print_function
STORE_NAME print_function
IMPORT_FROM unicode_literals
STORE_NAME unicode_litera... | from __future__ import absolute_import, division, print_function, unicode_literals
from .registry import *
from .auto_register import *
from .cache import *
from .entry_points import *
from .patcher import *
| data/class-registry-2.1.2/class_registry/__init__.py | 164 | 58 | 309,330 |
LOAD_CONST 0
LOAD_CONST ('contextmanager',)
IMPORT_NAME contextlib
IMPORT_FROM contextmanager
STORE_NAME contextmanager
POP_TOP
LOAD_CONST 0
LOAD_CONST ('nvmlInit', 'nvmlShutdown')
IMPORT_NAME pynvml
IMPORT_FROM nvmlInit
STORE_NAME nvmlInit
IMPORT_FROM nvmlShutdown
STORE_NAME nvmlShutdown
POP_TOP
LOAD_NAME contextman... | from contextlib import contextmanager
from pynvml import nvmlInit, nvmlShutdown
@contextmanager
def nvml_context():
nvmlInit()
yield
nvmlShutdown()
| data/nvgpu-0.10.0/nvgpu/nvml.py | 177 | 58 | 309,125 |
LOAD_CONST 0
LOAD_CONST ('Entity',)
IMPORT_NAME office365.sharepoint.entity
IMPORT_FROM Entity
STORE_NAME Entity
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object ThemeProperties at 0x7fab701acd20, file "f.py", line 4>
LOAD_CONST 'ThemeProperties'
MAKE_FUNCTION
LOAD_CONST 'ThemeProperties'
LOAD_NAME Entity
CALL_FUNCTIO... | from office365.sharepoint.entity import Entity
class ThemeProperties(Entity):
@property
def entity_type_name(self):
return "Microsoft.Online.SharePoint.TenantManagement.ThemeProperties"
| data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/tenant/administration/theme_properties.py | 207 | 58 | 189,334 |
LOAD_CONST 0
LOAD_CONST ('base',)
IMPORT_NAME openstack.tests.functional
IMPORT_FROM base
STORE_NAME base
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object BaseComputeTest at 0x7fab8214dd20, file "f.py", line 4>
LOAD_CONST 'BaseComputeTest'
MAKE_FUNCTION
LOAD_CONST 'BaseComputeTest'
LOAD_NAME base
LOAD_ATTR BaseFunctio... | from openstack.tests.functional import base
class BaseComputeTest(base.BaseFunctionalTest):
_wait_for_timeout_key = "OPENSTACKSDK_FUNC_TEST_TIMEOUT_COMPUTE"
| data/openstacksdk-2.1.0/openstack/tests/functional/compute/base.py | 166 | 58 | 283,987 |
LOAD_CONST 1
LOAD_CONST ('biomart_annotations', 'gene_coordinates', 'mitochondrial_genes')
IMPORT_NAME _queries
IMPORT_FROM biomart_annotations
STORE_NAME biomart_annotations
IMPORT_FROM gene_coordinates
STORE_NAME gene_coordinates
IMPORT_FROM mitochondrial_genes
STORE_NAME mitochondrial_genes
POP_TOP
LOAD_CONST 1
LOA... | from ._queries import (
biomart_annotations,
gene_coordinates,
mitochondrial_genes,
) # Biomart queries
from ._queries import enrich # gprofiler queries
| data/scanpy-1.9.8/scanpy/queries/__init__.py | 112 | 58 | 121,042 |
LOAD_CONST 0
LOAD_CONST ('Any',)
IMPORT_NAME typing
IMPORT_FROM Any
STORE_NAME Any
POP_TOP
LOAD_CONST 0
LOAD_CONST ('ValuesQuerySet',)
IMPORT_NAME django_stubs_ext
IMPORT_FROM ValuesQuerySet
STORE_NAME ValuesQuerySet
POP_TOP
LOAD_CONST None
LOAD_CONST ('return',)
BUILD_CONST_KEY_MAP
LOAD_CONST <code object test_exten... | from typing import Any
from django_stubs_ext import ValuesQuerySet
def test_extends_values_queryset() -> None:
class MyQS(ValuesQuerySet[Any, Any]):
pass
| data/django-stubs-ext-4.2.7/tests/test_aliases.py | 264 | 58 | 196,689 |
LOAD_CONST '\nData module used to create, read, update and delete object and references.\n'
STORE_NAME __doc__
LOAD_CONST 'DataObject'
LOAD_CONST 'ConsistencyLevel'
BUILD_LIST
STORE_NAME __all__
LOAD_CONST 1
LOAD_CONST ('DataObject',)
IMPORT_NAME crud_data
IMPORT_FROM DataObject
STORE_NAME DataObject
POP_TOP
LOAD_CO... | """
Data module used to create, read, update and delete object and references.
"""
__all__ = ["DataObject", "ConsistencyLevel"]
from .crud_data import DataObject
from .replication import ConsistencyLevel
| data/weaviate-client-4.4.4/weaviate/data/__init__.py | 112 | 58 | 448,548 |
LOAD_CONST 'Test for devhelp extension.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pytest
STORE_NAME pytest
LOAD_NAME pytest
LOAD_ATTR mark
LOAD_ATTR sphinx
LOAD_CONST 'devhelp'
LOAD_CONST 'basic'
LOAD_CONST ('testroot',)
CALL_FUNCTION
LOAD_CONST <code object test_basic at 0x7f8b2000bd20, file "f.py... | """Test for devhelp extension."""
import pytest
@pytest.mark.sphinx("devhelp", testroot="basic")
def test_basic(app, status, warning):
app.builder.build_all()
| data/sphinxcontrib_devhelp-1.0.6/tests/test_devhelp.py | 139 | 58 | 324,312 |
LOAD_CONST 'DO NOT EDIT.\n\nThis file was autogenerated. Do not edit it by hand,\nsince your modifications would be overwritten.\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('load_data',)
IMPORT_NAME keras.src.datasets.cifar100
IMPORT_FROM load_data
STORE_NAME load_data
POP_TOP
LOAD_CONST None
RETURN_VALUE | """DO NOT EDIT.
This file was autogenerated. Do not edit it by hand,
since your modifications would be overwritten.
"""
from keras.src.datasets.cifar100 import load_data
| data/keras-nightly-3.1.0.dev2024022103/keras/datasets/cifar100/__init__.py | 89 | 58 | 284,961 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.core.api.golden_api_doc.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.core.api.golden_api_doc
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.core.api.golden_api_doc."""
from tensorflow_examples.lite.model_maker.core.api.golden_api_doc import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/core/api/golden_api_doc.py | 78 | 58 | 401,334 |
LOAD_CONST 'DO NOT EDIT.\n\nThis file was autogenerated. Do not edit it by hand,\nsince your modifications would be overwritten.\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('load_data',)
IMPORT_NAME keras.src.datasets.california_housing
IMPORT_FROM load_data
STORE_NAME load_data
POP_TOP
LOAD_CONST None
RETURN_VALUE | """DO NOT EDIT.
This file was autogenerated. Do not edit it by hand,
since your modifications would be overwritten.
"""
from keras.src.datasets.california_housing import load_data
| data/keras-nightly-3.1.0.dev2024022103/keras/datasets/california_housing/__init__.py | 89 | 58 | 284,960 |
LOAD_CONST 0
LOAD_CONST ('Enum',)
IMPORT_NAME enum
IMPORT_FROM Enum
STORE_NAME Enum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object ContentFormat at 0x7fab4298e150, file "f.py", line 4>
LOAD_CONST 'ContentFormat'
MAKE_FUNCTION
LOAD_CONST 'ContentFormat'
LOAD_NAME str
LOAD_NAME Enum
CALL_FUNCTION
STORE_NAME ContentFor... | from enum import Enum
class ContentFormat(str, Enum):
Text = ("text",)
Html = ("html",)
Markdown = ("markdown",)
UnknownFutureValue = ("unknownFutureValue",)
| data/msgraph-sdk-1.1.0/msgraph/generated/models/security/content_format.py | 166 | 58 | 262,267 |
LOAD_CONST 0
LOAD_CONST ('TestCase',)
IMPORT_NAME PyObjCTools.TestSupport
IMPORT_FROM TestCase
STORE_NAME TestCase
POP_TOP
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME AVRouting
STORE_NAME AVRouting
LOAD_BUILD_CLASS
LOAD_CONST <code object TestAVRouting at 0x7fab703f0e40, file "f.py", line 6>
LOAD_CONST 'TestAVRouting'
M... | from PyObjCTools.TestSupport import TestCase
import AVRouting
class TestAVRouting(TestCase):
def test_metadata_sane(self):
self.assertCallableMetadataIsSane(AVRouting)
| data/pyobjc-framework-AVRouting-10.1/PyObjCTest/test_avrouting.py | 240 | 58 | 177,435 |
SETUP_EXCEPT to 14
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME pydantic.v1.dataclasses
IMPORT_STAR
POP_BLOCK
JUMP_FORWARD to 42
DUP_TOP
LOAD_NAME ImportError
COMPARE_OP exception match
POP_JUMP_IF_FALSE
POP_TOP
POP_TOP
POP_TOP
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME pydantic.dataclasses
IMPORT_STAR
POP_EXCEPT
JUMP... | try:
from pydantic.v1.dataclasses import * # noqa: F403
except ImportError:
from pydantic.dataclasses import * # noqa: F403
| data/langchain-0.1.8/langchain/pydantic_v1/dataclasses.py | 97 | 58 | 369,113 |
LOAD_BUILD_CLASS
LOAD_CONST <code object SearchSpace at 0x7f8ab68a5150, file "f.py", line 1>
LOAD_CONST 'SearchSpace'
MAKE_FUNCTION
LOAD_CONST 'SearchSpace'
CALL_FUNCTION
STORE_NAME SearchSpace
LOAD_CONST None
RETURN_VALUE
LOAD_NAME __name__
STORE_NAME __module__
LOAD_CONST 'SearchSpace'
STORE_NAME __qualname__
LOAD_... | class SearchSpace:
"""SearchSpace class for AutoML verticals."""
def __init__(self, **kwargs) -> None:
for k, v in kwargs.items():
self.__setattr__(k, v)
| data/azure-ai-ml-1.13.0/azure/ai/ml/entities/_job/automl/search_space.py | 230 | 58 | 426,091 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pytest
STORE_NAME pytest
LOAD_CONST 0
LOAD_CONST ('OpenAPI',)
IMPORT_NAME flask_openapi3
IMPORT_FROM OpenAPI
STORE_NAME OpenAPI
POP_TOP
LOAD_NAME pytest
LOAD_ATTR fixture
LOAD_CONST <code object app at 0x7f8e2ff47150, file "f.py", line 7>
LOAD_CONST 'app'
MAKE_FUNCTION
CALL_FU... | import pytest
from flask_openapi3 import OpenAPI
@pytest.fixture
def app():
_app = OpenAPI(__name__)
_app.config["TESTING"] = True
return _app
| data/flask_openapi3-3.0.2/tests/test_fixed_externaldocs_support.py | 145 | 58 | 405,818 |
LOAD_CONST <code object create_nullable_column at 0x7fae2f404b70, file "f.py", line 1>
LOAD_CONST 'create_nullable_column'
MAKE_FUNCTION
STORE_NAME create_nullable_column
LOAD_CONST None
RETURN_VALUE
LOAD_FAST spec
LOAD_CONST 9
LOAD_CONST -1
BUILD_SLICE
BINARY_SUBSCR
STORE_FAST inner
LOAD_FAST column_by_spec_getter
L... | def create_nullable_column(spec, column_by_spec_getter):
inner = spec[9:-1]
nested = column_by_spec_getter(inner)
nested.nullable = True
return nested
| data/clickhouse-driver-0.2.7/clickhouse_driver/columns/nullablecolumn.py | 117 | 58 | 305,056 |
LOAD_CONST 0
LOAD_CONST ('Entity',)
IMPORT_NAME office365.sharepoint.entity
IMPORT_FROM Entity
STORE_NAME Entity
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object ExternalUser at 0x7fab701ac270, file "f.py", line 4>
LOAD_CONST 'ExternalUser'
MAKE_FUNCTION
LOAD_CONST 'ExternalUser'
LOAD_NAME Entity
CALL_FUNCTION
STORE_N... | from office365.sharepoint.entity import Entity
class ExternalUser(Entity):
@property
def entity_type_name(self):
return "Microsoft.Online.SharePoint.TenantManagement.ExternalUser"
| data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/tenant/management/externalusers/external_user.py | 206 | 58 | 189,326 |
LOAD_CONST 1
LOAD_CONST ('MathJaxExtension',)
IMPORT_NAME app
IMPORT_FROM MathJaxExtension
STORE_NAME MathJaxExtension
POP_TOP
LOAD_CONST <code object _jupyter_server_extension_points at 0x7fab81fc6b70, file "f.py", line 4>
LOAD_CONST '_jupyter_server_extension_points'
MAKE_FUNCTION
STORE_NAME _jupyter_server_extensio... | from .app import MathJaxExtension
def _jupyter_server_extension_points():
return [
{"module": "jupyter_server_mathjax", "app": MathJaxExtension},
]
| data/jupyter_server_mathjax-0.2.6/jupyter_server_mathjax/__init__.py | 141 | 58 | 206,112 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.visualize.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.visualize
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.visualize."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.visualize import *
| data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/third_party/efficientdet/visualize/__init__.py | 78 | 58 | 389,357 |
LOAD_CONST 0
LOAD_CONST ('plot_pareto_front',)
IMPORT_NAME optuna.multi_objective.visualization._pareto_front
IMPORT_FROM plot_pareto_front
STORE_NAME plot_pareto_front
POP_TOP
LOAD_CONST 0
LOAD_CONST ('is_available',)
IMPORT_NAME optuna.visualization
IMPORT_FROM is_available
STORE_NAME is_available
POP_TOP
LOAD_CONS... | from optuna.multi_objective.visualization._pareto_front import plot_pareto_front
from optuna.visualization import is_available
__all__ = ["plot_pareto_front", "is_available"]
| data/optuna-3.5.0/optuna/multi_objective/visualization/__init__.py | 114 | 58 | 388,259 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pybullet
STORE_NAME p
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME time
STORE_NAME time
LOAD_NAME p
LOAD_METHOD connect
LOAD_NAME p
LOAD_ATTR GRAPHICS_SERVER
CALL_METHOD
POP_TOP
LOAD_NAME print
LOAD_CONST 'started graphics server'
CALL_FUNCTION
POP_TOP
SETUP_LOOP to 60
LOAD_NAME... | import pybullet as p
import time
p.connect(p.GRAPHICS_SERVER)
print("started graphics server")
while p.isConnected():
time.sleep(1.0 / 240.0)
| data/pybullet-3.2.6/examples/pybullet/gym/pybullet_utils/graphicsServer.py | 128 | 58 | 128,565 |
LOAD_CONST 'Utility functions for parsing an OpenAPI spec. Kept for backwards compat.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('HTTPVerb', 'OpenAPISpec')
IMPORT_NAME langchain_community.utilities.openapi
IMPORT_FROM HTTPVerb
STORE_NAME HTTPVerb
IMPORT_FROM OpenAPISpec
STORE_NAME OpenAPISpec
POP_TOP
LOAD_CONST 'HT... | """Utility functions for parsing an OpenAPI spec. Kept for backwards compat."""
from langchain_community.utilities.openapi import HTTPVerb, OpenAPISpec
__all__ = ["HTTPVerb", "OpenAPISpec"]
| data/langchain-0.1.8/langchain/tools/openapi/utils/openapi_utils.py | 104 | 58 | 369,274 |
SETUP_EXCEPT to 30
LOAD_CONST 0
LOAD_CONST ('VERSION',)
IMPORT_NAME django
IMPORT_FROM VERSION
STORE_NAME _django_version
POP_TOP
LOAD_NAME _django_version
LOAD_CONST (3, 2)
COMPARE_OP <
POP_JUMP_IF_FALSE
LOAD_CONST 'modeltranslation.apps.ModeltranslationConfig'
STORE_NAME default_app_config
POP_BLOCK
JUMP_FORWARD t... | try:
from django import VERSION as _django_version
if _django_version < (3, 2):
default_app_config = "modeltranslation.apps.ModeltranslationConfig"
except ImportError:
pass
| data/django-modeltranslation-0.18.11/modeltranslation/__init__.py | 117 | 59 | 366,440 |
LOAD_CONST 0
LOAD_CONST ('apply_to_tensor', 'apply_to_type', 'convert_tensor', 'to_onehot')
IMPORT_NAME ignite.utils
IMPORT_FROM apply_to_tensor
STORE_NAME apply_to_tensor
IMPORT_FROM apply_to_type
STORE_NAME apply_to_type
IMPORT_FROM convert_tensor
STORE_NAME convert_tensor
IMPORT_FROM to_onehot
STORE_NAME to_onehot
P... | from ignite.utils import apply_to_tensor, apply_to_type, convert_tensor, to_onehot
__all__ = ["apply_to_tensor", "apply_to_type", "convert_tensor", "to_onehot"]
| data/pytorch-ignite-0.4.13/ignite/_utils.py | 135 | 59 | 316,864 |
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME __cmd_group
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME _create
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME _delete
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME _list
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME _show
IMPORT_STAR
... | from .__cmd_group import *
from ._create import *
from ._delete import *
from ._list import *
from ._show import *
from ._update import *
from ._wait import *
from ._exists import *
| data/azure-cli-2.57.0/azure/cli/command_modules/servicebus/aaz/latest/servicebus/namespace/__init__.py | 142 | 59 | 375,794 |
LOAD_CONST 0
LOAD_CONST ('configure_azure_monitor',)
IMPORT_NAME azure.monitor.opentelemetry._configure
IMPORT_FROM configure_azure_monitor
STORE_NAME configure_azure_monitor
POP_TOP
LOAD_CONST 1
LOAD_CONST ('VERSION',)
IMPORT_NAME _version
IMPORT_FROM VERSION
STORE_NAME VERSION
POP_TOP
LOAD_CONST 'configure_azure_mo... | from azure.monitor.opentelemetry._configure import configure_azure_monitor
from ._version import VERSION
__all__ = [
"configure_azure_monitor",
]
__version__ = VERSION
| data/azure-monitor-opentelemetry-1.2.0/azure/monitor/opentelemetry/__init__.py | 108 | 59 | 443,797 |
LOAD_CONST 0
LOAD_CONST ('Enum',)
IMPORT_NAME enum
IMPORT_FROM Enum
STORE_NAME Enum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object ConnectionDirection at 0x7fab820f4660, file "f.py", line 4>
LOAD_CONST 'ConnectionDirection'
MAKE_FUNCTION
LOAD_CONST 'ConnectionDirection'
LOAD_NAME str
LOAD_NAME Enum
CALL_FUNCTION
STO... | from enum import Enum
class ConnectionDirection(str, Enum):
Unknown = ("unknown",)
Inbound = ("inbound",)
Outbound = ("outbound",)
UnknownFutureValue = ("unknownFutureValue",)
| data/msgraph-sdk-1.1.0/msgraph/generated/models/connection_direction.py | 167 | 59 | 259,667 |
LOAD_CONST 'Raise the given error at evaluation time'
STORE_NAME __doc__
LOAD_CONST <code object reraise at 0x7fab823b25d0, file "f.py", line 4>
LOAD_CONST 'reraise'
MAKE_FUNCTION
STORE_NAME reraise
LOAD_CONST None
RETURN_VALUE
LOAD_CLOSURE error
BUILD_TUPLE
LOAD_CONST <code object local_function at 0x7fab8019bb70, f... | """Raise the given error at evaluation time"""
def reraise(error):
"""Return a function that raises the given error when evaluated"""
def local_function(*args, **kwargs):
raise error
return local_function
| data/jupytext-1.16.1/src/jupytext/reraise.py | 148 | 59 | 312,737 |
LOAD_CONST 'AUTOGENERATED. DO NOT EDIT.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('optimizers',)
IMPORT_NAME tf_keras.api._v2.keras.dtensor.experimental
IMPORT_FROM optimizers
STORE_NAME optimizers
POP_TOP
LOAD_CONST 0
LOAD_CONST ('LayoutMap',)
IMPORT_NAME tf_keras.src.dtensor.layout_map
IMPORT_FROM LayoutMap
STOR... | """AUTOGENERATED. DO NOT EDIT."""
from tf_keras.api._v2.keras.dtensor.experimental import optimizers
from tf_keras.src.dtensor.layout_map import LayoutMap
| data/tf_keras-2.15.0/tf_keras/api/_v2/keras/dtensor/experimental/__init__.py | 107 | 59 | 354,154 |
LOAD_CONST 'AUTOGENERATED. DO NOT EDIT.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('BackupAndRestoreExperimental',)
IMPORT_NAME tf_keras.src.callbacks
IMPORT_FROM BackupAndRestoreExperimental
STORE_NAME BackupAndRestore
POP_TOP
LOAD_CONST 0
LOAD_CONST ('UpdateEmbeddingCallback',)
IMPORT_NAME tf_keras.src.callbacks
... | """AUTOGENERATED. DO NOT EDIT."""
from tf_keras.src.callbacks import BackupAndRestoreExperimental as BackupAndRestore
from tf_keras.src.callbacks import UpdateEmbeddingCallback
| data/tf_keras-nightly-2.17.0.dev2024022110/tf_keras/callbacks/experimental/__init__.py | 113 | 59 | 164,726 |
LOAD_CONST 0
LOAD_CONST ('AppConfig',)
IMPORT_NAME django.apps
IMPORT_FROM AppConfig
STORE_NAME AppConfig
POP_TOP
LOAD_CONST 0
LOAD_CONST ('gettext_lazy',)
IMPORT_NAME django.utils.translation
IMPORT_FROM gettext_lazy
STORE_NAME _
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object SequencesConfig at 0x7faa76020540, fil... | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class SequencesConfig(AppConfig):
name = "sequences"
verbose_name = _("Sequences")
| data/django_sequences-3.0/src/sequences/apps.py | 194 | 59 | 205,267 |
LOAD_CONST 0
LOAD_CONST ('migrations',)
IMPORT_NAME django.db
IMPORT_FROM migrations
STORE_NAME migrations
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Migration at 0x7fab40d04e40, file "f.py", line 4>
LOAD_CONST 'Migration'
MAKE_FUNCTION
LOAD_CONST 'Migration'
LOAD_NAME migrations
LOAD_ATTR Migration
CALL_FUNCTIO... | from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("wagtailsearch", "0002_add_verbose_names"),
]
operations = []
| data/wagtail-6.0.1/wagtail/search/migrations/0003_remove_editors_pick.py | 158 | 59 | 200,174 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME time
STORE_NAME time
LOAD_CONST 0
LOAD_CONST ('EasyProcess',)
IMPORT_NAME easyprocess
IMPORT_FROM EasyProcess
STORE_NAME EasyProcess
POP_TOP
LOAD_CONST <code object main at 0x7f8ab6bd5a50, file "f.py", line 6>
LOAD_CONST 'main'
MAKE_FUNCTION
STORE_NAME main
LOAD_NAME __name__... | import time
from easyprocess import EasyProcess
def main():
time.sleep(10)
EasyProcess(["xmessage", "hello"]).start()
if __name__ == "__main__":
main()
| data/PyVirtualDisplay-3.0/tests/slowgui.py | 161 | 59 | 428,819 |
LOAD_CONST 0
LOAD_CONST ('ApiFordelete',)
IMPORT_NAME onelogin.paths.api_2_apps_app_id_parameters_parameter_id.delete
IMPORT_FROM ApiFordelete
STORE_NAME ApiFordelete
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Api2AppsAppIdParametersParameterId at 0x7f8e44712ed0, file "f.py", line 4>
LOAD_CONST 'Api2AppsAppIdPar... | from onelogin.paths.api_2_apps_app_id_parameters_parameter_id.delete import ApiFordelete
class Api2AppsAppIdParametersParameterId(
ApiFordelete,
):
pass
| data/onelogin-3.1.6/onelogin/apis/paths/api_2_apps_app_id_parameters_parameter_id.py | 186 | 59 | 397,288 |
LOAD_CONST 1
LOAD_CONST ('_Generic',)
IMPORT_NAME
IMPORT_FROM _Generic
STORE_NAME _Generic
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object _Blank at 0x7fab81fc6e40, file "f.py", line 4>
LOAD_CONST '_Blank'
MAKE_FUNCTION
LOAD_CONST '_Blank'
LOAD_NAME _Generic
CALL_FUNCTION
STORE_NAME _Blank
LOAD_BUILD_CLASS
LOAD_CONS... | from . import _Generic
class _Blank(_Generic):
_type = "blank"
_icon_dir = "resources/generic/blank"
class Blank(_Blank):
_icon = "blank.png"
| data/diagrams-0.23.4/diagrams/generic/blank.py | 243 | 59 | 206,020 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME unittest
STORE_NAME unittest
LOAD_CONST <code object test_function at 0x7f8af15c2c00, file "f.py", line 4>
LOAD_CONST 'test_function'
MAKE_FUNCTION
STORE_NAME test_function
LOAD_BUILD_CLASS
LOAD_CONST <code object TestClass at 0x7f8af15c2f60, file "f.py", line 8>
LOAD_CONST 'T... | import unittest
def test_function():
pass
class TestClass:
def test_class(self):
pass
class TestCase(unittest.TestCase):
def test(self):
pass
| data/nose-1.3.7/functional_tests/doc_tests/test_issue145/support/package1/test_module.py | 361 | 59 | 401,813 |
LOAD_CONST "For using as 'python3 -m duckduckgo_search'."
STORE_NAME __doc__
LOAD_CONST 1
LOAD_CONST ('cli',)
IMPORT_NAME cli
IMPORT_FROM cli
STORE_NAME cli
POP_TOP
LOAD_NAME __name__
LOAD_CONST '__main__'
COMPARE_OP ==
POP_JUMP_IF_FALSE
LOAD_NAME cli
LOAD_CONST 'duckduckgo_search'
LOAD_CONST ('prog_name',)
CALL_FUN... | """For using as 'python3 -m duckduckgo_search'."""
from .cli import cli
if __name__ == "__main__":
cli(prog_name="duckduckgo_search")
| data/duckduckgo_search-4.4.3/duckduckgo_search/__main__.py | 102 | 59 | 11,758 |
LOAD_CONST 1
LOAD_CONST ('ResourceManagementClient',)
IMPORT_NAME _resource_management_client
IMPORT_FROM ResourceManagementClient
STORE_NAME ResourceManagementClient
POP_TOP
LOAD_CONST 'ResourceManagementClient'
BUILD_LIST
STORE_NAME __all__
SETUP_EXCEPT to 42
LOAD_CONST 1
LOAD_CONST ('patch_sdk',)
IMPORT_NAME _pat... | from ._resource_management_client import ResourceManagementClient
__all__ = ["ResourceManagementClient"]
try:
from ._patch import patch_sdk # type: ignore
patch_sdk()
except ImportError:
pass
| data/azure-ai-ml-1.13.0/azure/ai/ml/_vendor/azure_resources/__init__.py | 136 | 59 | 425,886 |
LOAD_CONST 0
LOAD_CONST ('IP2Location',)
IMPORT_NAME IP2Location.database
IMPORT_FROM IP2Location
STORE_NAME IP2Location
POP_TOP
LOAD_CONST 0
LOAD_CONST ('IP2LocationWebService',)
IMPORT_NAME IP2Location.webservice
IMPORT_FROM IP2LocationWebService
STORE_NAME IP2LocationWebService
POP_TOP
LOAD_CONST 0
LOAD_CONST ('IP... | from IP2Location.database import IP2Location
from IP2Location.webservice import IP2LocationWebService
from IP2Location.iptools import IP2LocationIPTools
from IP2Location.country import Country
from IP2Location.region import Region
| data/IP2Location-8.10.2/IP2Location/__init__.py | 167 | 59 | 131,105 |
LOAD_CONST 'alarm_xmpp'
STORE_NAME NAME
BUILD_LIST
STORE_NAME CFLAGS
BUILD_LIST
STORE_NAME LDFLAGS
LOAD_CONST '-lgloox'
BUILD_LIST
STORE_NAME LIBS
LOAD_CONST 'alarm_xmpp_plugin'
LOAD_CONST 'gloox.cc'
BUILD_LIST
STORE_NAME GCC_LIST
LOAD_CONST None
RETURN_VALUE | NAME = "alarm_xmpp"
CFLAGS = []
LDFLAGS = []
LIBS = ["-lgloox"]
GCC_LIST = ["alarm_xmpp_plugin", "gloox.cc"]
| data/uwsgi-2.0.24/plugins/alarm_xmpp/uwsgiplugin.py | 80 | 59 | 398,265 |
LOAD_CONST 'Eleven Labs Services Tools.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('ElevenLabsText2SpeechTool',)
IMPORT_NAME langchain_community.tools.eleven_labs.text2speech
IMPORT_FROM ElevenLabsText2SpeechTool
STORE_NAME ElevenLabsText2SpeechTool
POP_TOP
LOAD_CONST 'ElevenLabsText2SpeechTool'
BUILD_LIST
STORE_NA... | """Eleven Labs Services Tools."""
from langchain_community.tools.eleven_labs.text2speech import ElevenLabsText2SpeechTool
__all__ = ["ElevenLabsText2SpeechTool"]
| data/langchain-0.1.8/langchain/tools/eleven_labs/__init__.py | 106 | 59 | 369,288 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME eventlet
STORE_NAME eventlet
LOAD_CONST <code object test_pathlib_open_issue_534 at 0x7fab41668660, file "f.py", line 4>
LOAD_CONST 'test_pathlib_open_issue_534'
MAKE_FUNCTION
STORE_NAME test_pathlib_open_issue_534
LOAD_CONST None
RETURN_VALUE
LOAD_GLOBAL eventlet
LOAD_METHOD ... | import eventlet
def test_pathlib_open_issue_534():
pathlib = eventlet.import_patched("pathlib")
path = pathlib.Path(__file__)
with path.open():
pass
| data/eventlet-0.35.1/tests/os_test.py | 171 | 59 | 361,825 |
LOAD_CONST 'This URLconf exists because Django expects ROOT_URLCONF to exist. URLs\nshould be added within the test folders, and use TestCase.urls to set them.\nThis helps the tests remain isolated.\n'
STORE_NAME __doc__
BUILD_LIST
STORE_NAME urlpatterns
LOAD_CONST None
RETURN_VALUE | """This URLconf exists because Django expects ROOT_URLCONF to exist. URLs
should be added within the test folders, and use TestCase.urls to set them.
This helps the tests remain isolated.
"""
urlpatterns = []
| data/Django-5.0.2/tests/urls.py | 71 | 59 | 325,135 |
LOAD_CONST '\nURL definitions for enterprise API endpoint.\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('include', 'path')
IMPORT_NAME django.urls
IMPORT_FROM include
STORE_NAME include
IMPORT_FROM path
STORE_NAME path
POP_TOP
LOAD_NAME path
LOAD_CONST 'api/'
LOAD_NAME include
LOAD_CONST 'enterprise_learner_portal.... | """
URL definitions for enterprise API endpoint.
"""
from django.urls import include, path
urlpatterns = [path("api/", include("enterprise_learner_portal.api.urls"), name="api")]
| data/edx-enterprise-4.12.1/enterprise_learner_portal/urls.py | 110 | 59 | 91,387 |
LOAD_CONST '2021.2.0-opencv_winpack_dldt'
LOAD_NAME os
LOAD_ATTR environ
LOAD_CONST 'CI_BUILD_NUMBER'
STORE_SUBSCR
LOAD_CONST 'ON'
LOAD_NAME cmake_vars
LOAD_CONST 'ENABLE_V10_SERIALIZE'
STORE_SUBSCR
LOAD_CONST None
RETURN_VALUE | os.environ["CI_BUILD_NUMBER"] = "2021.2.0-opencv_winpack_dldt"
cmake_vars["ENABLE_V10_SERIALIZE"] = "ON"
| data/opencv-python-headless-4.9.0.80/opencv/platforms/winpack_dldt/2021.2/build.config.py | 76 | 59 | 396,243 |
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME base.log
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('_get_py_loglevel',)
IMPORT_NAME base.log
IMPORT_FROM _get_py_loglevel
STORE_NAME _get_py_loglevel
POP_TOP
LOAD_CONST None
RETURN_VALUE | from .base.log import * # Import explicitly for use in https://github.com/DataDog/datadog-agent/blob/master/cmd/agent/dist/config.py
from .base.log import _get_py_loglevel
| data/datadog_checks_base-36.1.0/datadog_checks/log.py | 64 | 59 | 442,741 |
LOAD_CONST 1
LOAD_CONST ('debug_mode',)
IMPORT_NAME
IMPORT_FROM debug_mode
STORE_NAME debug_mode
POP_TOP
LOAD_CONST 1
LOAD_CONST ('START_MSG', 'STOP_MSG', 'ChainedIdentity')
IMPORT_NAME chained_identity
IMPORT_FROM START_MSG
STORE_NAME START_MSG
IMPORT_FROM STOP_MSG
STORE_NAME STOP_MSG
IMPORT_FROM ChainedIdentity
STOR... | from . import debug_mode
from .chained_identity import START_MSG, STOP_MSG, ChainedIdentity
__all__ = ["debug_mode", "ChainedIdentity", "START_MSG", "STOP_MSG"]
| data/azure-ai-ml-1.13.0/azure/ai/ml/_logging/__init__.py | 139 | 59 | 426,214 |
LOAD_CONST 'Constants for the Azure DevOps integration.'
STORE_NAME __doc__
LOAD_CONST 'azure_devops'
STORE_NAME DOMAIN
LOAD_CONST 'organization'
STORE_NAME CONF_ORG
LOAD_CONST 'project'
STORE_NAME CONF_PROJECT
LOAD_CONST 'personal_access_token'
STORE_NAME CONF_PAT
LOAD_CONST None
RETURN_VALUE | """Constants for the Azure DevOps integration."""
DOMAIN = "azure_devops"
CONF_ORG = "organization"
CONF_PROJECT = "project"
CONF_PAT = "personal_access_token"
| data/homeassistant-2024.2.2/homeassistant/components/azure_devops/const.py | 79 | 59 | 296,308 |
LOAD_CONST '\nTODO: add a docstring.\n\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('TemplateSpec',)
IMPORT_NAME pystache
IMPORT_FROM TemplateSpec
STORE_NAME TemplateSpec
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Simple at 0x7fab82132810, file "f.py", line 9>
LOAD_CONST 'Simple'
MAKE_FUNCTION
LOAD_CONST 'Sim... | """
TODO: add a docstring.
"""
from pystache import TemplateSpec
class Simple(TemplateSpec):
def thing(self):
return "pizza"
def blank(self):
return ""
| data/pystache-0.6.5/pystache/tests/examples/simple.py | 243 | 59 | 366,311 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME subprocess
STORE_NAME subprocess
LOAD_NAME subprocess
LOAD_ATTR check_output
LOAD_CONST '/some_command'
LOAD_CONST 'args'
LOAD_CONST True
LOAD_CONST True
LOAD_CONST ('shell', 'universal_newlines')
CALL_FUNCTION
POP_TOP
LOAD_NAME subprocess
LOAD_ATTR check_output
LOAD_CONST '/s... | import subprocess
subprocess.check_output("/some_command", "args", shell=True, universal_newlines=True)
subprocess.check_output("/some_command", "args", shell=True, universal_newlines=True)
| data/bandit-1.7.7/examples/multiline_statement.py | 108 | 59 | 56,728 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.