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
BUILD_LIST STORE_NAME __all__ LOAD_BUILD_CLASS LOAD_CONST <code object DummyClass at 0x7fab822ea270, file "f.py", line 4> LOAD_CONST 'DummyClass' MAKE_FUNCTION LOAD_CONST 'DummyClass' CALL_FUNCTION STORE_NAME DummyClass LOAD_CONST None RETURN_VALUE LOAD_NAME __name__ STORE_NAME __module__ LOAD_CONST 'DummyClass' STOR...
__all__ = [] class DummyClass: def __init__(self, *args, **kwargs): pass def __getattr__(self, item): return lambda *args, **kwargs: ... def __call__(self, *args, **kwargs): pass
data/FastNLP-1.0.1/fastNLP/core/utils/dummy_class.py
338
74
367,482
LOAD_CONST 0 LOAD_CONST ('classify', 'detect', 'obb', 'pose', 'segment') IMPORT_NAME ultralytics.models.yolo IMPORT_FROM classify STORE_NAME classify IMPORT_FROM detect STORE_NAME detect IMPORT_FROM obb STORE_NAME obb IMPORT_FROM pose STORE_NAME pose IMPORT_FROM segment STORE_NAME segment POP_TOP LOAD_CONST 1 LOAD_CON...
from ultralytics.models.yolo import classify, detect, obb, pose, segment from .model import YOLO, YOLOWorld __all__ = "classify", "segment", "detect", "pose", "obb", "YOLO", "YOLOWorld"
data/ultralytics-8.1.17/ultralytics/models/yolo/__init__.py
160
74
144,592
LOAD_CONST 0 LOAD_CONST ('project_default_networks',) IMPORT_NAME neutron_lib.api.definitions IMPORT_FROM project_default_networks STORE_NAME dn POP_TOP LOAD_CONST 0 LOAD_CONST ('base',) IMPORT_NAME neutron_lib.tests.unit.api.definitions IMPORT_FROM base STORE_NAME base POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code objec...
from neutron_lib.api.definitions import project_default_networks as dn from neutron_lib.tests.unit.api.definitions import base class DefaultNetworksDefinitionTestCase(base.DefinitionBaseTestCase): extension_module = dn extension_attributes = (dn.PROJECT_DEFAULT,)
data/neutron-lib-3.10.0/neutron_lib/tests/unit/api/definitions/test_project_default_networks.py
211
74
384,980
LOAD_CONST 'NLP Metrics.' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('masked_accuracy',) IMPORT_NAME IMPORT_FROM masked_accuracy STORE_NAME masked_accuracy POP_TOP LOAD_CONST 1 LOAD_CONST ('length_normalized_loss',) IMPORT_NAME IMPORT_FROM length_normalized_loss STORE_NAME length_normalized_loss POP_TOP LOAD_CONST ...
"""NLP Metrics.""" from . import masked_accuracy from . import length_normalized_loss from .masked_accuracy import * from .length_normalized_loss import * __all__ = masked_accuracy.__all__ + length_normalized_loss.__all__
data/gluonnlp-0.10.0/src/gluonnlp/metric/__init__.py
161
74
370,887
LOAD_CONST 0 LOAD_CONST ('absolute_import',) IMPORT_NAME __future__ IMPORT_FROM absolute_import STORE_NAME absolute_import POP_TOP LOAD_CONST 1 LOAD_CONST ('SecretsClient',) IMPORT_NAME secrets_client IMPORT_FROM SecretsClient STORE_NAME SecretsClient POP_TOP LOAD_CONST 1 LOAD_CONST ('SecretsClientCompositeOperations...
from __future__ import absolute_import from .secrets_client import SecretsClient from .secrets_client_composite_operations import SecretsClientCompositeOperations from . import models __all__ = ["SecretsClient", "SecretsClientCompositeOperations", "models"]
data/oci-2.122.0/src/oci/secrets/__init__.py
165
74
412,501
LOAD_CONST 0 LOAD_CONST ('subnetpool_prefix_ops',) IMPORT_NAME neutron_lib.api.definitions IMPORT_FROM subnetpool_prefix_ops STORE_NAME subnetpool_prefix_ops POP_TOP LOAD_CONST 0 LOAD_CONST ('base',) IMPORT_NAME neutron_lib.tests.unit.api.definitions IMPORT_FROM base STORE_NAME base POP_TOP LOAD_BUILD_CLASS LOAD_CONS...
from neutron_lib.api.definitions import subnetpool_prefix_ops from neutron_lib.tests.unit.api.definitions import base class SubnetPoolPrefixOpsDefinitionTestCase(base.DefinitionBaseTestCase): extension_module = subnetpool_prefix_ops extension_attributes = ()
data/neutron-lib-3.10.0/neutron_lib/tests/unit/api/definitions/test_subnetpool_prefix_ops.py
230
74
384,942
LOAD_CONST ('prints more info', 'flag', 'v') LOAD_CONST 'connection string' LOAD_CONST ('verbose', 'dsn') BUILD_CONST_KEY_MAP LOAD_CONST <code object main at 0x7fab540c5420, file "f.py", line 1> LOAD_CONST 'main' MAKE_FUNCTION STORE_NAME main LOAD_NAME __name__ LOAD_CONST '__main__' COMPARE_OP == POP_JUMP_IF_FALSE LO...
def main(verbose: ("prints more info", "flag", "v"), dsn: "connection string"): if verbose: print("connecting to %s" % dsn) if __name__ == "__main__": import plac plac.call(main)
data/plac-1.4.2/doc/example9.py
160
74
112,225
LOAD_CONST 1 LOAD_CONST ('SecurityCenter',) IMPORT_NAME _security_center IMPORT_FROM SecurityCenter STORE_NAME SecurityCenter POP_TOP LOAD_CONST 'SecurityCenter' BUILD_LIST STORE_NAME __all__ SETUP_EXCEPT to 42 LOAD_CONST 1 LOAD_CONST ('patch_sdk',) IMPORT_NAME _patch IMPORT_FROM patch_sdk STORE_NAME patch_sdk POP_T...
from ._security_center import SecurityCenter __all__ = ["SecurityCenter"] try: from ._patch import patch_sdk # type: ignore patch_sdk() except ImportError: pass from ._version import VERSION __version__ = VERSION
data/azure-mgmt-security-6.0.0/azure/mgmt/security/__init__.py
168
74
62,211
LOAD_CONST 0 LOAD_CONST ('FireblocksSDK',) IMPORT_NAME fireblocks_sdk.sdk IMPORT_FROM FireblocksSDK STORE_NAME FireblocksSDK POP_TOP LOAD_CONST 0 LOAD_CONST ('FireblocksNCW',) IMPORT_NAME fireblocks_sdk.ncw_sdk IMPORT_FROM FireblocksNCW STORE_NAME FireblocksNCW POP_TOP LOAD_CONST 0 LOAD_CONST ('SdkTokenProvider',) IM...
from fireblocks_sdk.sdk import FireblocksSDK from fireblocks_sdk.ncw_sdk import FireblocksNCW from fireblocks_sdk.sdk_token_provider import SdkTokenProvider from fireblocks_sdk.api_types import * from fireblocks_sdk.tokenization_api_types import *
data/fireblocks_sdk-2.5.1/fireblocks_sdk/__init__.py
168
74
384,715
LOAD_CONST 1 LOAD_CONST ('Compressor',) IMPORT_NAME lz4 IMPORT_FROM Compressor STORE_NAME BaseCompressor POP_TOP LOAD_CONST 1 LOAD_CONST ('Decompressor',) IMPORT_NAME lz4 IMPORT_FROM Decompressor STORE_NAME BaseDecompressor POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Compressor at 0x7f8ab68a5780, file "f.py", li...
from .lz4 import Compressor as BaseCompressor from .lz4 import Decompressor as BaseDecompressor class Compressor(BaseCompressor): mode = "high_compression" class Decompressor(BaseDecompressor): pass
data/asynch-0.2.3/asynch/proto/compression/lz4hc.py
278
74
427,538
LOAD_CONST 0 LOAD_CONST ('absolute_import',) IMPORT_NAME __future__ IMPORT_FROM absolute_import STORE_NAME absolute_import POP_TOP LOAD_CONST 1 LOAD_CONST ('LogSearchClient',) IMPORT_NAME log_search_client IMPORT_FROM LogSearchClient STORE_NAME LogSearchClient POP_TOP LOAD_CONST 1 LOAD_CONST ('LogSearchClientComposit...
from __future__ import absolute_import from .log_search_client import LogSearchClient from .log_search_client_composite_operations import LogSearchClientCompositeOperations from . import models __all__ = ["LogSearchClient", "LogSearchClientCompositeOperations", "models"]
data/oci-2.122.0/src/oci/loggingsearch/__init__.py
169
74
410,764
LOAD_CONST 0 LOAD_CONST ('BaseCommand',) IMPORT_NAME django.core.management.base IMPORT_FROM BaseCommand STORE_NAME BaseCommand POP_TOP LOAD_CONST 0 LOAD_CONST ('reverse',) IMPORT_NAME django.urls IMPORT_FROM reverse STORE_NAME reverse POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Command at 0x7f8b2000b420, file "...
from django.core.management.base import BaseCommand from django.urls import reverse class Command(BaseCommand): """ This command returns a URL from a reverse() call. """ def handle(self, *args, **options): return reverse("some_url")
data/Django-5.0.2/tests/user_commands/management/commands/reverse_url.py
231
74
325,968
LOAD_CONST 0 LOAD_CONST ('Resource',) IMPORT_NAME braintree.resource IMPORT_FROM Resource STORE_NAME Resource POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object ConnectedMerchantPayPalStatusChanged at 0x7f8e2fe41b70, file "f.py", line 4> LOAD_CONST 'ConnectedMerchantPayPalStatusChanged' MAKE_FUNCTION LOAD_CONST 'Connect...
from braintree.resource import Resource class ConnectedMerchantPayPalStatusChanged(Resource): def __init__(self, gateway, attributes): Resource.__init__(self, gateway, attributes) @property def merchant_id(self): return self.merchant_public_id
data/braintree-4.26.0/braintree/connected_merchant_paypal_status_changed.py
308
74
327,671
LOAD_CONST 0 LOAD_CONST ('DDLParser',) IMPORT_NAME simple_ddl_parser IMPORT_FROM DDLParser STORE_NAME DDLParser POP_TOP LOAD_CONST '\nCREATE TABLE tablename ();\n\n' STORE_NAME ddl LOAD_NAME DDLParser LOAD_NAME ddl CALL_FUNCTION LOAD_ATTR run LOAD_CONST True LOAD_CONST 'mysql' LOAD_CONST ('group_by_type', 'output_mod...
from simple_ddl_parser import DDLParser ddl = """ CREATE TABLE tablename (); """ result = DDLParser(ddl).run(group_by_type=True, output_mode="mysql") import pprint pprint.pprint(result)
data/simple_ddl_parser-1.0.3/simple_ddl_parser/test.py
135
74
187,556
LOAD_CONST '\nCopyright Hagen Fritsch, 2012, License: GPL-2.0\n_marshal.py adpoted from pypy (MIT License)\n\nSome small modifications and adaption to xdis by Rocky Bernstein\n' STORE_NAME __doc__ LOAD_CONST 'restructuredtext' STORE_NAME __docformat__ LOAD_CONST None RETURN_VALUE
""" Copyright Hagen Fritsch, 2012, License: GPL-2.0 _marshal.py adpoted from pypy (MIT License) Some small modifications and adaption to xdis by Rocky Bernstein """ __docformat__ = "restructuredtext"
data/xdis-6.0.5/xdis/dropbox/__init__.py
89
74
85,235
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os STORE_NAME os LOAD_CONST 0 LOAD_CONST ('defaults',) IMPORT_NAME openstack.config IMPORT_FROM defaults STORE_NAME defaults POP_TOP LOAD_NAME os LOAD_ATTR path LOAD_METHOD join LOAD_NAME os LOAD_ATTR path LOAD_METHOD dirname LOAD_NAME os LOAD_ATTR path LOAD_METHOD realpath LO...
import os from openstack.config import defaults _json_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), "defaults.json") def get_defaults(): return defaults.get_defaults(json_path=_json_path)
data/os-client-config-2.1.0/os_client_config/defaults.py
172
74
221,737
LOAD_CONST 0 LOAD_CONST ('AggregationPrimitive',) IMPORT_NAME featuretools.primitives.base.aggregation_primitive_base IMPORT_FROM AggregationPrimitive STORE_NAME AggregationPrimitive POP_TOP LOAD_CONST 0 LOAD_CONST ('TransformPrimitive',) IMPORT_NAME featuretools.primitives.base.transform_primitive_base IMPORT_FROM Tr...
from featuretools.primitives.base.aggregation_primitive_base import AggregationPrimitive from featuretools.primitives.base.transform_primitive_base import TransformPrimitive from featuretools.primitives.standard.aggregation import * from featuretools.primitives.standard.transform import *
data/featuretools-1.29.0/featuretools/primitives/standard/__init__.py
145
74
421,963
LOAD_CONST <code object create_test_varpositional at 0x7fadb5811c00, file "f.py", line 1> LOAD_CONST 'create_test_varpositional' MAKE_FUNCTION STORE_NAME create_test_varpositional LOAD_CONST None RETURN_VALUE LOAD_CONST 0 LOAD_CONST ('class_decorator', 'DECORATED') IMPORT_NAME decopatch IMPORT_FROM class_decorator STO...
def create_test_varpositional(): from decopatch import class_decorator, DECORATED @class_decorator def replace_with(*args, cls=DECORATED): assert cls is not DECORATED return args return replace_with
data/decopatch-1.4.10/tests/_test_issues_py3.py
245
74
85,147
LOAD_CONST 0 LOAD_CONST ('Package',) IMPORT_NAME localstack.packages IMPORT_FROM Package STORE_NAME Package POP_TOP LOAD_CONST 0 LOAD_CONST ('pro_package',) IMPORT_NAME localstack_ext.packages.core IMPORT_FROM pro_package STORE_NAME pro_package POP_TOP LOAD_NAME pro_package LOAD_CONST 'kafka' LOAD_CONST ('name',) CAL...
from localstack.packages import Package from localstack_ext.packages.core import pro_package @pro_package(name="kafka") def kafka_package(): from localstack_ext.services.kafka.packages import kafka_package as A return A
data/localstack-ext-3.1.0/localstack_ext/services/kafka/plugins.py
188
74
441,268
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_NAME open LOAD_NAME sys LOAD_ATTR argv LOAD_CONST 1 BINARY_SUBSCR CALL_FUNCTION SETUP_WITH to 52 STORE_NAME ifile LOAD_NAME ifile LOAD_METHOD readline CALL_METHOD LOAD_METHOD strip CALL_METHOD LOAD_CONST '42' COMPARE_OP != POP_JUMP_IF_FALSE LOAD_NAME p...
import sys with open(sys.argv[1]) as ifile: if ifile.readline().strip() != "42": print("Incorrect input") with open(sys.argv[2], "w") as ofile: ofile.write("Success\n")
data/meson-1.3.2/test cases/common/69 configure file in custom target/src/mycompiler.py
165
74
82,049
LOAD_CONST 0 LOAD_CONST ('absolute_import', 'division', 'print_function') 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 POP_TOP LOAD_NAME type STORE_NAME __metaclass__ LOAD_CONST 0 LOAD_CONST ...
from __future__ import absolute_import, division, print_function __metaclass__ = type from ansible_collections.community.general.plugins.modules import facter_facts from .helper import Helper Helper.from_module(facter_facts, __name__)
data/ansible-9.2.0/ansible_collections/community/general/tests/unit/plugins/modules/test_facter_facts.py
166
74
275,118
LOAD_CONST 1 LOAD_CONST ('verify_response', 'verify_signed_in', 'verify_config_variables', 'verify_rest_api_version', 'verify_api_method_exists', 'verify_connection') IMPORT_NAME verification IMPORT_FROM verify_response STORE_NAME verify_response IMPORT_FROM verify_signed_in STORE_NAME verify_signed_in IMPORT_FROM veri...
from .verification import ( verify_response, verify_signed_in, verify_config_variables, verify_rest_api_version, verify_api_method_exists, verify_connection, ) from .validation import validate_schedule_state_override
data/tableau_api_lib-0.1.50/src/tableau_api_lib/decorators/__init__.py
200
74
169,744
LOAD_CONST 0 LOAD_CONST ('collect_data_files', 'collect_dynamic_libs') IMPORT_NAME PyInstaller.utils.hooks IMPORT_FROM collect_data_files STORE_NAME collect_data_files IMPORT_FROM collect_dynamic_libs STORE_NAME collect_dynamic_libs POP_TOP LOAD_CONST 0 LOAD_CONST ('is_win',) IMPORT_NAME PyInstaller.compat IMPORT_FROM...
from PyInstaller.utils.hooks import collect_data_files, collect_dynamic_libs from PyInstaller.compat import is_win if is_win: datas = collect_data_files("webview", subdir="lib") binaries = collect_dynamic_libs("webview")
data/pyinstaller-hooks-contrib-2024.1/src/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-webview.py
156
74
282,074
LOAD_CONST <code object iter at 0x7fab54336f60, file "f.py", line 1> LOAD_CONST 'iter' MAKE_FUNCTION STORE_NAME iter LOAD_CONST 10 LOAD_CONST 20 LOAD_CONST 30 BUILD_LIST STORE_NAME A LOAD_NAME list LOAD_NAME iter LOAD_NAME A CALL_FUNCTION CALL_FUNCTION LOAD_NAME A COMPARE_OP == POP_JUMP_IF_TRUE LOAD_GLOBAL AssertionE...
def iter(self): i = 0 try: while True: v = self[i] yield v i += 1 except IndexError: return A = [10, 20, 30] assert list(iter(A)) == A
data/uncompyle6-3.9.0/test/simple_source/bug36/05_try_whiletrue.py
196
74
441,998
LOAD_CONST 0 LOAD_CONST ('backend_to_check', 'check_import') IMPORT_NAME bt IMPORT_FROM backend_to_check STORE_NAME backend_to_check IMPORT_FROM check_import STORE_NAME check_import POP_TOP LOAD_CONST 0 LOAD_CONST ('platform_is_osx',) IMPORT_NAME pyscreenshot.util IMPORT_FROM platform_is_osx STORE_NAME platform_is_osx...
from bt import backend_to_check, check_import from pyscreenshot.util import platform_is_osx if not platform_is_osx(): if check_import("PySide"): def test_pyside(): backend_to_check("pyside")
data/pyscreenshot-3.1/tests/test_pyside.py
202
74
12,430
LOAD_CONST 0 LOAD_CONST ('absolute_import', 'division', 'print_function') 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 POP_TOP LOAD_NAME type STORE_NAME __metaclass__ LOAD_CONST 0 LOAD_CONST ...
from __future__ import absolute_import, division, print_function __metaclass__ = type from ansible_collections.community.general.plugins.modules import gio_mime from .helper import Helper Helper.from_module(gio_mime, __name__)
data/ansible-9.2.0/ansible_collections/community/general/tests/unit/plugins/modules/test_gio_mime.py
166
74
275,226
LOAD_CONST 0 LOAD_CONST ('Enum', 'IntEnum', 'IntFlag', 'auto') IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum IMPORT_FROM IntEnum STORE_NAME IntEnum IMPORT_FROM IntFlag STORE_NAME IntFlag IMPORT_FROM auto STORE_NAME auto POP_TOP SETUP_EXCEPT to 42 LOAD_CONST 0 LOAD_CONST ('StrEnum',) IMPORT_NAME enum IMPORT_FROM S...
from enum import Enum, IntEnum, IntFlag, auto try: from enum import StrEnum except ImportError: # pragma: no cover class StrEnum(str, Enum): pass AMTYPE_INDEX = "i" AMTYPE_TABLE = "t"
data/pglast-6.2/pglast/enums/pg_am.py
245
74
344,088
LOAD_CONST 0 LOAD_CONST ('partial',) IMPORT_NAME functools IMPORT_FROM partial STORE_NAME partial POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME unicodedata STORE_NAME unicodedata LOAD_CONST 0 LOAD_CONST None IMPORT_NAME regex STORE_NAME regex LOAD_CONST '�' STORE_NAME REPLACEMENT_MARKER LOAD_NAME partial LOAD_NA...
from functools import partial import unicodedata import regex REPLACEMENT_MARKER = "�" nfd = partial(unicodedata.normalize, "NFD") grapheme_pattern = regex.compile(r"\X", regex.UNICODE)
data/segments-2.2.1/src/segments/util.py
137
74
117,173
LOAD_CONST 0 LOAD_CONST ('Annotated',) IMPORT_NAME typing IMPORT_FROM Annotated STORE_NAME Annotated POP_TOP LOAD_CONST 0 LOAD_CONST ('FastAPI', 'Query') IMPORT_NAME fastapi IMPORT_FROM FastAPI STORE_NAME FastAPI IMPORT_FROM Query STORE_NAME Query POP_TOP LOAD_NAME FastAPI CALL_FUNCTION STORE_NAME app LOAD_NAME app ...
from typing import Annotated from fastapi import FastAPI, Query app = FastAPI() @app.get("/items/") async def read_items(q: Annotated[list, Query()] = []): query_items = {"q": q} return query_items
data/fastapi-0.109.2/docs_src/query_params_str_validations/tutorial013_an_py39.py
195
74
142,648
LOAD_CONST 'Module houses default DataFrame functions builder class.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pandas STORE_NAME pandas LOAD_CONST 0 LOAD_CONST ('_inherit_docstrings',) IMPORT_NAME modin.utils IMPORT_FROM _inherit_docstrings STORE_NAME _inherit_docstrings POP_TOP LOAD_CONST 1 LOAD_...
"""Module houses default DataFrame functions builder class.""" import pandas from modin.utils import _inherit_docstrings from .default import DefaultMethod @_inherit_docstrings(DefaultMethod) class DataFrameDefault(DefaultMethod): DEFAULT_OBJECT_TYPE = pandas.DataFrame
data/modin-0.27.0/modin/core/dataframe/algebra/default2pandas/dataframe.py
227
74
165,575
LOAD_CONST '\nVarious utilities.\n' STORE_NAME __doc__ SETUP_EXCEPT to 22 LOAD_NAME basestring POP_TOP LOAD_CONST <code object isstr at 0x7fab8234adb0, file "f.py", line 8> LOAD_CONST 'isstr' MAKE_FUNCTION STORE_NAME isstr POP_BLOCK JUMP_FORWARD to 50 DUP_TOP LOAD_NAME NameError COMPARE_OP exception match POP_JUMP_...
""" Various utilities. """ try: basestring # attempt to evaluate basestring def isstr(s): return isinstance(s, basestring) except NameError: def isstr(s): return isinstance(s, str)
data/Arpeggio-2.0.2/arpeggio/utils.py
196
74
141,422
LOAD_CONST "Print 'Hello world' to the terminal.\n\nThis is a simple test script which in the formal form has a missing final\nline break - which black will add.\n\nThe point of this is the edit position will be at the very end of the file,\nwhich is a corner case.\n" STORE_NAME __doc__ LOAD_NAME print LOAD_CONST 'Hel...
"""Print 'Hello world' to the terminal. This is a simple test script which in the formal form has a missing final line break - which black will add. The point of this is the edit position will be at the very end of the file, which is a corner case. """ print("Hello world")
data/flake8-black-0.3.6/tests/test_changes/hello_world_EOF.py
94
74
387,924
LOAD_CONST ' A source file ' STORE_NAME __doc__ LOAD_CONST 'UNKNOWN' STORE_NAME __version__ LOAD_NAME __version__ LOAD_CONST 'UNKNOWN' COMPARE_OP == POP_JUMP_IF_FALSE LOAD_CONST (0, 0, 0) STORE_NAME __version_info__ JUMP_FORWARD to 42 LOAD_NAME tuple LOAD_NAME map LOAD_NAME int LOAD_NAME __version__ LOAD_METHOD spl...
""" A source file """ __version__ = "UNKNOWN" if __version__ == "UNKNOWN": __version_info__ = (0, 0, 0) else: __version_info__ = tuple(map(int, __version__.split(".")))
data/versioningit-3.0.0/test/data/replace-version/nomatch.py
110
74
46,901
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME picklescan.scanner STORE_NAME picklescan LOAD_CONST <code object scan_model at 0x7fab641f2270, file "f.py", line 4> LOAD_CONST 'scan_model' MAKE_FUNCTION STORE_NAME scan_model LOAD_CONST None RETURN_VALUE LOAD_GLOBAL picklescan LOAD_ATTR scanner LOAD_METHOD scan_file_path LOAD...
import picklescan.scanner def scan_model(file_path): """ Uses `picklescan.scanner.scan_file_path()` to scan and return the results. """ return picklescan.scanner.scan_file_path(file_path)
data/sdkit-2.0.15/sdkit/models/scan_models.py
100
74
211,687
LOAD_CONST 0 LOAD_CONST ('Auth',) IMPORT_NAME firebolt.client.auth.base IMPORT_FROM Auth STORE_NAME Auth POP_TOP LOAD_CONST 0 LOAD_CONST ('ClientCredentials',) IMPORT_NAME firebolt.client.auth.client_credentials IMPORT_FROM ClientCredentials STORE_NAME ClientCredentials POP_TOP LOAD_CONST 0 LOAD_CONST ('ServiceAccoun...
from firebolt.client.auth.base import Auth from firebolt.client.auth.client_credentials import ClientCredentials from firebolt.client.auth.service_account import ServiceAccount from firebolt.client.auth.token import Token from firebolt.client.auth.username_password import UsernamePassword
data/firebolt_sdk-1.3.1/src/firebolt/client/auth/__init__.py
173
74
213,364
LOAD_CONST '\nList resources from the Key Manager service.\n' STORE_NAME __doc__ LOAD_CONST None STORE_NAME s LOAD_CONST <code object get_secret_payload at 0x7fab5408f390, file "f.py", line 8> LOAD_CONST 'get_secret_payload' MAKE_FUNCTION STORE_NAME get_secret_payload LOAD_CONST None RETURN_VALUE LOAD_GLOBAL print L...
""" List resources from the Key Manager service. """ s = None def get_secret_payload(conn): print("Get a secret's payload:") secret = conn.key_manager.get_secret(s.secret_id) print(secret.payload)
data/openstacksdk-2.1.0/examples/key_manager/get.py
153
74
284,817
LOAD_CONST 1 LOAD_CONST ('ShellParser',) IMPORT_NAME utils IMPORT_FROM ShellParser STORE_NAME ShellParser POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Parser at 0x7faa5f1b6c00, file "f.py", line 4> LOAD_CONST 'Parser' MAKE_FUNCTION LOAD_CONST 'Parser' LOAD_NAME ShellParser CALL_FUNCTION STORE_NAME Parser LOAD_CONS...
from .utils import ShellParser class Parser(ShellParser): """Extract text from postscript files using ps2ascii command.""" def extract(self, filename, **kwargs): stdout, _ = self.run(["ps2ascii", filename]) return stdout
data/textract-1.6.5/textract/parsers/ps_parser.py
224
74
243,665
LOAD_CONST ' A source file ' STORE_NAME __doc__ LOAD_CONST 'UNKNOWN' STORE_NAME __version__ LOAD_NAME __version__ LOAD_CONST 'UNKNOWN' COMPARE_OP == POP_JUMP_IF_FALSE LOAD_CONST (0, 0, 0) STORE_NAME __version_info__ JUMP_FORWARD to 42 LOAD_NAME tuple LOAD_NAME map LOAD_NAME int LOAD_NAME __version__ LOAD_METHOD spl...
""" A source file """ __version__ = "UNKNOWN" if __version__ == "UNKNOWN": __version_info__ = (0, 0, 0) else: __version_info__ = tuple(map(int, __version__.split(".")))
data/versioningit-3.0.0/test/data/replace-version/base/source_file.py
110
74
46,908
LOAD_CONST ' A wheel file ' STORE_NAME __doc__ LOAD_CONST 'UNKNOWN' STORE_NAME __version__ LOAD_NAME __version__ LOAD_CONST 'UNKNOWN' COMPARE_OP == POP_JUMP_IF_FALSE LOAD_CONST (0, 0, 0) STORE_NAME __version_info__ JUMP_FORWARD to 42 LOAD_NAME tuple LOAD_NAME map LOAD_NAME int LOAD_NAME __version__ LOAD_METHOD spli...
""" A wheel file """ __version__ = "UNKNOWN" if __version__ == "UNKNOWN": __version_info__ = (0, 0, 0) else: __version_info__ = tuple(map(int, __version__.split(".")))
data/versioningit-3.0.0/test/data/replace-version/base/wheel_file.py
110
74
46,909
LOAD_CONST <code object _85encode at 0x7faa761ee930, file "f.py", line 1> LOAD_CONST '_85encode' MAKE_FUNCTION STORE_NAME _85encode LOAD_CONST <code object __new__ at 0x7faa761eeae0, file "f.py", line 5> LOAD_CONST '__new__' MAKE_FUNCTION STORE_NAME __new__ LOAD_CONST None RETURN_VALUE LOAD_CLOSURE foldnuls BUILD_TUP...
def _85encode(foldnuls, words): return ["z" if foldnuls and word else "y" for word in words] def __new__(metacls, cls, bases, classdict): {k: classdict[k] for k in classdict._member_names}
data/uncompyle6-3.9.0/test/simple_source/bug36/05_if_and_comp.py
336
74
441,969
LOAD_CONST 'The Mazda Connected Services integration.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('ConfigFlow',) IMPORT_NAME homeassistant.config_entries IMPORT_FROM ConfigFlow STORE_NAME ConfigFlow POP_TOP LOAD_CONST 1 LOAD_CONST ('DOMAIN',) IMPORT_NAME IMPORT_FROM DOMAIN STORE_NAME DOMAIN POP_TOP LOAD_BUILD_CLASS...
"""The Mazda Connected Services integration.""" from homeassistant.config_entries import ConfigFlow from . import DOMAIN class MazdaConfigFlow(ConfigFlow, domain=DOMAIN): """Handle a config flow for Mazda Connected Services.""" VERSION = 1
data/homeassistant-2024.2.2/homeassistant/components/mazda/config_flow.py
222
74
297,921
LOAD_CONST 0 LOAD_CONST ('absolute_import',) IMPORT_NAME __future__ IMPORT_FROM absolute_import STORE_NAME absolute_import POP_TOP LOAD_CONST 1 LOAD_CONST ('DataFlowClient',) IMPORT_NAME data_flow_client IMPORT_FROM DataFlowClient STORE_NAME DataFlowClient POP_TOP LOAD_CONST 1 LOAD_CONST ('DataFlowClientCompositeOper...
from __future__ import absolute_import from .data_flow_client import DataFlowClient from .data_flow_client_composite_operations import DataFlowClientCompositeOperations from . import models __all__ = ["DataFlowClient", "DataFlowClientCompositeOperations", "models"]
data/oci-2.122.0/src/oci/data_flow/__init__.py
169
74
410,796
LOAD_CONST 0 LOAD_CONST ('path',) IMPORT_NAME django.urls IMPORT_FROM path STORE_NAME path POP_TOP LOAD_CONST 1 LOAD_CONST ('views',) IMPORT_NAME IMPORT_FROM views STORE_NAME views POP_TOP LOAD_NAME path LOAD_CONST 'draugiem/login/' LOAD_NAME views LOAD_ATTR login LOAD_CONST 'draugiem_login' LOAD_CONST ('name',) CALL...
from django.urls import path from . import views urlpatterns = [ path("draugiem/login/", views.login, name="draugiem_login"), path("draugiem/callback/", views.callback, name="draugiem_callback"), ]
data/django-allauth-0.61.1/allauth/socialaccount/providers/draugiem/urls.py
132
74
336,277
LOAD_CONST 1000 STORE_NAME kCommandStrokedAndFilledRects LOAD_CONST 1001 STORE_NAME kCommandAlphaRects LOAD_CONST 1002 STORE_NAME kCommandSimpleClip LOAD_CONST 1003 STORE_NAME kCommandDrawImageFile LOAD_CONST 1004 STORE_NAME kCommandDoUncachedDrawing LOAD_CONST 1005 STORE_NAME kCommandDoCGLayer LOAD_CONST None RET...
kCommandStrokedAndFilledRects = 1000 kCommandAlphaRects = 1001 kCommandSimpleClip = 1002 kCommandDrawImageFile = 1003 kCommandDoUncachedDrawing = 1004 kCommandDoCGLayer = 1005
data/pyobjc-framework-Quartz-10.1/Examples/Core Graphics/Quartz2DBasics/UIHandling.py
101
74
133,631
LOAD_CONST 0 LOAD_CONST ('AppConfig',) IMPORT_NAME django.apps IMPORT_FROM AppConfig STORE_NAME AppConfig POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object PostgresExtraAppConfig at 0x7fab64179810, file "f.py", line 4> LOAD_CONST 'PostgresExtraAppConfig' MAKE_FUNCTION LOAD_CONST 'PostgresExtraAppConfig' LOAD_NAME AppCo...
from django.apps import AppConfig class PostgresExtraAppConfig(AppConfig): name = "psqlextra" verbose_name = "PostgreSQL Extra" def ready(self) -> None: from .lookups import InValuesLookup # noqa
data/django-postgres-extra-2.0.8/psqlextra/apps.py
258
74
192,439
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os STORE_NAME os LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_NAME sys LOAD_ATTR argv LOAD_CONST 1 BINARY_SUBSCR STORE_NAME out LOAD_NAME os LOAD_METHOD mkdir LOAD_NAME out CALL_METHOD POP_TOP SETUP_LOOP to 96 LOAD_CONST ('a', 'b', 'c') GET_ITER FOR_ITER ...
import os import sys out = sys.argv[1] os.mkdir(out) for name in ("a", "b", "c"): with open(os.path.join(out, name + ".txt"), "w") as f: f.write(name)
data/meson-1.3.2/test cases/common/202 custom target build by default/docgen.py
166
74
82,014
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os STORE_NAME os LOAD_NAME os LOAD_ATTR environ LOAD_METHOD get LOAD_CONST 'AWS_REGION' CALL_METHOD POP_JUMP_IF_FALSE LOAD_CONST 0 LOAD_CONST ('capture_serverless',) IMPORT_NAME elasticapm.contrib.serverless.aws IMPORT_FROM capture_serverless STORE_NAME capture_serverless POP_...
import os if os.environ.get("AWS_REGION"): from elasticapm.contrib.serverless.aws import capture_serverless else: from elasticapm.contrib.serverless.aws import capture_serverless __all__ = ("capture_serverless",)
data/elastic-apm-6.20.0/elasticapm/contrib/serverless/__init__.py
146
74
144,197
LOAD_CONST 1 LOAD_CONST ('SslConfiguration', 'ServiceConfiguration') IMPORT_NAME configuration IMPORT_FROM SslConfiguration STORE_NAME SslConfiguration IMPORT_FROM ServiceConfiguration STORE_NAME ServiceConfiguration POP_TOP LOAD_CONST 1 LOAD_CONST ('RequestsClient', 'Service', 'ConjureHTTPError') IMPORT_NAME requests...
from .configuration import SslConfiguration, ServiceConfiguration from .requests_client import RequestsClient, Service, ConjureHTTPError __all__ = [ "SslConfiguration", "ServiceConfiguration", "RequestsClient", "Service", "ConjureHTTPError", ]
data/conjure-python-client-2.8.0/conjure_python_client/_http/__init__.py
148
74
113,950
LOAD_CONST 0 LOAD_CONST ('patcher',) IMPORT_NAME eventlet IMPORT_FROM patcher STORE_NAME patcher POP_TOP LOAD_CONST 0 LOAD_CONST ('BaseHTTPServer',) IMPORT_NAME eventlet.green IMPORT_FROM BaseHTTPServer STORE_NAME BaseHTTPServer POP_TOP LOAD_CONST 0 LOAD_CONST ('urllib',) IMPORT_NAME eventlet.green IMPORT_FROM urllib...
from eventlet import patcher from eventlet.green import BaseHTTPServer from eventlet.green import urllib patcher.inject("http.server", globals(), ("urllib", urllib)) del patcher if __name__ == "__main__": test()
data/eventlet-0.35.1/eventlet/green/SimpleHTTPServer.py
167
74
361,947
LOAD_CONST 0 LOAD_CONST ('abstractmethod',) IMPORT_NAME abc IMPORT_FROM abstractmethod STORE_NAME abstractmethod POP_TOP LOAD_CONST 0 LOAD_CONST ('Collection',) IMPORT_NAME collections.abc IMPORT_FROM Collection STORE_NAME Collection POP_TOP LOAD_CONST 0 LOAD_CONST ('List',) IMPORT_NAME typing IMPORT_FROM List STORE_...
from abc import abstractmethod from collections.abc import Collection from typing import List class AbstractTrie(Collection): @abstractmethod def autocomplete(self, prefix: str) -> List[str]: """Return a list of all words with the given prefix.""" return []
data/mpu-0.23.1/mpu/datastructures/trie/base.py
257
74
208,609
LOAD_CONST 'The permutation modules contains some functions for permuting on architectures given a mapping.\n\nA permutation function takes in a graph and a permutation of graph nodes,\nand returns a sequence of SWAPs that implements that permutation on the graph.\n' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('Approx...
"""The permutation modules contains some functions for permuting on architectures given a mapping. A permutation function takes in a graph and a permutation of graph nodes, and returns a sequence of SWAPs that implements that permutation on the graph. """ from .token_swapper import ApproximateTokenSwapper
data/qiskit-terra-0.46.0/qiskit/transpiler/passes/routing/algorithms/__init__.py
113
74
430,758
LOAD_NAME ImportError LOAD_CONST 'The ase.ga.bulk_startgenerator module has been deprecated. The same functionality is now provided by the ase.ga.startgenerator module. Please consult its documentation to verify how to e.g. initialize a StartGenerator object.' CALL_FUNCTION RAISE_VARARGS LOAD_CONST None RETURN_VALUE
raise ImportError( "The ase.ga.bulk_startgenerator module has been deprecated. " "The same functionality is now provided by the " "ase.ga.startgenerator module. Please consult its documentation " "to verify how to e.g. initialize a StartGenerator object." )
data/ase-3.22.1/ase/ga/bulk_startgenerator.py
69
74
45,834
LOAD_CONST 'A tracer that runs evaluators over completed runs.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('EvaluatorCallbackHandler', 'wait_for_all_evaluators') IMPORT_NAME langchain_core.tracers.evaluation IMPORT_FROM EvaluatorCallbackHandler STORE_NAME EvaluatorCallbackHandler IMPORT_FROM wait_for_all_evaluators S...
"""A tracer that runs evaluators over completed runs.""" from langchain_core.tracers.evaluation import ( EvaluatorCallbackHandler, wait_for_all_evaluators, ) __all__ = ["wait_for_all_evaluators", "EvaluatorCallbackHandler"]
data/langchain-0.1.8/langchain/callbacks/tracers/evaluation.py
126
74
368,334
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object AuthenticationMethodsPolicyMigrationState at 0x7fab4298e1e0, file "f.py", line 4> LOAD_CONST 'AuthenticationMethodsPolicyMigrationState' MAKE_FUNCTION LOAD_CONST 'AuthenticationMethodsPo...
from enum import Enum class AuthenticationMethodsPolicyMigrationState(str, Enum): PreMigration = ("preMigration",) MigrationInProgress = ("migrationInProgress",) MigrationComplete = ("migrationComplete",) UnknownFutureValue = ("unknownFutureValue",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/authentication_methods_policy_migration_state.py
199
74
262,067
LOAD_CONST <code object register_fix_kms_create_grant_docs at 0x7fab70078f60, file "f.py", line 1> LOAD_CONST 'register_fix_kms_create_grant_docs' MAKE_FUNCTION STORE_NAME register_fix_kms_create_grant_docs LOAD_CONST <code object remove_translation_map at 0x7fab70078ae0, file "f.py", line 5> LOAD_CONST 'remove_transl...
def register_fix_kms_create_grant_docs(cli): cli.register("doc-title.kms.create-grant", remove_translation_map) def remove_translation_map(help_command, **kwargs): help_command.doc.translation_map = {}
data/awscli-1.32.46/awscli/customizations/kms.py
197
74
89,152
LOAD_CONST 1 LOAD_CONST ('resnet18', 'resnet34', 'resnet50', 'resnet101', 'resnet152', 'resnext50_32x4d', 'resnext101_32x8d') IMPORT_NAME resnet IMPORT_FROM resnet18 STORE_NAME resnet18 IMPORT_FROM resnet34 STORE_NAME resnet34 IMPORT_FROM resnet50 STORE_NAME resnet50 IMPORT_FROM resnet101 STORE_NAME resnet101 IMPORT_FR...
from .resnet import ( resnet18, resnet34, resnet50, resnet101, resnet152, resnext50_32x4d, resnext101_32x8d, )
data/modelscope-1.12.0/modelscope/models/cv/image_quality_assessment_mos/backbones/__init__.py
188
74
314,887
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os STORE_NAME os LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_NAME sys LOAD_ATTR argv LOAD_CONST 1 BINARY_SUBSCR STORE_NAME out LOAD_NAME os LOAD_METHOD mkdir LOAD_NAME out CALL_METHOD POP_TOP SETUP_LOOP to 96 LOAD_CONST ('a', 'b', 'c') GET_ITER FOR_ITER ...
import os import sys out = sys.argv[1] os.mkdir(out) for name in ("a", "b", "c"): with open(os.path.join(out, name + ".txt"), "w") as f: f.write(name)
data/numpy-1.26.4/vendored-meson/meson/test cases/common/202 custom target build by default/docgen.py
166
74
363,742
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST 0 LOAD_CONST ('RequestsMock',) IMPORT_NAME responses IMPORT_FROM RequestsMock STORE_NAME RequestsMock POP_TOP LOAD_NAME pytest LOAD_ATTR fixture LOAD_CONST <code object mocked_responses at 0x7fab8244ded0, file "f.py", line 5> LOAD_CONST 'moc...
import pytest from responses import RequestsMock @pytest.fixture def mocked_responses(): requests_mock = RequestsMock(assert_all_requests_are_fired=True) with requests_mock as mocked_responses: yield mocked_responses
data/pytrends-4.9.2/tests/conftest.py
190
74
86,486
LOAD_CONST <code object <listcomp> at 0x7f8af04b8c00, file "f.py", line 1> LOAD_CONST '<listcomp>' MAKE_FUNCTION LOAD_CONST () GET_ITER CALL_FUNCTION POP_TOP LOAD_CONST <code object <setcomp> at 0x7f8af04b89c0, file "f.py", line 2> LOAD_CONST '<setcomp>' MAKE_FUNCTION LOAD_CONST () GET_ITER CALL_FUNCTION POP_TOP LOAD...
[v + 1 for v in [] if False] {v + 1 for v in [] if False} (v + 1 for v in [] if False) {v + 1: v + 2 for v in [] if False} [v + 1 for v in [] if v + 5 if False if v + 6]
data/executing-2.0.1/tests/small_samples/deadcode_listcomp.py
495
74
331,220
LOAD_CONST <code object load at 0x7faa5f6e8f60, file "f.py", line 1> LOAD_CONST 'load' MAKE_FUNCTION STORE_NAME load LOAD_CONST None RETURN_VALUE LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pyomo.scripting.plugins.convert STORE_FAST pyomo LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pyomo.scripting.plugins.solve STORE_FAST ...
def load(): import pyomo.scripting.plugins.convert import pyomo.scripting.plugins.solve import pyomo.scripting.plugins.download import pyomo.scripting.plugins.build_ext import pyomo.scripting.plugins.extras
data/Pyomo-6.7.0/pyomo/scripting/plugins/__init__.py
181
74
23,334
LOAD_BUILD_CLASS LOAD_CONST <code object ProtoWireConstants at 0x7fab54106810, file "f.py", line 1> LOAD_CONST 'ProtoWireConstants' MAKE_FUNCTION LOAD_CONST 'ProtoWireConstants' LOAD_NAME object CALL_FUNCTION STORE_NAME ProtoWireConstants LOAD_CONST None RETURN_VALUE LOAD_NAME __name__ STORE_NAME __module__ LOAD_CONST...
class ProtoWireConstants(object): TUNNEL_META_COUNT = 33554430 TUNNEL_META_CHECKSUM = 33554431 TUNNEL_END_RECORD = 33553408
data/pyodps-0.11.5.post0/odps/tunnel/wireconstants.py
175
74
299,794
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 MLCompute STORE_NAME MLCompute LOAD_BUILD_CLASS LOAD_CONST <code object TestMLCOptimizerDescriptor at 0x7f8ab62f5ed0, file "f.py", line 6> LOAD_CONST 'Tes...
from PyObjCTools.TestSupport import TestCase import MLCompute class TestMLCOptimizerDescriptor(TestCase): def test_methods(self): self.assertResultIsBOOL( MLCompute.MLCOptimizerDescriptor.appliesGradientClipping )
data/pyobjc-framework-MLCompute-10.1/PyObjCTest/test_mlcoptimizerdescriptor.py
262
74
333,383
LOAD_CONST 'Exceptions raised by the ivs service.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('JsonRESTError',) IMPORT_NAME moto.core.exceptions IMPORT_FROM JsonRESTError STORE_NAME JsonRESTError POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object ResourceNotFoundException at 0x7fab81fc66f0, file "f.py", line 6> LOAD_C...
"""Exceptions raised by the ivs service.""" from moto.core.exceptions import JsonRESTError class ResourceNotFoundException(JsonRESTError): code = 404 def __init__(self, message: str): super().__init__("ResourceNotFoundException", message)
data/moto-5.0.2/moto/ivs/exceptions.py
272
74
198,486
LOAD_CONST 0 LOAD_CONST ('absolute_import',) IMPORT_NAME __future__ IMPORT_FROM absolute_import STORE_NAME absolute_import POP_TOP LOAD_CONST 1 LOAD_CONST ('OptimizerClient',) IMPORT_NAME optimizer_client IMPORT_FROM OptimizerClient STORE_NAME OptimizerClient POP_TOP LOAD_CONST 1 LOAD_CONST ('OptimizerClientComposite...
from __future__ import absolute_import from .optimizer_client import OptimizerClient from .optimizer_client_composite_operations import OptimizerClientCompositeOperations from . import models __all__ = ["OptimizerClient", "OptimizerClientCompositeOperations", "models"]
data/oci-2.122.0/src/oci/optimizer/__init__.py
171
74
411,041
LOAD_CONST 0 LOAD_CONST ('ApiConfig',) IMPORT_NAME quandl.api_config IMPORT_FROM ApiConfig STORE_NAME ApiConfig POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object ApiKeyUtil at 0x7fa6f3491db0, file "f.py", line 4> LOAD_CONST 'ApiKeyUtil' MAKE_FUNCTION LOAD_CONST 'ApiKeyUtil' LOAD_NAME object CALL_FUNCTION STORE_NAME Api...
from quandl.api_config import ApiConfig class ApiKeyUtil(object): @staticmethod def init_api_key_from_args(params): if "api_key" in params: ApiConfig.api_key = params.pop("api_key")
data/Quandl-3.7.0/quandl/utils/api_key_util.py
253
74
53,370
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME json STORE_NAME json LOAD_CONST 0 LOAD_CONST ('Any',) IMPORT_NAME typing IMPORT_FROM Any STORE_NAME Any POP_TOP LOAD_CONST 0 LOAD_CONST ('Union',) IMPORT_NAME typing IMPORT_FROM Union STORE_NAME Union POP_TOP LOAD_NAME Any LOAD_NAME str LOAD_CONST ('json_struct', 'return') BU...
import json from typing import Any from typing import Union def dump_json(json_struct: Any) -> str: return json.dumps(json_struct) def load_json(s: Union[str, bytes]) -> Any: return json.loads(s)
data/selenium-4.18.1/selenium/webdriver/remote/utils.py
237
74
110,967
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME IMServicePlugIn STORE_NAME IMServicePlugIn LOAD_CONST 0 LOAD_CONST ('TestCase',) IMPORT_NAME PyObjCTools.TestSupport IMPORT_FROM TestCase STORE_NAME TestCase POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object TestIMServicePlugInPresenceSupport at 0x7fab7002b810, file "f.py", lin...
import IMServicePlugIn # noqa: F401 from PyObjCTools.TestSupport import TestCase class TestIMServicePlugInPresenceSupport(TestCase): def testProtocols(self): self.assertProtocolExists("IMServicePlugInPresenceSupport")
data/pyobjc-framework-IMServicePlugIn-9.2/PyObjCTest/test_imservicepluginpresencesupport.py
273
74
194,537
LOAD_CONST 0 LOAD_CONST ('Resource',) IMPORT_NAME braintree.resource IMPORT_FROM Resource STORE_NAME Resource POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object ConnectedMerchantStatusTransitioned at 0x7f8b2000b0c0, file "f.py", line 4> LOAD_CONST 'ConnectedMerchantStatusTransitioned' MAKE_FUNCTION LOAD_CONST 'Connected...
from braintree.resource import Resource class ConnectedMerchantStatusTransitioned(Resource): def __init__(self, gateway, attributes): Resource.__init__(self, gateway, attributes) @property def merchant_id(self): return self.merchant_public_id
data/braintree-4.26.0/braintree/connected_merchant_status_transitioned.py
309
74
327,727
LOAD_CONST 1 LOAD_CONST ('error_type',) IMPORT_NAME error_type IMPORT_FROM error_type STORE_NAME error_type POP_TOP LOAD_CONST 1 LOAD_CONST ('UnregisteredTypeException',) IMPORT_NAME exceptions IMPORT_FROM UnregisteredTypeException STORE_NAME UnregisteredTypeException POP_TOP LOAD_CONST 1 LOAD_CONST ('input', 'interf...
from .error_type import error_type from .exceptions import UnregisteredTypeException from .object_type import input, interface, type __all__ = [ "error_type", "UnregisteredTypeException", "input", "type", "interface", ]
data/strawberry_graphql-0.219.2/strawberry/experimental/pydantic/__init__.py
152
74
201,495
LOAD_CONST 0 LOAD_CONST ('app',) IMPORT_NAME kubectl_ng.cli IMPORT_FROM app STORE_NAME app POP_TOP LOAD_CONST 0 LOAD_CONST ('CliRunner',) IMPORT_NAME typer.testing IMPORT_FROM CliRunner STORE_NAME CliRunner POP_TOP LOAD_NAME CliRunner CALL_FUNCTION STORE_NAME runner LOAD_CONST <code object test_help_default at 0x7f8...
from kubectl_ng.cli import app from typer.testing import CliRunner runner = CliRunner() def test_help_default(): result = runner.invoke(app, []) assert result.exit_code == 0 assert "Usage:" in result.stdout
data/kr8s-0.13.3/examples/kubectl-ng/kubectl_ng/tests/test_cli.py
202
74
332,911
LOAD_CONST 1 LOAD_CONST ('amazon_clothing',) IMPORT_NAME IMPORT_FROM amazon_clothing STORE_NAME amazon_clothing POP_TOP LOAD_CONST 1 LOAD_CONST ('amazon_office',) IMPORT_NAME IMPORT_FROM amazon_office STORE_NAME amazon_office POP_TOP LOAD_CONST 1 LOAD_CONST ('amazon_toy',) IMPORT_NAME IMPORT_FROM amazon_toy STORE_NAM...
from . import amazon_clothing from . import amazon_office from . import amazon_toy from . import citeulike from . import epinions from . import filmtrust from . import movielens from . import netflix from . import tafeng from . import tradesy
data/cornac-1.18.0/cornac/datasets/__init__.py
281
74
222,842
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME hashlib STORE_NAME hashlib LOAD_CONST b'\xf3\x89\x9a\xc2' STORE_NAME MAGIC LOAD_NAME hashlib LOAD_METHOD md5 CALL_METHOD LOAD_ATTR digest_size STORE_NAME DIGEST_SIZE LOAD_CONST 1048576 STORE_NAME MAX_BYTES_PER_RECORD LOAD_CONST None RETURN_VALUE
import hashlib MAGIC = b"\xf3\x89\x9a\xc2" DIGEST_SIZE = hashlib.md5().digest_size MAX_BYTES_PER_RECORD = 1024 * 1024 # 1 MB
data/aws_kinesis_agg-1.2.3/aws_kinesis_agg/__init__.py
91
74
82,383
LOAD_CONST 0 LOAD_CONST ('Resource',) IMPORT_NAME braintree.resource IMPORT_FROM Resource STORE_NAME Resource POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object GrantedPaymentInstrumentUpdate at 0x7f8e2fe419c0, file "f.py", line 4> LOAD_CONST 'GrantedPaymentInstrumentUpdate' MAKE_FUNCTION LOAD_CONST 'GrantedPaymentInstr...
from braintree.resource import Resource class GrantedPaymentInstrumentUpdate(Resource): def __init__(self, gateway, attributes): Resource.__init__(self, gateway, attributes) self.payment_method_nonce = attributes["payment_method_nonce"]["nonce"]
data/braintree-4.26.0/braintree/granted_payment_instrument_update.py
261
74
327,738
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME typer STORE_NAME typer LOAD_NAME typer LOAD_ATTR Option LOAD_CONST Ellipsis LOAD_CONST True LOAD_CONST True LOAD_CONST ('prompt', 'confirmation_prompt') CALL_FUNCTION BUILD_TUPLE LOAD_NAME str LOAD_CONST ('project_name',) BUILD_CONST_KEY_MAP LOAD_CONST <code object main at 0x7f...
import typer def main(project_name: str = typer.Option(..., prompt=True, confirmation_prompt=True)): print(f"Deleting project {project_name}") if __name__ == "__main__": typer.run(main)
data/typer-0.9.0/docs_src/options/prompt/tutorial003.py
174
74
224,411
LOAD_CONST 0 LOAD_CONST ('setup',) IMPORT_NAME setuptools IMPORT_FROM setup STORE_NAME setup POP_TOP LOAD_NAME setup LOAD_CONST 'myapp' LOAD_CONST '0.1' LOAD_CONST '' LOAD_CONST '' LOAD_CONST '' LOAD_CONST '' LOAD_CONST '' LOAD_CONST 'myapp' BUILD_LIST LOAD_CONST ('name', 'version', 'description', 'long_descri...
from setuptools import setup setup( name="myapp", version="0.1", description="", long_description="", author="", author_email="", url="", py_modules=["myapp"], )
data/pytest-venv-0.3/tests/myapp/setup.py
111
74
427,450
LOAD_CONST '1.4.2' STORE_NAME short_version LOAD_CONST '1.4.2' STORE_NAME version LOAD_CONST '1.4.2' STORE_NAME full_version LOAD_CONST '5d1416b' STORE_NAME git_revision LOAD_CONST '0' STORE_NAME commit_count LOAD_CONST True STORE_NAME release LOAD_NAME release POP_JUMP_IF_TRUE LOAD_NAME full_version STORE_NAME ...
short_version = "1.4.2" version = "1.4.2" full_version = "1.4.2" git_revision = "5d1416b" commit_count = "0" release = True if not release: version = full_version
data/cvxpy-1.4.2/cvxpy/version.py
98
74
273,359
LOAD_CONST 0 LOAD_CONST ('absolute_import',) IMPORT_NAME __future__ IMPORT_FROM absolute_import STORE_NAME absolute_import POP_TOP LOAD_CONST 1 LOAD_CONST ('DataSafeClient',) IMPORT_NAME data_safe_client IMPORT_FROM DataSafeClient STORE_NAME DataSafeClient POP_TOP LOAD_CONST 1 LOAD_CONST ('DataSafeClientCompositeOper...
from __future__ import absolute_import from .data_safe_client import DataSafeClient from .data_safe_client_composite_operations import DataSafeClientCompositeOperations from . import models __all__ = ["DataSafeClient", "DataSafeClientCompositeOperations", "models"]
data/oci-2.122.0/src/oci/data_safe/__init__.py
169
74
181,346
LOAD_CONST 0 LOAD_CONST ('TrialPruned',) IMPORT_NAME optuna IMPORT_FROM TrialPruned STORE_NAME TrialPruned POP_TOP LOAD_CONST 0 LOAD_CONST ('Trial',) IMPORT_NAME optuna.trial IMPORT_FROM Trial STORE_NAME Trial POP_TOP LOAD_NAME Trial LOAD_NAME float LOAD_CONST ('_', 'return') BUILD_CONST_KEY_MAP LOAD_CONST <code obje...
from optuna import TrialPruned from optuna.trial import Trial def fail_objective(_: Trial) -> float: raise ValueError() def pruned_objective(trial: Trial) -> float: raise TrialPruned()
data/optuna-3.5.0/optuna/testing/objectives.py
242
74
388,182
LOAD_CONST '\nUsed to space/separate choices group\n' STORE_NAME __doc__ LOAD_BUILD_CLASS LOAD_CONST <code object Separator at 0x7fab703ef4b0, file "f.py", line 6> LOAD_CONST 'Separator' MAKE_FUNCTION LOAD_CONST 'Separator' LOAD_NAME object CALL_FUNCTION STORE_NAME Separator LOAD_CONST None RETURN_VALUE LOAD_NAME __n...
""" Used to space/separate choices group """ class Separator(object): line = "-" * 15 def __init__(self, line=None): if line: self.line = line def __str__(self): return self.line
data/PyInquirer-1.0.3/PyInquirer/separator.py
258
74
223,101
LOAD_CONST 0 LOAD_CONST ('LoginSession',) IMPORT_NAME allauth.socialaccount.sessions IMPORT_FROM LoginSession STORE_NAME LoginSession POP_TOP LOAD_CONST 'apple-login-session' STORE_NAME APPLE_SESSION_COOKIE_NAME LOAD_CONST <code object get_apple_session at 0x7f8e2fd4e0c0, file "f.py", line 7> LOAD_CONST 'get_apple_se...
from allauth.socialaccount.sessions import LoginSession APPLE_SESSION_COOKIE_NAME = "apple-login-session" def get_apple_session(request): return LoginSession(request, "apple_login_session", APPLE_SESSION_COOKIE_NAME)
data/django-allauth-0.61.1/allauth/socialaccount/providers/apple/apple_session.py
148
74
336,517
LOAD_CONST 0 LOAD_CONST ('MessageEntity',) IMPORT_NAME aiogram.types IMPORT_FROM MessageEntity STORE_NAME MessageEntity POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object TestMessageEntity at 0x7fa6a332cc90, file "f.py", line 4> LOAD_CONST 'TestMessageEntity' MAKE_FUNCTION LOAD_CONST 'TestMessageEntity' CALL_FUNCTION ST...
from aiogram.types import MessageEntity class TestMessageEntity: def test_extract_from(self): entity = MessageEntity(type="hashtag", length=4, offset=5) assert entity.extract_from("#foo #bar #baz") == "#bar"
data/aiogram-3.4.1/tests/test_api/test_types/test_message_entity.py
261
74
53,494
LOAD_CONST 0 LOAD_CONST ('FastAPI',) IMPORT_NAME fastapi IMPORT_FROM FastAPI STORE_NAME FastAPI POP_TOP LOAD_NAME FastAPI CALL_FUNCTION STORE_NAME app LOAD_NAME app LOAD_METHOD get LOAD_CONST '/items/{item_id}' CALL_METHOD LOAD_NAME str LOAD_NAME str LOAD_CONST ('item_id', 'needy') BUILD_CONST_KEY_MAP LOAD_CONST <co...
from fastapi import FastAPI app = FastAPI() @app.get("/items/{item_id}") async def read_user_item(item_id: str, needy: str): item = {"item_id": item_id, "needy": needy} return item
data/fastapi-0.109.2/docs_src/query_params/tutorial005.py
166
74
142,451
LOAD_CONST 'textract base URL and path.' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('TextractResponse',) IMPORT_NAME responses IMPORT_FROM TextractResponse STORE_NAME TextractResponse POP_TOP LOAD_CONST 'https?://textract\\.(.+)\\.amazonaws\\.com' BUILD_LIST STORE_NAME url_bases LOAD_CONST '{0}/$' LOAD_NAME Textrac...
"""textract base URL and path.""" from .responses import TextractResponse url_bases = [ r"https?://textract\.(.+)\.amazonaws\.com", ] url_paths = { "{0}/$": TextractResponse.dispatch, }
data/moto-5.0.2/moto/textract/urls.py
101
74
198,573
LOAD_BUILD_CLASS LOAD_CONST <code object _SDKFlags at 0x7fab82398d20, file "f.py", line 1> LOAD_CONST '_SDKFlags' MAKE_FUNCTION LOAD_CONST '_SDKFlags' CALL_FUNCTION STORE_NAME _SDKFlags LOAD_CONST None RETURN_VALUE LOAD_NAME __name__ STORE_NAME __module__ LOAD_CONST '_SDKFlags' STORE_NAME __qualname__ BUILD_MAP STORE...
class _SDKFlags: _flags = {} @staticmethod def set_flags(new_flags): _SDKFlags._flags = new_flags @staticmethod def on(key): return _SDKFlags._flags.get(key, False) is True
data/statsig-0.27.1/statsig/sdk_flags.py
264
74
340,591
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST 0 LOAD_CONST None IMPORT_NAME kernels STORE_NAME kernels LOAD_NAME pytest LOAD_ATTR mark LOAD_ATTR skip LOAD_CONST 'Unable to generate any tests for kernel' LOAD_CONST ('reason',) CALL_FUNCTION LOAD_CONST <code object test_pyawkward_NumpyArr...
import pytest import kernels @pytest.mark.skip(reason="Unable to generate any tests for kernel") def test_pyawkward_NumpyArray_fill_toint8_fromfloat64_1(): raise NotImplementedError("Unable to generate any tests for kernel")
data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_toint8_fromfloat64.py
204
75
220,531
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST 0 LOAD_CONST None IMPORT_NAME kernels STORE_NAME kernels LOAD_NAME pytest LOAD_ATTR mark LOAD_ATTR skip LOAD_CONST 'Unable to generate any tests for kernel' LOAD_CONST ('reason',) CALL_FUNCTION LOAD_CONST <code object test_pyawkward_reduce_p...
import pytest import kernels @pytest.mark.skip(reason="Unable to generate any tests for kernel") def test_pyawkward_reduce_prod_int64_int32_64_1(): raise NotImplementedError("Unable to generate any tests for kernel")
data/awkward-cpp-29/tests-spec/test_pyawkward_reduce_prod_int64_int32_64.py
203
75
220,548
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST 0 LOAD_CONST None IMPORT_NAME kernels STORE_NAME kernels LOAD_NAME pytest LOAD_ATTR mark LOAD_ATTR skip LOAD_CONST 'Unable to generate any tests for kernel' LOAD_CONST ('reason',) CALL_FUNCTION LOAD_CONST <code object test_pyawkward_NumpyArr...
import pytest import kernels @pytest.mark.skip(reason="Unable to generate any tests for kernel") def test_pyawkward_NumpyArray_fill_toint8_fromuint64_1(): raise NotImplementedError("Unable to generate any tests for kernel")
data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_toint8_fromuint64.py
203
75
220,549
LOAD_CONST 0 LOAD_CONST ('FunctionArgument',) IMPORT_NAME localstack.services.stepfunctions.asl.component.intrinsic.argument.function_argument IMPORT_FROM FunctionArgument STORE_NAME FunctionArgument POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object FunctionArgumentBool at 0x7fab70306420, file "f.py", line 6> LOAD_CONS...
from localstack.services.stepfunctions.asl.component.intrinsic.argument.function_argument import ( FunctionArgument, ) class FunctionArgumentBool(FunctionArgument): _value: bool def __init__(self, boolean: bool): super().__init__(value=boolean)
data/localstack-core-3.1.0/localstack/services/stepfunctions/asl/component/intrinsic/argument/function_argument_bool.py
271
75
225,262
LOAD_CONST '\nVAULT: {}\nKEY: {}\nPROJECT: {} \nENV: {}\nAWS/profile? {}\nAWS/key? {}\nAWS/secret? {}' STORE_NAME statusT LOAD_CONST '\n1. Run setup\n2. Check that AWS environment variables for profile OR key+secret are set\n' STORE_NAME helpT LOAD_CONST None RETURN_VALUE
statusT = """ VAULT: {} KEY: {} PROJECT: {} ENV: {} AWS/profile? {} AWS/key? {} AWS/secret? {}""" helpT = """ 1. Run setup 2. Check that AWS environment variables for profile OR key+secret are set """
data/secret-0.8/secret/templates.py
90
75
242,572
LOAD_CONST 'personalize base URL and path.' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('PersonalizeResponse',) IMPORT_NAME responses IMPORT_FROM PersonalizeResponse STORE_NAME PersonalizeResponse POP_TOP LOAD_CONST 'https?://personalize\\.(.+)\\.amazonaws\\.com' BUILD_LIST STORE_NAME url_bases LOAD_CONST '{0}/$' LO...
"""personalize base URL and path.""" from .responses import PersonalizeResponse url_bases = [ r"https?://personalize\.(.+)\.amazonaws\.com", ] url_paths = { "{0}/$": PersonalizeResponse.dispatch, }
data/moto-5.0.2/moto/personalize/urls.py
102
75
198,499
LOAD_CONST '\nThinc contains data files and hidden imports. This hook was created to make spacy work correctly.\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('collect_data_files', 'collect_submodules') IMPORT_NAME PyInstaller.utils.hooks IMPORT_FROM collect_data_files STORE_NAME collect_data_files IMPORT_FROM collect...
""" Thinc contains data files and hidden imports. This hook was created to make spacy work correctly. """ from PyInstaller.utils.hooks import collect_data_files, collect_submodules datas = collect_data_files("thinc") hiddenimports = collect_submodules("thinc")
data/pyinstaller-hooks-contrib-2024.1/src/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-thinc.py
134
75
282,195
LOAD_CONST 0 LOAD_CONST ('FunctionArgument',) IMPORT_NAME localstack.services.stepfunctions.asl.component.intrinsic.argument.function_argument IMPORT_FROM FunctionArgument STORE_NAME FunctionArgument POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object FunctionArgumentInt at 0x7fab70306300, file "f.py", line 6> LOAD_CONST...
from localstack.services.stepfunctions.asl.component.intrinsic.argument.function_argument import ( FunctionArgument, ) class FunctionArgumentInt(FunctionArgument): _value: int def __init__(self, integer: int): super().__init__(value=integer)
data/localstack-core-3.1.0/localstack/services/stepfunctions/asl/component/intrinsic/argument/function_argument_int.py
271
75
225,259
LOAD_CONST 0 LOAD_CONST ('Any',) IMPORT_NAME typing IMPORT_FROM Any STORE_NAME Any POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object BaseSerializer at 0x7fab82363780, file "f.py", line 4> LOAD_CONST 'BaseSerializer' MAKE_FUNCTION LOAD_CONST 'BaseSerializer' CALL_FUNCTION STORE_NAME BaseSerializer LOAD_CONST None RETURN...
from typing import Any class BaseSerializer: def __init__(self, options): pass def dumps(self, value: Any) -> bytes: raise NotImplementedError def loads(self, value: bytes) -> Any: raise NotImplementedError
data/django-redis-5.4.0/django_redis/serializers/base.py
325
75
379,197
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST 0 LOAD_CONST None IMPORT_NAME kernels STORE_NAME kernels LOAD_NAME pytest LOAD_ATTR mark LOAD_ATTR skip LOAD_CONST 'Unable to generate any tests for kernel' LOAD_CONST ('reason',) CALL_FUNCTION LOAD_CONST <code object test_pyawkward_NumpyArr...
import pytest import kernels @pytest.mark.skip(reason="Unable to generate any tests for kernel") def test_pyawkward_NumpyArray_fill_toint8_fromint16_1(): raise NotImplementedError("Unable to generate any tests for kernel")
data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_toint8_fromint16.py
203
75
220,551
LOAD_CONST 0 LOAD_CONST ('AppConfig',) IMPORT_NAME django.apps IMPORT_FROM AppConfig STORE_NAME AppConfig POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object AdminToolsConfig at 0x7fab81f3b420, file "f.py", line 4> LOAD_CONST 'AdminToolsConfig' MAKE_FUNCTION LOAD_CONST 'AdminToolsConfig' LOAD_NAME AppConfig CALL_FUNCTION...
from django.apps import AppConfig class AdminToolsConfig(AppConfig): default_auto_field = "django.db.models.AutoField" name = "admin_tools" def ready(self): super(AdminToolsConfig, self).ready() from . import checks
data/django-admin-tools-0.9.3/admin_tools/apps.py
271
75
129,041
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST 0 LOAD_CONST None IMPORT_NAME kernels STORE_NAME kernels LOAD_NAME pytest LOAD_ATTR mark LOAD_ATTR skip LOAD_CONST 'Unable to generate any tests for kernel' LOAD_CONST ('reason',) CALL_FUNCTION LOAD_CONST <code object test_pyawkward_NumpyArr...
import pytest import kernels @pytest.mark.skip(reason="Unable to generate any tests for kernel") def test_pyawkward_NumpyArray_fill_toint8_fromuint16_1(): raise NotImplementedError("Unable to generate any tests for kernel")
data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_toint8_fromuint16.py
203
75
220,554
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST 0 LOAD_CONST None IMPORT_NAME kernels STORE_NAME kernels LOAD_NAME pytest LOAD_ATTR mark LOAD_ATTR skip LOAD_CONST 'Unable to generate any tests for kernel' LOAD_CONST ('reason',) CALL_FUNCTION LOAD_CONST <code object test_pyawkward_NumpyArr...
import pytest import kernels @pytest.mark.skip(reason="Unable to generate any tests for kernel") def test_pyawkward_NumpyArray_fill_tofloat32_fromuint8_1(): raise NotImplementedError("Unable to generate any tests for kernel")
data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_tofloat32_fromuint8.py
204
75
220,557
LOAD_CONST 0 LOAD_CONST ('get_client',) IMPORT_NAME elasticapm IMPORT_FROM get_client STORE_NAME get_client POP_TOP LOAD_CONST 0 LOAD_CONST ('Client',) IMPORT_NAME elasticapm.base IMPORT_FROM Client STORE_NAME Client POP_TOP LOAD_CONST 0 LOAD_CONST ('ElasticAPM',) IMPORT_NAME elasticapm.middleware IMPORT_FROM Elastic...
from elasticapm import get_client from elasticapm.base import Client from elasticapm.middleware import ElasticAPM def filter_factory(app, global_conf, **kwargs): client = get_client() or Client(**kwargs) return ElasticAPM(app, client)
data/elastic-apm-6.20.0/elasticapm/contrib/paste.py
187
75
144,192
LOAD_CONST 1 LOAD_CONST ('TestAsynchronousQueue',) IMPORT_NAME IMPORT_FROM TestAsynchronousQueue STORE_NAME TestAsynchronousQueue POP_TOP LOAD_CONST 1 LOAD_CONST ('TestAsynchronousSender',) IMPORT_NAME IMPORT_FROM TestAsynchronousSender STORE_NAME TestAsynchronousSender POP_TOP LOAD_CONST 1 LOAD_CONST ('TestQueueBase...
from . import TestAsynchronousQueue from . import TestAsynchronousSender from . import TestQueueBase from . import TestSenderBase from . import TestSynchronousQueue from . import TestSynchronousSender from . import TestTelemetryChannel from . import TestTelemetryContext from . import contracts_tests
data/applicationinsights-0.11.10/tests/applicationinsights_tests/channel_tests/__init__.py
282
75
216,290
LOAD_CONST (1, 2) STORE_NAME a LOAD_NAME a LOAD_NAME b1 LOAD_CONST None LOAD_CONST None BUILD_SLICE BUILD_TUPLE BINARY_SUBSCR POP_TOP LOAD_CONST 'a' LOAD_CONST '' BUILD_MAP BUILD_LIST STORE_NAME a LOAD_CONST (4,) STORE_NAME a LOAD_CONST (5,) STORE_NAME b LOAD_CONST 'text' LOAD_NAME text LOAD_CONST 5 LOAD_CONST Non...
a = (1, 2) a[b1, :] a = [{"a": ""}] a = (4,) b = (5,) c = {"text": text[5:]} result = { "key1": "value", "key2": "value", }
data/parso-0.8.3/test/normalizer_issue_files/E23.py
124
75
373,051