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 0
LOAD_CONST ('TestCase',)
IMPORT_NAME PyObjCTools.TestSupport
IMPORT_FROM TestCase
STORE_NAME TestCase
POP_TOP
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME SafetyKit
STORE_NAME SafetyKit
LOAD_BUILD_CLASS
LOAD_CONST <code object TestSafetyKit at 0x7fab81fc6b70, file "f.py", line 6>
LOAD_CONST 'TestSafetyKit'
M... | from PyObjCTools.TestSupport import TestCase
import SafetyKit
class TestSafetyKit(TestCase):
def test_metadata_sane(self):
self.assertCallableMetadataIsSane(SafetyKit)
| data/pyobjc-framework-SafetyKit-10.1/PyObjCTest/test_safetykit.py | 241 | 59 | 207,874 |
LOAD_CONST 0
LOAD_CONST ('warn',)
IMPORT_NAME warnings
IMPORT_FROM warn
STORE_NAME warn
POP_TOP
LOAD_NAME warn
LOAD_CONST 'IPython.utils.localinterfaces has moved to jupyter_client.localinterfaces'
LOAD_CONST 2
LOAD_CONST ('stacklevel',)
CALL_FUNCTION
POP_TOP
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME jupyter_clien... | from warnings import warn
warn(
"IPython.utils.localinterfaces has moved to jupyter_client.localinterfaces",
stacklevel=2,
)
from jupyter_client.localinterfaces import *
| data/ipython-8.21.0/IPython/utils/localinterfaces.py | 97 | 59 | 154,526 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME torch
STORE_NAME torch
LOAD_CONST 0
LOAD_CONST ('softmax',)
IMPORT_NAME torch.nn.functional
IMPORT_FROM softmax
STORE_NAME softmax
POP_TOP
LOAD_CONST <code object rmse at 0x7fab82343150, file "f.py", line 5>
LOAD_CONST 'rmse'
MAKE_FUNCTION
STORE_NAME rmse
LOAD_CONST None
RETUR... | import torch
from torch.nn.functional import softmax
def rmse(outputs, target):
return torch.sqrt(torch.mean((softmax(outputs, dim=0) - target) ** 2))
| data/gluoncv-0.10.5.post0/gluoncv/auto/estimators/torch_image_classification/utils/metrics.py | 149 | 59 | 207,615 |
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 ('DTypePolicy',)
IMPORT_NAME keras.src.dtype_policies.dtype_policy
IMPORT_FROM DTypePolicy
STORE_NAME DTypePolicy
POP_TOP
LOAD_CONST None
RETURN... | """DO NOT EDIT.
This file was autogenerated. Do not edit it by hand,
since your modifications would be overwritten.
"""
from keras.src.dtype_policies.dtype_policy import DTypePolicy
| data/keras-3.0.5/keras/dtype_policies/__init__.py | 90 | 59 | 349,105 |
LOAD_CONST 1
LOAD_CONST ('marching_cubes', 'marching_cubes_func')
IMPORT_NAME _mcubes
IMPORT_FROM marching_cubes
STORE_NAME marching_cubes
IMPORT_FROM marching_cubes_func
STORE_NAME marching_cubes_func
POP_TOP
LOAD_CONST 1
LOAD_CONST ('export_mesh', 'export_obj', 'export_off')
IMPORT_NAME exporter
IMPORT_FROM export_m... | from ._mcubes import marching_cubes, marching_cubes_func
from .exporter import export_mesh, export_obj, export_off
from .smoothing import smooth, smooth_constrained, smooth_gaussian
| data/PyMCubes-0.1.4/mcubes/__init__.py | 194 | 59 | 10,123 |
LOAD_CONST 0
LOAD_CONST ('H2OUnsupervisedAlgorithm',)
IMPORT_NAME ai.h2o.sparkling.ml.algos.H2OUnsupervisedAlgorithm
IMPORT_FROM H2OUnsupervisedAlgorithm
STORE_NAME H2OUnsupervisedAlgorithm
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object H2OTreeBasedUnsupervisedAlgorithm at 0x7faa75826810, file "f.py", line 4>
LOAD_C... | from ai.h2o.sparkling.ml.algos.H2OUnsupervisedAlgorithm import H2OUnsupervisedAlgorithm
class H2OTreeBasedUnsupervisedAlgorithm(H2OUnsupervisedAlgorithm):
pass
| data/h2o_pysparkling_3.1-3.44.0.3.post1/ai/h2o/sparkling/ml/algos/H2OTreeBasedUnsupervisedAlgorithm.py | 195 | 59 | 27,250 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME sys
STORE_NAME sys
LOAD_NAME sys
LOAD_ATTR version_info
LOAD_CONST None
LOAD_CONST 2
BUILD_SLICE
BINARY_SUBSCR
LOAD_CONST (3, 0)
COMPARE_OP <
POP_JUMP_IF_FALSE
LOAD_CONST <code object exec_file_wrapper at 0x7f8e2fb43810, file "f.py", line 5>
LOAD_CONST 'exec_file_wrapper'
MAKE... | import sys
if sys.version_info[:2] < (3, 0):
def exec_file_wrapper(fpath, g_vars, l_vars):
execfile(fpath, g_vars, l_vars)
| data/opencv-python-headless-4.9.0.80/opencv/modules/python/package/cv2/load_config_py2.py | 134 | 59 | 396,519 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME platform
STORE_NAME platform
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME sys
STORE_NAME sys
LOAD_CONST 'cp'
LOAD_CONST 'pp'
LOAD_CONST ('CPython', 'PyPy')
BUILD_CONST_KEY_MAP
LOAD_NAME platform
LOAD_METHOD python_implementation
CALL_METHOD
BINARY_SUBSCR
STORE_NAME py
LOAD_NAME pr... | import platform, sys
py = {"CPython": "cp", "PyPy": "pp"}[platform.python_implementation()]
print(f"{py}{sys.version_info.major}{sys.version_info.minor}")
| data/pygit2-1.14.1/build_tag.py | 111 | 59 | 8,927 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pytest
STORE_NAME pytest
LOAD_CONST True
STORE_NAME SKIP
LOAD_NAME pytest
LOAD_ATTR mark
LOAD_METHOD parametrize
LOAD_CONST 'x'
LOAD_NAME range
LOAD_CONST 5000
CALL_FUNCTION
CALL_METHOD
LOAD_CONST <code object test_foo at 0x7f8ab77c3c00, file "f.py", line 7>
LOAD_CONST 'test_f... | import pytest
SKIP = True
@pytest.mark.parametrize("x", range(5000))
def test_foo(x):
if SKIP:
pytest.skip("heh")
| data/pytest-8.0.1/bench/skip.py | 140 | 59 | 427,567 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pytest
STORE_NAME pytest
LOAD_CONST 0
LOAD_CONST ('F',)
IMPORT_NAME magic_filter
IMPORT_FROM F
STORE_NAME F
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object TestIterable at 0x7fab820494b0, file "f.py", line 6>
LOAD_CONST 'TestIterable'
MAKE_FUNCTION
LOAD_CONST 'TestIterable'
C... | import pytest
from magic_filter import F
class TestIterable:
def test_cannot_be_used_as_an_iterable(self):
with pytest.raises(TypeError):
list(F)
| data/magic_filter-1.0.12/tests/test_iterable.py | 267 | 59 | 156,478 |
LOAD_CONST 1
LOAD_CONST ('DJANGO_CONFIGURED',)
IMPORT_NAME env
IMPORT_FROM DJANGO_CONFIGURED
STORE_NAME DJANGO_CONFIGURED
POP_TOP
LOAD_NAME DJANGO_CONFIGURED
POP_JUMP_IF_FALSE
LOAD_CONST 0
LOAD_CONST ('mark_safe',)
IMPORT_NAME django.utils.safestring
IMPORT_FROM mark_safe
STORE_NAME mark_safe
POP_TOP
JUMP_FORWARD to ... | from .env import DJANGO_CONFIGURED
if DJANGO_CONFIGURED:
from django.utils.safestring import mark_safe
else:
mark_safe = lambda string: string # no-op
| data/optional-django-0.3.0/optional_django/safestring.py | 154 | 59 | 330,851 |
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 CMSConfigConfig at 0x7fab70078f60, file "f.py", line 4>
LOAD_CONST 'CMSConfigConfig'
MAKE_FUNCTION
LOAD_CONST 'CMSConfigConfig'
LOAD_NAME AppConfig
CALL_FUNCTION
ST... | from django.apps import AppConfig
class CMSConfigConfig(AppConfig):
name = "cms.test_utils.project.app_with_cms_config"
label = "app_with_cms_config"
| data/django-cms-4.1.0/cms/test_utils/project/app_with_cms_config/apps.py | 171 | 59 | 86,982 |
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 CMSFeatureConfig at 0x7fab8244ded0, file "f.py", line 4>
LOAD_CONST 'CMSFeatureConfig'
MAKE_FUNCTION
LOAD_CONST 'CMSFeatureConfig'
LOAD_NAME AppConfig
CALL_FUNCTION... | from django.apps import AppConfig
class CMSFeatureConfig(AppConfig):
name = "cms.test_utils.project.app_with_cms_feature"
label = "app_with_cms_feature"
| data/django-cms-4.1.0/cms/test_utils/project/app_with_cms_feature/apps.py | 169 | 59 | 86,962 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME awslogs.bin
STORE_NAME awslogs
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME awslogs.core
STORE_NAME awslogs
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME awslogs._version
STORE_NAME awslogs
LOAD_CONST <code object test_versions_in_modules at 0x7fab81f3b660, file "f.py", line 6>
LOAD_C... | import awslogs.bin
import awslogs.core
import awslogs._version
def test_versions_in_modules():
assert awslogs.bin.__version__ == awslogs._version.__version__
| data/awslogs-0.14.0/tests/test_versions.py | 178 | 59 | 131,186 |
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 _exists
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME _list
IMPORT_STAR... | from .__cmd_group import *
from ._create import *
from ._delete import *
from ._exists import *
from ._list import *
from ._show import *
from ._update import *
from ._wait import *
| data/azure-cli-2.57.0/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/__init__.py | 142 | 59 | 374,775 |
LOAD_CONST 0
LOAD_CONST ('annotations',)
IMPORT_NAME __future__
IMPORT_FROM annotations
STORE_NAME annotations
POP_TOP
LOAD_CONST 0
LOAD_CONST ('setup',)
IMPORT_NAME setuptools
IMPORT_FROM setup
STORE_NAME setup
POP_TOP
LOAD_NAME setup
LOAD_CONST 'headers.dist'
LOAD_CONST '0.1'
LOAD_CONST 'A distribution with head... | from __future__ import annotations
from setuptools import setup
setup(
name="headers.dist",
version="0.1",
description="A distribution with headers",
headers=["header.h"],
)
| data/wheel-0.42.0/tests/testdata/headers.dist/setup.py | 111 | 59 | 321,563 |
LOAD_CONST 0
LOAD_CONST ('ApiForpost',)
IMPORT_NAME onelogin.paths.api_2_mfa_users_user_id_verifications.post
IMPORT_FROM ApiForpost
STORE_NAME ApiForpost
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Api2MfaUsersUserIdVerifications at 0x7f8e2ff5eb70, file "f.py", line 4>
LOAD_CONST 'Api2MfaUsersUserIdVerifications... | from onelogin.paths.api_2_mfa_users_user_id_verifications.post import ApiForpost
class Api2MfaUsersUserIdVerifications(
ApiForpost,
):
pass
| data/onelogin-3.1.6/onelogin/apis/paths/api_2_mfa_users_user_id_verifications.py | 185 | 59 | 397,277 |
LOAD_CONST 0
LOAD_CONST ('DictConfig',)
IMPORT_NAME omegaconf
IMPORT_FROM DictConfig
STORE_NAME DictConfig
POP_TOP
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME hydra
STORE_NAME hydra
LOAD_NAME hydra
LOAD_METHOD main
CALL_METHOD
LOAD_NAME DictConfig
LOAD_CONST None
LOAD_CONST ('_', 'return')
BUILD_CONST_KEY_MAP
LOAD_CONS... | from omegaconf import DictConfig
import hydra
@hydra.main()
def experiment(_: DictConfig) -> None:
pass
if __name__ == "__main__":
experiment()
| data/hydra-core-1.3.2/hydra/test_utils/a_module.py | 158 | 59 | 434,470 |
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-4.9.0.80/opencv/platforms/winpack_dldt/2021.2/build.config.py | 76 | 59 | 321,602 |
LOAD_CONST '2021.3.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.3.0-opencv_winpack_dldt"
cmake_vars["ENABLE_V10_SERIALIZE"] = "ON"
| data/opencv-python-4.9.0.80/opencv/platforms/winpack_dldt/2021.3/build.config.py | 76 | 59 | 321,605 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME sys
STORE_NAME sys
LOAD_NAME sys
LOAD_ATTR version_info
LOAD_CONST None
LOAD_CONST 2
BUILD_SLICE
BINARY_SUBSCR
LOAD_CONST (3, 0)
COMPARE_OP <
POP_JUMP_IF_FALSE
LOAD_CONST <code object exec_file_wrapper at 0x7fab82053030, file "f.py", line 5>
LOAD_CONST 'exec_file_wrapper'
MAKE... | import sys
if sys.version_info[:2] < (3, 0):
def exec_file_wrapper(fpath, g_vars, l_vars):
execfile(fpath, g_vars, l_vars)
| data/opencv-python-4.9.0.80/opencv/modules/python/package/cv2/load_config_py2.py | 134 | 59 | 321,875 |
LOAD_CONST 'rustworkx visualization functions.'
STORE_NAME __doc__
LOAD_CONST 'mpl_draw'
LOAD_CONST 'graphviz_draw'
BUILD_LIST
STORE_NAME __all__
LOAD_CONST 1
LOAD_CONST ('mpl_draw',)
IMPORT_NAME matplotlib
IMPORT_FROM mpl_draw
STORE_NAME mpl_draw
POP_TOP
LOAD_CONST 1
LOAD_CONST ('graphviz_draw',)
IMPORT_NAME graph... | """rustworkx visualization functions."""
__all__ = [
"mpl_draw",
"graphviz_draw",
]
from .matplotlib import mpl_draw
from .graphviz import graphviz_draw
| data/rustworkx-0.14.0/rustworkx/visualization/__init__.py | 113 | 59 | 184,513 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME dns.immutable
STORE_NAME dns
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME dns.rdtypes.tlsabase
STORE_NAME dns
LOAD_NAME dns
LOAD_ATTR immutable
LOAD_ATTR immutable
LOAD_BUILD_CLASS
LOAD_CONST <code object TLSA at 0x7fab41499a50, file "f.py", line 5>
LOAD_CONST 'TLSA'
MAKE_FUNCTION... | import dns.immutable
import dns.rdtypes.tlsabase
@dns.immutable.immutable
class TLSA(dns.rdtypes.tlsabase.TLSABase):
"""TLSA record"""
| data/dnspython-2.6.1/dns/rdtypes/ANY/TLSA.py | 180 | 59 | 354,830 |
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_community-0.0.21/langchain_community/tools/eleven_labs/__init__.py | 106 | 59 | 15,400 |
LOAD_CONST 'Google Cloud Resource Manager API wrapper.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('Client',)
IMPORT_NAME gcloud.resource_manager.client
IMPORT_FROM Client
STORE_NAME Client
POP_TOP
LOAD_CONST 0
LOAD_CONST ('Connection',)
IMPORT_NAME gcloud.resource_manager.connection
IMPORT_FROM Connection
STORE_NAM... | """Google Cloud Resource Manager API wrapper."""
from gcloud.resource_manager.client import Client
from gcloud.resource_manager.connection import Connection
from gcloud.resource_manager.project import Project
SCOPE = Connection.SCOPE
| data/gcloud-0.18.3/gcloud/resource_manager/__init__.py | 121 | 59 | 192,594 |
LOAD_CONST '2021.3.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.3.0-opencv_winpack_dldt"
cmake_vars["ENABLE_V10_SERIALIZE"] = "ON"
| data/opencv-contrib-python-headless-4.9.0.80/opencv/platforms/winpack_dldt/2021.3/build.config.py | 76 | 59 | 366,654 |
LOAD_CONST 0
LOAD_CONST ('ImproperlyConfigured',)
IMPORT_NAME django.core.exceptions
IMPORT_FROM ImproperlyConfigured
STORE_NAME ImproperlyConfigured
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object MissingStorage at 0x7fab823a6b70, file "f.py", line 4>
LOAD_CONST 'MissingStorage'
MAKE_FUNCTION
LOAD_CONST 'MissingStor... | from django.core.exceptions import ImproperlyConfigured
class MissingStorage(ImproperlyConfigured):
pass
class NoFileStorageConfigured(ImproperlyConfigured):
pass
| data/django-formtools-2.5.1/formtools/wizard/storage/exceptions.py | 260 | 59 | 204,715 |
LOAD_CONST 0
LOAD_CONST ('find_packages', 'setup')
IMPORT_NAME setuptools
IMPORT_FROM find_packages
STORE_NAME find_packages
IMPORT_FROM setup
STORE_NAME setup
POP_TOP
LOAD_NAME setup
LOAD_CONST 'pkg1'
LOAD_NAME find_packages
CALL_FUNCTION
LOAD_CONST True
LOAD_CONST 'nose2.collector.collector'
LOAD_CONST ('name', ... | from setuptools import find_packages, setup
setup(
name="pkg1",
packages=find_packages(),
zip_safe=True,
test_suite="nose2.collector.collector",
)
| data/nose2-0.14.1/nose2/tests/functional/support/scenario/tests_in_zipped_eggs/setup.py | 101 | 59 | 310,192 |
LOAD_CONST 0
LOAD_CONST ('fields', 'models')
IMPORT_NAME odoo
IMPORT_FROM fields
STORE_NAME fields
IMPORT_FROM models
STORE_NAME models
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object TestMixin at 0x7fab81fc6b70, file "f.py", line 4>
LOAD_CONST 'TestMixin'
MAKE_FUNCTION
LOAD_CONST 'TestMixin'
LOAD_NAME models
LOAD_AT... | from odoo import fields, models
class TestMixin(models.AbstractModel):
_inherit = "test.mixin"
_description = "Test Mixin Extension"
test_char_02 = fields.Char()
| data/odoo-test-helper-2.1.1/tests/test_helper_extended/models/test_mixin.py | 174 | 59 | 207,891 |
LOAD_CONST 1
LOAD_CONST ('_',)
IMPORT_NAME i18n
IMPORT_FROM _
STORE_NAME _
POP_TOP
LOAD_CONST 1
LOAD_CONST ('error',)
IMPORT_NAME
IMPORT_FROM error
STORE_NAME error
POP_TOP
LOAD_CONST <code object checkunresolved at 0x7fab823bedb0, file "f.py", line 6>
LOAD_CONST 'checkunresolved'
MAKE_FUNCTION
STORE_NAME checkunreso... | from .i18n import _
from . import error
def checkunresolved(ms):
if ms.unresolvedcount():
raise error.StateError(_(b"unresolved merge conflicts (see 'hg help resolve')"))
| data/mercurial-6.6.3/mercurial/mergeutil.py | 149 | 59 | 365,677 |
LOAD_CONST 1
LOAD_CONST ('OrmApi',)
IMPORT_NAME api
IMPORT_FROM OrmApi
STORE_NAME OrmApi
POP_TOP
LOAD_CONST 1
LOAD_CONST ('ApiModel',)
IMPORT_NAME api_model
IMPORT_FROM ApiModel
STORE_NAME ApiModel
POP_TOP
LOAD_CONST 1
LOAD_CONST ('AttributeField',)
IMPORT_NAME fields
IMPORT_FROM AttributeField
STORE_NAME AttributeFi... | from .api import OrmApi
from .api_model import ApiModel
from .fields import AttributeField
from .fields import RelationField
__all__ = ["OrmApi", "ApiModel", "AttributeField", "RelationField"]
| data/jsonapi-requests-0.7.0/jsonapi_requests/orm/__init__.py | 150 | 59 | 242,777 |
LOAD_CONST 'Ibis operations specific to BigQuery.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('annotations',)
IMPORT_NAME __future__
IMPORT_FROM annotations
STORE_NAME annotations
POP_TOP
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME ibis.expr.operations
IMPORT_FROM expr
ROT_TWO
POP_TOP
IMPORT_FROM operations
STORE_NAME ... | """Ibis operations specific to BigQuery."""
from __future__ import annotations
import ibis.expr.operations as ops
class BigQueryUDFNode(ops.ValueOp):
"""Represents use of a UDF."""
| data/ibis_framework-8.0.0/ibis/backends/bigquery/operations.py | 205 | 59 | 161,439 |
LOAD_CONST 0
LOAD_CONST ('UpdateView',)
IMPORT_NAME django.views.generic
IMPORT_FROM UpdateView
STORE_NAME UpdateView
POP_TOP
LOAD_CONST 1
LOAD_CONST ('ParkingArea',)
IMPORT_NAME models
IMPORT_FROM ParkingArea
STORE_NAME ParkingArea
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object ParkingAreaUpdate at 0x7fab8237f8a0,... | from django.views.generic import UpdateView
from .models import ParkingArea
class ParkingAreaUpdate(UpdateView):
model = ParkingArea
parkingarea_update = ParkingAreaUpdate.as_view()
| data/django-sortedm2m-3.1.1/example/testapp/views.py | 193 | 59 | 57,463 |
LOAD_CONST 1
LOAD_CONST ('AIOKafkaAdminClient',)
IMPORT_NAME client
IMPORT_FROM AIOKafkaAdminClient
STORE_NAME AIOKafkaAdminClient
POP_TOP
LOAD_CONST 1
LOAD_CONST ('NewPartitions',)
IMPORT_NAME new_partitions
IMPORT_FROM NewPartitions
STORE_NAME NewPartitions
POP_TOP
LOAD_CONST 1
LOAD_CONST ('NewTopic',)
IMPORT_NAME ... | from .client import AIOKafkaAdminClient
from .new_partitions import NewPartitions
from .new_topic import NewTopic
__all__ = ["AIOKafkaAdminClient", "NewPartitions", "NewTopic"]
| data/aiokafka-0.10.0/aiokafka/admin/__init__.py | 138 | 59 | 448,432 |
LOAD_CONST 0
LOAD_CONST ('DocAIParser', 'DocAIParsingResults')
IMPORT_NAME langchain_community.document_loaders.parsers.docai
IMPORT_FROM DocAIParser
STORE_NAME DocAIParser
IMPORT_FROM DocAIParsingResults
STORE_NAME DocAIParsingResults
POP_TOP
LOAD_CONST 'DocAIParsingResults'
LOAD_CONST 'DocAIParser'
BUILD_LIST
STORE_... | from langchain_community.document_loaders.parsers.docai import (
DocAIParser,
DocAIParsingResults,
)
__all__ = ["DocAIParsingResults", "DocAIParser"]
| data/langchain-0.1.8/langchain/document_loaders/parsers/docai.py | 99 | 59 | 368,633 |
LOAD_CONST 0
LOAD_CONST ('__version__',)
IMPORT_NAME google.protobuf
IMPORT_FROM __version__
STORE_NAME __version__
POP_TOP
LOAD_NAME __version__
LOAD_METHOD startswith
LOAD_CONST '4'
CALL_METHOD
POP_JUMP_IF_FALSE
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME _generated_pb4.service_pb2
IMPORT_STAR
JUMP_FORWARD to 40
LO... | from google.protobuf import __version__
if __version__.startswith("4"):
from ._generated_pb4.service_pb2 import *
else:
from ._generated_pb3.service_pb2 import *
| data/bentoml-1.2.4/src/bentoml/grpc/v1/service_pb2.py | 110 | 59 | 104,154 |
LOAD_CONST 0
LOAD_CONST ('__version__',)
IMPORT_NAME google.protobuf
IMPORT_FROM __version__
STORE_NAME __version__
POP_TOP
LOAD_NAME __version__
LOAD_METHOD startswith
LOAD_CONST '4'
CALL_METHOD
POP_JUMP_IF_FALSE
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME _generated_pb4.service_pb2
IMPORT_STAR
JUMP_FORWARD to 40
LO... | from google.protobuf import __version__
if __version__.startswith("4"):
from ._generated_pb4.service_pb2 import *
else:
from ._generated_pb3.service_pb2 import *
| data/bentoml-1.2.4/src/bentoml/grpc/v1alpha1/service_pb2.py | 110 | 59 | 104,163 |
LOAD_CONST 1
LOAD_CONST ('PoeExecutor',)
IMPORT_NAME base
IMPORT_FROM PoeExecutor
STORE_NAME PoeExecutor
POP_TOP
LOAD_CONST 1
LOAD_CONST ('PoetryExecutor',)
IMPORT_NAME poetry
IMPORT_FROM PoetryExecutor
STORE_NAME PoetryExecutor
POP_TOP
LOAD_CONST 1
LOAD_CONST ('SimpleExecutor',)
IMPORT_NAME simple
IMPORT_FROM Simple... | from .base import PoeExecutor
from .poetry import PoetryExecutor
from .simple import SimpleExecutor
from .virtualenv import VirtualenvExecutor
__all__ = ["PoeExecutor", "PoetryExecutor", "SimpleExecutor", "VirtualenvExecutor"]
| data/poethepoet-0.24.4/poethepoet/executor/__init__.py | 149 | 59 | 363,129 |
LOAD_CONST 0
LOAD_CONST ('OpRun',)
IMPORT_NAME onnx.reference.op_run
IMPORT_FROM OpRun
STORE_NAME OpRun
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Sum at 0x7fab820538a0, file "f.py", line 4>
LOAD_CONST 'Sum'
MAKE_FUNCTION
LOAD_CONST 'Sum'
LOAD_NAME OpRun
CALL_FUNCTION
STORE_NAME Sum
LOAD_CONST None
RETURN_VALUE
... | from onnx.reference.op_run import OpRun
class Sum(OpRun):
def _run(self, *args): # type: ignore
return (sum(args).astype(args[0].dtype),)
| data/onnx-simplifier-0.4.35/third_party/onnx-optimizer/third_party/onnx/onnx/reference/ops/op_sum.py | 199 | 59 | 309,607 |
LOAD_CONST 0
LOAD_CONST ('ApiForget',)
IMPORT_NAME onelogin.paths.api_2_mfa_users_user_id_factors.get
IMPORT_FROM ApiForget
STORE_NAME ApiForget
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Api2MfaUsersUserIdFactors at 0x7f8e44712c00, file "f.py", line 4>
LOAD_CONST 'Api2MfaUsersUserIdFactors'
MAKE_FUNCTION
LOAD_C... | from onelogin.paths.api_2_mfa_users_user_id_factors.get import ApiForget
class Api2MfaUsersUserIdFactors(
ApiForget,
):
pass
| data/onelogin-3.1.6/onelogin/apis/paths/api_2_mfa_users_user_id_factors.py | 187 | 59 | 397,220 |
LOAD_CONST 'GET'
LOAD_NAME uri
LOAD_CONST '/get_no_headers_no_body/world'
CALL_FUNCTION
LOAD_CONST (1, 1)
BUILD_LIST
LOAD_CONST b''
LOAD_CONST ('method', 'uri', 'version', 'headers', 'body')
BUILD_CONST_KEY_MAP
STORE_NAME request
LOAD_CONST None
RETURN_VALUE | request = {
"method": "GET",
"uri": uri("/get_no_headers_no_body/world"),
"version": (1, 1),
"headers": [],
"body": b"",
}
| data/gunicorn-21.2.0/tests/requests/valid/006.py | 70 | 59 | 343,447 |
LOAD_CONST 1
LOAD_CONST ('MaskScoringNRoIHead',)
IMPORT_NAME mask_scoring_roi_head
IMPORT_FROM MaskScoringNRoIHead
STORE_NAME MaskScoringNRoIHead
POP_TOP
LOAD_CONST 1
LOAD_CONST ('SingleRoINExtractor',)
IMPORT_NAME roi_extractors
IMPORT_FROM SingleRoINExtractor
STORE_NAME SingleRoINExtractor
POP_TOP
LOAD_CONST 'MaskS... | from .mask_scoring_roi_head import MaskScoringNRoIHead
from .roi_extractors import SingleRoINExtractor
__all__ = ["MaskScoringNRoIHead", "SingleRoINExtractor"]
| data/modelscope-1.12.0/modelscope/models/cv/abnormal_object_detection/mmdet_ms/roi_head/__init__.py | 121 | 59 | 315,110 |
LOAD_CONST 0
LOAD_CONST ('MVIV',)
IMPORT_NAME slither.tools.mutator.mutators.MVIV
IMPORT_FROM MVIV
STORE_NAME MVIV
POP_TOP
LOAD_CONST 0
LOAD_CONST ('MVIE',)
IMPORT_NAME slither.tools.mutator.mutators.MVIE
IMPORT_FROM MVIE
STORE_NAME MVIE
POP_TOP
LOAD_CONST 0
LOAD_CONST ('MIA',)
IMPORT_NAME slither.tools.mutator.mutat... | from slither.tools.mutator.mutators.MVIV import MVIV
from slither.tools.mutator.mutators.MVIE import MVIE
from slither.tools.mutator.mutators.MIA import MIA
| data/slither-analyzer-0.10.0/slither/tools/mutator/mutators/all_mutators.py | 123 | 59 | 214,127 |
LOAD_NAME str
LOAD_NAME str
LOAD_NAME str
LOAD_NAME str
LOAD_CONST ('account_id', 'name', 'region_name', 'return')
BUILD_CONST_KEY_MAP
LOAD_CONST <code object make_arn_for_lexicon at 0x7fab703bbc90, file "f.py", line 1>
LOAD_CONST 'make_arn_for_lexicon'
MAKE_FUNCTION
STORE_NAME make_arn_for_lexicon
LOAD_CONST None
RETU... | def make_arn_for_lexicon(account_id: str, name: str, region_name: str) -> str:
return f"arn:aws:polly:{region_name}:{account_id}:lexicon/{name}"
| data/moto-5.0.2/moto/polly/utils.py | 144 | 59 | 198,233 |
LOAD_CONST '\nAlgorithmJob class\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('PrimitiveJob',)
IMPORT_NAME qiskit.primitives.primitive_job
IMPORT_FROM PrimitiveJob
STORE_NAME PrimitiveJob
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object AlgorithmJob at 0x7f8a947d06f0, file "f.py", line 7>
LOAD_CONST 'AlgorithmJob'
... | """
AlgorithmJob class
"""
from qiskit.primitives.primitive_job import PrimitiveJob
class AlgorithmJob(PrimitiveJob):
"""
This empty class is introduced for typing purposes.
"""
pass
| data/qiskit-terra-0.46.0/qiskit/algorithms/algorithm_job.py | 174 | 59 | 430,538 |
LOAD_CONST 1
LOAD_CONST ('suggest_column_types',)
IMPORT_NAME utils
IMPORT_FROM suggest_column_types
STORE_NAME suggest_column_types
POP_TOP
LOAD_CONST 1
LOAD_CONST ('hookimpl',)
IMPORT_NAME hookspecs
IMPORT_FROM hookimpl
STORE_NAME hookimpl
POP_TOP
LOAD_CONST 1
LOAD_CONST ('hookspec',)
IMPORT_NAME hookspecs
IMPORT_F... | from .utils import suggest_column_types
from .hookspecs import hookimpl
from .hookspecs import hookspec
from .db import Database
__all__ = ["Database", "suggest_column_types", "hookimpl", "hookspec"]
| data/sqlite-utils-3.36/sqlite_utils/__init__.py | 149 | 59 | 363,041 |
LOAD_CONST 43200
STORE_NAME MAXIMUM_VISIBILITY_TIMEOUT
LOAD_CONST 262144
STORE_NAME MAXIMUM_MESSAGE_LENGTH
LOAD_CONST 1
STORE_NAME DEFAULT_RECEIVED_MESSAGES
LOAD_CONST None
RETURN_VALUE | MAXIMUM_VISIBILITY_TIMEOUT = 43200
MAXIMUM_MESSAGE_LENGTH = 262144 # 256 KiB
DEFAULT_RECEIVED_MESSAGES = 1
| data/moto-5.0.2/moto/sqs/constants.py | 66 | 59 | 198,370 |
LOAD_CONST 0
LOAD_CONST ('Settings',)
IMPORT_NAME zeep.settings
IMPORT_FROM Settings
STORE_NAME Settings
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object XmlParserContext at 0x7fab640f2300, file "f.py", line 4>
LOAD_CONST 'XmlParserContext'
MAKE_FUNCTION
LOAD_CONST 'XmlParserContext'
CALL_FUNCTION
STORE_NAME XmlParser... | from zeep.settings import Settings
class XmlParserContext:
"""Parser context when parsing XML elements"""
def __init__(self, settings=None):
self.schemas = []
self.settings = settings or Settings()
| data/zeep-4.2.1/src/zeep/xsd/context.py | 225 | 59 | 156,604 |
LOAD_CONST 0
LOAD_CONST ('PtraceError',)
IMPORT_NAME ptrace.error
IMPORT_FROM PtraceError
STORE_NAME PtraceError
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object ProcessError at 0x7f8e2ff250c0, file "f.py", line 4>
LOAD_CONST 'ProcessError'
MAKE_FUNCTION
LOAD_CONST 'ProcessError'
LOAD_NAME PtraceError
CALL_FUNCTION
ST... | from ptrace.error import PtraceError
class ProcessError(PtraceError):
def __init__(self, process, message):
PtraceError.__init__(self, message, pid=process.pid)
self.process = process
| data/python-ptrace-0.9.8/ptrace/debugger/process_error.py | 223 | 59 | 126,141 |
LOAD_CONST 1
LOAD_CONST ('InvalidLineStyle', 'InvalidRuleOrientation', 'LineStyle', 'RuleOrientation')
IMPORT_NAME _rule
IMPORT_FROM InvalidLineStyle
STORE_NAME InvalidLineStyle
IMPORT_FROM InvalidRuleOrientation
STORE_NAME InvalidRuleOrientation
IMPORT_FROM LineStyle
STORE_NAME LineStyle
IMPORT_FROM RuleOrientation
ST... | from ._rule import InvalidLineStyle, InvalidRuleOrientation, LineStyle, RuleOrientation
__all__ = [
"InvalidLineStyle",
"InvalidRuleOrientation",
"LineStyle",
"RuleOrientation",
]
| data/textual-0.52.1/src/textual/widgets/rule.py | 116 | 59 | 26,683 |
LOAD_CONST 1
LOAD_CONST ('ViewQuery',)
IMPORT_NAME view
IMPORT_FROM ViewQuery
STORE_NAME ViewQuery
POP_TOP
LOAD_CONST 1
LOAD_CONST ('NameServerQuery',)
IMPORT_NAME nameserver
IMPORT_FROM NameServerQuery
STORE_NAME NameServerQuery
POP_TOP
LOAD_CONST 1
LOAD_CONST ('ZoneQuery',)
IMPORT_NAME zone
IMPORT_FROM ZoneQuery
ST... | from .view import ViewQuery
from .nameserver import NameServerQuery
from .zone import ZoneQuery
from .record import RecordQuery
class Query(ViewQuery, NameServerQuery, ZoneQuery, RecordQuery):
pass
schema = Query
| data/netbox_plugin_dns-0.22.1/netbox_dns/graphql/schema.py | 212 | 59 | 77,060 |
LOAD_CONST 1
LOAD_CONST ('SecretsManagerResponse',)
IMPORT_NAME responses
IMPORT_FROM SecretsManagerResponse
STORE_NAME SecretsManagerResponse
POP_TOP
LOAD_CONST 'https?://secretsmanager\\.(.+)\\.amazonaws\\.com'
BUILD_LIST
STORE_NAME url_bases
LOAD_CONST '{0}/$'
LOAD_NAME SecretsManagerResponse
LOAD_ATTR dispatch
BU... | from .responses import SecretsManagerResponse
url_bases = [r"https?://secretsmanager\.(.+)\.amazonaws\.com"]
url_paths = {"{0}/$": SecretsManagerResponse.dispatch}
| data/moto-5.0.2/moto/secretsmanager/urls.py | 91 | 59 | 198,487 |
LOAD_CONST 0
LOAD_CONST ('Generic', 'TypeVar')
IMPORT_NAME typing
IMPORT_FROM Generic
STORE_NAME Generic
IMPORT_FROM TypeVar
STORE_NAME TypeVar
POP_TOP
LOAD_CONST 0
LOAD_CONST ('Executable',)
IMPORT_NAME sqlalchemy.sql.base
IMPORT_FROM Executable
STORE_NAME _Executable
POP_TOP
LOAD_NAME TypeVar
LOAD_CONST '_T'
CALL_F... | from typing import Generic, TypeVar
from sqlalchemy.sql.base import Executable as _Executable
_T = TypeVar("_T")
class Executable(_Executable, Generic[_T]):
pass
| data/sqlmodel-0.0.16/sqlmodel/sql/base.py | 188 | 59 | 310,876 |
LOAD_CONST 0
LOAD_CONST ('annotations',)
IMPORT_NAME __future__
IMPORT_FROM annotations
STORE_NAME annotations
POP_TOP
LOAD_CONST 0
LOAD_CONST ('Version',)
IMPORT_NAME packaging.version
IMPORT_FROM Version
STORE_NAME Version
POP_TOP
LOAD_CONST 0
LOAD_CONST ('parse',)
IMPORT_NAME packaging.version
IMPORT_FROM parse
ST... | from __future__ import annotations
from packaging.version import Version
from packaging.version import parse as parse_version
import ibis
def test_version():
assert isinstance(parse_version(ibis.__version__), Version)
| data/ibis_framework-8.0.0/ibis/tests/test_version.py | 186 | 59 | 161,190 |
LOAD_CONST 1
LOAD_CONST ('AutoScalingResponse',)
IMPORT_NAME responses
IMPORT_FROM AutoScalingResponse
STORE_NAME AutoScalingResponse
POP_TOP
LOAD_CONST 'https?://autoscaling\\.(.+)\\.amazonaws\\.com'
BUILD_LIST
STORE_NAME url_bases
LOAD_CONST '{0}/$'
LOAD_NAME AutoScalingResponse
LOAD_ATTR dispatch
BUILD_MAP
STORE_N... | from .responses import AutoScalingResponse
url_bases = [r"https?://autoscaling\.(.+)\.amazonaws\.com"]
url_paths = {"{0}/$": AutoScalingResponse.dispatch}
| data/moto-5.0.2/moto/autoscaling/urls.py | 91 | 59 | 198,462 |
LOAD_CONST 0
LOAD_CONST ('admin',)
IMPORT_NAME django.contrib
IMPORT_FROM admin
STORE_NAME admin
POP_TOP
LOAD_CONST 1
LOAD_CONST ('ProxyTrackerUser', 'TrackerUser')
IMPORT_NAME models
IMPORT_FROM ProxyTrackerUser
STORE_NAME ProxyTrackerUser
IMPORT_FROM TrackerUser
STORE_NAME TrackerUser
POP_TOP
LOAD_NAME admin
LOAD_A... | from django.contrib import admin
from .models import ProxyTrackerUser, TrackerUser
site = admin.AdminSite(name="admin_proxy")
site.register(TrackerUser)
site.register(ProxyTrackerUser)
| data/Django-5.0.2/tests/proxy_models/admin.py | 137 | 59 | 326,446 |
LOAD_CONST 'Exception for errors raised while handling OpenQASM 2.0.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('QASM2Error',)
IMPORT_NAME qiskit.qasm2.exceptions
IMPORT_FROM QASM2Error
STORE_NAME QasmError
POP_TOP
LOAD_CONST None
RETURN_VALUE | """Exception for errors raised while handling OpenQASM 2.0."""
from qiskit.qasm2.exceptions import (
QASM2Error as QasmError,
) # pylint: disable=unused-import
| data/qiskit-terra-0.46.0/qiskit/qasm/exceptions.py | 69 | 59 | 430,483 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME typing
STORE_NAME typing
LOAD_CONST 4
LOAD_CONST ('ApiError',)
IMPORT_NAME core.api_error
IMPORT_FROM ApiError
STORE_NAME ApiError
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Error at 0x7f8aac1fa270, file "f.py", line 6>
LOAD_CONST 'Error'
MAKE_FUNCTION
LOAD_CONST 'Error'... | import typing
from ....core.api_error import ApiError
class Error(ApiError):
def __init__(self, body: typing.Any):
super().__init__(status_code=400, body=body)
| data/langfuse-2.15.0/langfuse/api/resources/commons/errors/error.py | 252 | 59 | 433,984 |
LOAD_CONST '\n This module contains database dialect specific changeset\n implementations.\n'
STORE_NAME __doc__
LOAD_CONST 'postgres'
LOAD_CONST 'sqlite'
LOAD_CONST 'mysql'
LOAD_CONST 'oracle'
LOAD_CONST 'ibmdb2'
BUILD_LIST
STORE_NAME __all__
LOAD_CONST None
RETURN_VALUE | """
This module contains database dialect specific changeset
implementations.
"""
__all__ = [
"postgres",
"sqlite",
"mysql",
"oracle",
"ibmdb2",
]
| data/sqlalchemy-migrate-0.13.0/migrate/changeset/databases/__init__.py | 71 | 59 | 330,531 |
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 0x7fab6406a540, 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 = [
("netbox_dns", "0021_record_ip_address"),
]
operations = []
| data/netbox_plugin_dns-0.22.1/netbox_dns/migrations/0022_search.py | 158 | 59 | 77,043 |
LOAD_CONST 1
LOAD_CONST ('unittest',)
IMPORT_NAME compat
IMPORT_FROM unittest
STORE_NAME unittest
POP_TOP
LOAD_CONST 0
LOAD_CONST ('ext',)
IMPORT_NAME webtest
IMPORT_FROM ext
STORE_NAME ext
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object TestSelenium at 0x7faad43f18a0, file "f.py", line 5>
LOAD_CONST 'TestSelenium'
... | from .compat import unittest
from webtest import ext
class TestSelenium(unittest.TestCase):
def test_raises(self):
self.assertRaises(ImportError, ext.casperjs)
| data/WebTest-3.0.0/tests/test_ext.py | 249 | 59 | 87,419 |
LOAD_CONST 0
LOAD_CONST ('Pipeline',)
IMPORT_NAME canals.pipeline.pipeline
IMPORT_FROM Pipeline
STORE_NAME Pipeline
POP_TOP
LOAD_CONST 0
LOAD_CONST ('PipelineError', 'PipelineRuntimeError', 'PipelineValidationError', 'PipelineConnectError', 'PipelineMaxLoops')
IMPORT_NAME canals.errors
IMPORT_FROM PipelineError
STORE_... | from canals.pipeline.pipeline import Pipeline
from canals.errors import (
PipelineError,
PipelineRuntimeError,
PipelineValidationError,
PipelineConnectError,
PipelineMaxLoops,
)
| data/canals-0.11.0/canals/pipeline/__init__.py | 141 | 59 | 392,214 |
SETUP_EXCEPT to 18
LOAD_CONST 1
LOAD_CONST ('RemoteIPRoute',)
IMPORT_NAME iproute
IMPORT_FROM RemoteIPRoute
STORE_NAME RemoteIPRoute
POP_TOP
POP_BLOCK
JUMP_FORWARD to 58
DUP_TOP
LOAD_NAME ImportError
COMPARE_OP exception match
POP_JUMP_IF_FALSE
POP_TOP
POP_TOP
POP_TOP
LOAD_CONST 0
LOAD_CONST ('failed_class',)
IMPORT... | try:
from .iproute import RemoteIPRoute
except ImportError:
from pyroute2.common import failed_class
RemoteIPRoute = failed_class("mitogen library is not installed")
classes = [RemoteIPRoute]
| data/pyroute2-0.7.12/pyroute2/remote/__init__.py | 145 | 59 | 137,282 |
LOAD_BUILD_CLASS
LOAD_CONST <code object Warning at 0x7f8a954cdc00, file "f.py", line 1>
LOAD_CONST 'Warning'
MAKE_FUNCTION
LOAD_CONST 'Warning'
LOAD_NAME Exception
CALL_FUNCTION
STORE_NAME Warning
LOAD_CONST None
RETURN_VALUE
LOAD_NAME __name__
STORE_NAME __module__
LOAD_CONST 'Warning'
STORE_NAME __qualname__
LOAD_... | class Warning(Exception):
def __init__(self, Str, File=None, Line=None):
self.message = Str
self.FileName = File
self.LineNumber = Line
self.ToolName = "EOT"
| data/edk2-basetools-0.1.49/edk2basetools/Eot/ParserWarning.py | 196 | 59 | 331,909 |
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 HealthKit
STORE_NAME HealthKit
LOAD_BUILD_CLASS
LOAD_CONST <code object TestHealthKit at 0x7fab800ab150, file "f.py", line 5>
LOAD_CONST 'TestHealthKit'
M... | from PyObjCTools.TestSupport import TestCase
import HealthKit
class TestHealthKit(TestCase):
def test_callable_metadata_is_sane(self):
self.assertCallableMetadataIsSane(HealthKit)
| data/pyobjc-framework-HealthKit-10.1/PyObjCTest/test_healthkit.py | 244 | 59 | 385,394 |
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME __cmd_group
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME _add
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
L... | from .__cmd_group import *
from ._add import *
from ._create import *
from ._delete import *
from ._list import *
from ._remove import *
from ._show import *
from ._wait import *
| data/azure-cli-2.57.0/azure/cli/command_modules/network/aaz/latest/network/private_endpoint/dns_zone_group/__init__.py | 142 | 59 | 378,184 |
LOAD_CONST 0
LOAD_CONST ('print_function',)
IMPORT_NAME __future__
IMPORT_FROM print_function
STORE_NAME print_function
POP_TOP
LOAD_CONST 1
LOAD_CONST ('core_service_cli',)
IMPORT_NAME generated
IMPORT_FROM core_service_cli
STORE_NAME core_service_cli
POP_TOP
LOAD_CONST 0
LOAD_CONST ('cli',)
IMPORT_NAME oci_cli.cli_... | from __future__ import print_function
from .generated import core_service_cli
from oci_cli.cli_root import cli
cli.commands.pop(core_service_cli.core_service_group.name)
| data/oci-cli-3.37.10/services/core/src/oci_cli_core/core_cli_extended.py | 131 | 59 | 218,833 |
LOAD_CONST 'Constants used by vertexai.'
STORE_NAME __doc__
LOAD_CONST 4
STORE_NAME PICKLE_PROTOCOL
LOAD_CONST 'Start remote execution on Vertex...'
STORE_NAME _START_EXECUTION_MSG
LOAD_CONST 'Remote execution is completed.'
STORE_NAME _END_EXECUTION_MSG
LOAD_CONST None
RETURN_VALUE | """Constants used by vertexai."""
PICKLE_PROTOCOL = 4
_START_EXECUTION_MSG = "Start remote execution on Vertex..."
_END_EXECUTION_MSG = "Remote execution is completed."
| data/google-cloud-aiplatform-1.42.1/vertexai/preview/_workflow/shared/constants.py | 78 | 59 | 168,395 |
LOAD_CONST 0
LOAD_CONST ('AppConfig',)
IMPORT_NAME server.apps
IMPORT_FROM AppConfig
STORE_NAME AppConfig
POP_TOP
LOAD_CONST 0
LOAD_CONST ('gettext_lazy',)
IMPORT_NAME server.utils.translation
IMPORT_FROM gettext_lazy
STORE_NAME _
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object SessionsConfig at 0x7fae2f3b3930, file... | from server.apps import AppConfig
from server.utils.translation import gettext_lazy as _
class SessionsConfig(AppConfig):
name = "server.contrib.sessions"
verbose_name = _("Sessions")
| data/os_sys-2.1.4/server/contrib/sessions/apps.py | 190 | 59 | 247,417 |
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.module_utils.facts.compat import ansible_facts, get_all_facts # noqa
| data/ansible-core-2.16.3/lib/ansible/module_utils/facts/__init__.py | 139 | 59 | 436,880 |
LOAD_CONST 0
LOAD_CONST ('Any', 'Dict')
IMPORT_NAME typing
IMPORT_FROM Any
STORE_NAME Any
IMPORT_FROM Dict
STORE_NAME Dict
POP_TOP
LOAD_CONST 0
LOAD_CONST ('TypeInfo',)
IMPORT_NAME mypy.nodes
IMPORT_FROM TypeInfo
STORE_NAME TypeInfo
POP_TOP
LOAD_NAME TypeInfo
LOAD_NAME Dict
LOAD_NAME str
LOAD_NAME Any
BUILD_TUPLE
BIN... | from typing import Any, Dict
from mypy.nodes import TypeInfo
def get_drf_metadata(info: TypeInfo) -> Dict[str, Any]:
return info.metadata.setdefault("drf", {})
| data/djangorestframework-stubs-3.14.5/mypy_drf_plugin/lib/helpers.py | 174 | 59 | 385,315 |
LOAD_CONST '\nTest files dedicated to individual (stand-alone) Series methods\n\nIdeally these files/tests should correspond 1-to-1 with tests.frame.methods\n\nThese may also present opportunities for sharing/de-duplicating test code.\n'
STORE_NAME __doc__
LOAD_CONST None
RETURN_VALUE | """
Test files dedicated to individual (stand-alone) Series methods
Ideally these files/tests should correspond 1-to-1 with tests.frame.methods
These may also present opportunities for sharing/de-duplicating test code.
"""
| data/pandas-2.2.0/pandas/tests/series/methods/__init__.py | 73 | 59 | 170,512 |
LOAD_CONST 0
LOAD_CONST ('setup',)
IMPORT_NAME setuptools
IMPORT_FROM setup
STORE_NAME setup
POP_TOP
LOAD_CONST 0
LOAD_CONST ('cc',)
IMPORT_NAME source_module
IMPORT_FROM cc
STORE_NAME cc
POP_TOP
LOAD_CONST <code object run_setup at 0x7faa503bb420, file "f.py", line 6>
LOAD_CONST 'run_setup'
MAKE_FUNCTION
STORE_NAME ... | from setuptools import setup
from source_module import cc
def run_setup():
setup(ext_modules=[cc.distutils_extension()])
if __name__ == "__main__":
run_setup()
| data/numba-0.59.0/numba/tests/pycc_distutils_usecase/setup_setuptools.py | 161 | 59 | 134,252 |
LOAD_BUILD_CLASS
LOAD_CONST <code object SetuptoolsDeprecationWarning at 0x7fae471296f0, file "f.py", line 1>
LOAD_CONST 'SetuptoolsDeprecationWarning'
MAKE_FUNCTION
LOAD_CONST 'SetuptoolsDeprecationWarning'
LOAD_NAME Warning
CALL_FUNCTION
STORE_NAME SetuptoolsDeprecationWarning
LOAD_CONST None
RETURN_VALUE
LOAD_NAME ... | class SetuptoolsDeprecationWarning(Warning):
"""
Base class for warning deprecations in ``setuptools``
This class is not derived from ``DeprecationWarning``, and as such is
visible by default.
"""
| data/pyLDAvis-3.4.1/pyLDAvis/lib/python3.11/site-packages/setuptools/_deprecation_warning.py | 165 | 59 | 230,256 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME GameKit
STORE_NAME GameKit
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 TestGKDialogController at 0x7faa51b82b70, file "f.py", line 5>
LOAD_CONST 'TestGKDialo... | import GameKit
from PyObjCTools.TestSupport import TestCase
class TestGKDialogController(TestCase):
def testMethods(self):
self.assertResultIsBOOL(GameKit.GKDialogController.presentViewController_)
| data/pyobjc-framework-GameKit-10.1/PyObjCTest/test_gkdialogcontroller.py | 241 | 59 | 22,898 |
LOAD_CONST 0
LOAD_CONST ('read_csv', 'read_csv_batched', 'scan_csv')
IMPORT_NAME polars.io.csv.functions
IMPORT_FROM read_csv
STORE_NAME read_csv
IMPORT_FROM read_csv_batched
STORE_NAME read_csv_batched
IMPORT_FROM scan_csv
STORE_NAME scan_csv
POP_TOP
LOAD_CONST 'read_csv'
LOAD_CONST 'read_csv_batched'
LOAD_CONST 's... | from polars.io.csv.functions import read_csv, read_csv_batched, scan_csv
__all__ = [
"read_csv",
"read_csv_batched",
"scan_csv",
]
| data/polars-0.20.10/polars/io/csv/__init__.py | 111 | 59 | 333,657 |
LOAD_CONST 0
LOAD_CONST ('OpRun',)
IMPORT_NAME onnx.reference.op_run
IMPORT_FROM OpRun
STORE_NAME OpRun
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Sum at 0x7f8ece8a8f60, file "f.py", line 4>
LOAD_CONST 'Sum'
MAKE_FUNCTION
LOAD_CONST 'Sum'
LOAD_NAME OpRun
CALL_FUNCTION
STORE_NAME Sum
LOAD_CONST None
RETURN_VALUE
... | from onnx.reference.op_run import OpRun
class Sum(OpRun):
def _run(self, *args): # type: ignore
return (sum(args).astype(args[0].dtype),)
| data/onnxsim-0.4.35/third_party/onnx-optimizer/third_party/onnx/onnx/reference/ops/op_sum.py | 199 | 59 | 114,278 |
LOAD_CONST 0
LOAD_CONST ('Enum',)
IMPORT_NAME enum
IMPORT_FROM Enum
STORE_NAME Enum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object HostPortStatus at 0x7fab4298eed0, file "f.py", line 4>
LOAD_CONST 'HostPortStatus'
MAKE_FUNCTION
LOAD_CONST 'HostPortStatus'
LOAD_NAME str
LOAD_NAME Enum
CALL_FUNCTION
STORE_NAME HostPor... | from enum import Enum
class HostPortStatus(str, Enum):
Open = ("open",)
Filtered = ("filtered",)
Closed = ("closed",)
UnknownFutureValue = ("unknownFutureValue",)
| data/msgraph-sdk-1.1.0/msgraph/generated/models/security/host_port_status.py | 169 | 59 | 262,150 |
LOAD_CONST 'Check that our tab-completion script has been updated.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('update', 'path')
IMPORT_NAME ase.cli.completion
IMPORT_FROM update
STORE_NAME update
IMPORT_FROM path
STORE_NAME path
POP_TOP
LOAD_CONST 0
LOAD_CONST ('commands',)
IMPORT_NAME ase.cli.main
IMPORT_FROM comm... | """Check that our tab-completion script has been updated."""
from ase.cli.completion import update, path
from ase.cli.main import commands
def test_complete():
update(path, commands, test=True)
| data/ase-3.22.1/ase/test/cli/test_complete.py | 166 | 59 | 45,999 |
LOAD_CONST 0
LOAD_CONST ('collect_dynamic_libs',)
IMPORT_NAME PyInstaller.utils.hooks
IMPORT_FROM collect_dynamic_libs
STORE_NAME collect_dynamic_libs
POP_TOP
LOAD_NAME collect_dynamic_libs
LOAD_CONST 'lightgbm'
CALL_FUNCTION
STORE_NAME binaries
LOAD_NAME binaries
LOAD_NAME collect_dynamic_libs
LOAD_CONST 'sklearn'
C... | from PyInstaller.utils.hooks import collect_dynamic_libs
binaries = collect_dynamic_libs("lightgbm")
binaries += collect_dynamic_libs("sklearn")
binaries += collect_dynamic_libs("scipy")
| data/pyinstaller-hooks-contrib-2024.1/src/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-lightgbm.py | 119 | 59 | 282,091 |
LOAD_CONST 'Wrappers to build Python packages using PEP 517 hooks\n'
STORE_NAME __doc__
LOAD_CONST '0.13.0'
STORE_NAME __version__
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME wrappers
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Wrappers to build Python packages using PEP 517 hooks
"""
__version__ = "0.13.0"
from .wrappers import * # noqa: F401, F403
| data/pyLDAvis-3.4.1/pyLDAvis/lib/python3.11/site-packages/pip/_vendor/pep517/__init__.py | 66 | 59 | 230,524 |
LOAD_CONST '2021.3.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.3.0-opencv_winpack_dldt"
cmake_vars["ENABLE_V10_SERIALIZE"] = "ON"
| data/opencv-contrib-python-4.9.0.80/opencv/platforms/winpack_dldt/2021.3/build.config.py | 76 | 59 | 146,648 |
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-contrib-python-4.9.0.80/opencv/platforms/winpack_dldt/2021.2/build.config.py | 76 | 59 | 146,645 |
LOAD_CONST 0
LOAD_CONST ('add_qt5_dependencies',)
IMPORT_NAME PyInstaller.utils.hooks.qt
IMPORT_FROM add_qt5_dependencies
STORE_NAME add_qt5_dependencies
POP_TOP
LOAD_NAME add_qt5_dependencies
LOAD_NAME __file__
CALL_FUNCTION
UNPACK_SEQUENCE
STORE_NAME hiddenimports
STORE_NAME binaries
STORE_NAME datas
LOAD_NAME hidd... | from PyInstaller.utils.hooks.qt import add_qt5_dependencies
hiddenimports, binaries, datas = add_qt5_dependencies(__file__)
hiddenimports += ["PySide2.QtMultimediaWidgets"]
| data/pyinstaller-6.4.0/PyInstaller/hooks/hook-PySide2.QtMultimedia.py | 112 | 59 | 185,212 |
LOAD_CONST 1
LOAD_CONST ('Base',)
IMPORT_NAME base
IMPORT_FROM Base
STORE_NAME Base
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object DataRetention at 0x7fab82334930, file "f.py", line 4>
LOAD_CONST 'DataRetention'
MAKE_FUNCTION
LOAD_CONST 'DataRetention'
LOAD_NAME Base
CALL_FUNCTION
STORE_NAME DataRetention
LOAD_CONST... | from .base import Base
class DataRetention(Base):
endpoint = "/data_retention"
def get_data_retention_policy(self):
return self.client.get(self.endpoint + "/policy")
| data/mattermostdriver-7.3.2/src/mattermostdriver/endpoints/data_retention.py | 225 | 59 | 384,666 |
LOAD_CONST 0
LOAD_CONST ('is_module_satisfies', 'collect_submodules')
IMPORT_NAME PyInstaller.utils.hooks
IMPORT_FROM is_module_satisfies
STORE_NAME is_module_satisfies
IMPORT_FROM collect_submodules
STORE_NAME collect_submodules
POP_TOP
LOAD_NAME is_module_satisfies
LOAD_CONST 'mistune >= 3.0.0'
CALL_FUNCTION
POP_JUM... | from PyInstaller.utils.hooks import is_module_satisfies, collect_submodules
if is_module_satisfies("mistune >= 3.0.0"):
hiddenimports = collect_submodules("mistune.plugins")
| data/pyinstaller-hooks-contrib-2024.1/src/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-mistune.py | 112 | 59 | 282,179 |
LOAD_CONST <code object f1 at 0x7fab700b4660, file "f.py", line 1>
LOAD_CONST 'f1'
MAKE_FUNCTION
STORE_NAME f1
LOAD_CONST <code object f2 at 0x7fab700b4e40, file "f.py", line 7>
LOAD_CONST 'f2'
MAKE_FUNCTION
STORE_NAME f2
LOAD_NAME f1
CALL_FUNCTION
LOAD_CONST 5
COMPARE_OP ==
POP_JUMP_IF_FALSE
LOAD_NAME f2
CALL_FUNCTI... | def f1():
if True:
while True:
return 5
def f2():
if True:
while 1:
return 6
assert f1() == 5 and f2() == 6
| data/uncompyle6-3.9.0/test/simple_source/bug26/01_if_while_return.py | 170 | 59 | 442,030 |
LOAD_CONST '\nquery getUserWarehouses {\n getUser {\n account {\n warehouses {\n uuid\n name\n connectionType\n }\n }\n }\n}\n'
STORE_NAME GET_USER_WAREHOUSES
LOAD_CONST None
RETURN_VALUE | GET_USER_WAREHOUSES = """
query getUserWarehouses {
getUser {
account {
warehouses {
uuid
name
connectionType
}
}
}
}
"""
| data/pycarlo-0.9.2/pycarlo/features/user/queries.py | 59 | 59 | 360,220 |
LOAD_CONST 0
LOAD_CONST ('Model',)
IMPORT_NAME msrest.serialization
IMPORT_FROM Model
STORE_NAME Model
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object JsonWebToken at 0x7fab820341e0, file "f.py", line 4>
LOAD_CONST 'JsonWebToken'
MAKE_FUNCTION
LOAD_CONST 'JsonWebToken'
LOAD_NAME Model
CALL_FUNCTION
STORE_NAME JsonWeb... | from msrest.serialization import Model
class JsonWebToken(Model):
"""JsonWebToken."""
_attribute_map = {}
def __init__(self):
super(JsonWebToken, self).__init__()
| data/vsts-0.1.25/vsts/identity/v4_0/models/json_web_token.py | 241 | 59 | 68,408 |
LOAD_CONST 0
LOAD_CONST ('annotations',)
IMPORT_NAME __future__
IMPORT_FROM annotations
STORE_NAME annotations
POP_TOP
LOAD_CONST 0
LOAD_CONST ('version_utils',)
IMPORT_NAME b2sdk
IMPORT_FROM version_utils
STORE_NAME version_utils
POP_TOP
LOAD_NAME version_utils
LOAD_METHOD rename_argument
LOAD_CONST 'file_infos'
LO... | from __future__ import annotations
from b2sdk import version_utils
_file_infos_rename = version_utils.rename_argument(
"file_infos", "file_info", None, "v3"
)
| data/b2sdk-1.31.0/b2sdk/v2/_compat.py | 110 | 59 | 28,186 |
LOAD_CONST 0
LOAD_CONST ('Categorical',)
IMPORT_NAME ConfigSpace.api.types.categorical
IMPORT_FROM Categorical
STORE_NAME Categorical
POP_TOP
LOAD_CONST 0
LOAD_CONST ('Float',)
IMPORT_NAME ConfigSpace.api.types.float
IMPORT_FROM Float
STORE_NAME Float
POP_TOP
LOAD_CONST 0
LOAD_CONST ('Integer',)
IMPORT_NAME ConfigSpa... | from ConfigSpace.api.types.categorical import Categorical
from ConfigSpace.api.types.float import Float
from ConfigSpace.api.types.integer import Integer
__all__ = ["Categorical", "Float", "Integer"]
| data/ConfigSpace-0.7.1/ConfigSpace/api/types/__init__.py | 126 | 59 | 357,795 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME xlsxwriter
STORE_NAME xlsxwriter
LOAD_NAME xlsxwriter
LOAD_METHOD Workbook
LOAD_CONST 'background.xlsx'
CALL_METHOD
STORE_NAME workbook
LOAD_NAME workbook
LOAD_METHOD add_worksheet
CALL_METHOD
STORE_NAME worksheet
LOAD_NAME worksheet
LOAD_METHOD set_background
LOAD_CONST 'log... | import xlsxwriter
workbook = xlsxwriter.Workbook("background.xlsx")
worksheet = workbook.add_worksheet()
worksheet.set_background("logo.png")
workbook.close()
| data/XlsxWriter-3.2.0/examples/background.py | 100 | 59 | 384,607 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME proto
STORE_NAME proto
LOAD_NAME proto
LOAD_ATTR module
LOAD_CONST 'google.iam.credentials.v1'
BUILD_MAP
LOAD_CONST ('package', 'manifest')
CALL_FUNCTION
STORE_NAME __protobuf__
LOAD_NAME tuple
LOAD_NAME sorted
LOAD_NAME __protobuf__
LOAD_ATTR manifest
CALL_FUNCTION
CALL_FUN... | import proto # type: ignore
__protobuf__ = proto.module(
package="google.iam.credentials.v1",
manifest={},
)
__all__ = tuple(sorted(__protobuf__.manifest))
| data/google-cloud-iam-2.14.1/google/cloud/iam_credentials_v1/types/iamcredentials.py | 81 | 59 | 237,424 |
LOAD_CONST 0
LOAD_CONST ('uuid',)
IMPORT_NAME faust.utils
IMPORT_FROM uuid
STORE_NAME uuid
POP_TOP
LOAD_CONST <code object test_uuid at 0x7fab42aab390, file "f.py", line 4>
LOAD_CONST 'test_uuid'
MAKE_FUNCTION
STORE_NAME test_uuid
LOAD_CONST None
RETURN_VALUE
LOAD_GLOBAL set
CALL_FUNCTION
STORE_FAST seen
SETUP_LOOP ... | from faust.utils import uuid
def test_uuid():
seen = set()
for _ in range(100):
uid = uuid()
assert uid not in seen
seen.add(uid)
| data/faust-streaming-0.10.22/tests/unit/utils/test_utils.py | 173 | 59 | 77,300 |
LOAD_CONST 2
LOAD_CONST ('_utilities',)
IMPORT_NAME
IMPORT_FROM _utilities
STORE_NAME _utilities
POP_TOP
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME typing
STORE_NAME typing
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME bitbucket_server_config
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME get_trigger
IMPORT_STAR
... | from .. import _utilities
import typing
from .bitbucket_server_config import *
from .get_trigger import *
from .trigger import *
from .worker_pool import *
from ._inputs import *
from . import outputs
| data/pulumi_gcp-7.9.0/pulumi_gcp/cloudbuild/__init__.py | 159 | 59 | 445,467 |
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME azure.cli.core.aaz
IMPORT_STAR
LOAD_BUILD_CLASS
LOAD_CONST <code object __CMDGroup at 0x7faa5e81f540, file "f.py", line 4>
LOAD_CONST '__CMDGroup'
MAKE_FUNCTION
LOAD_CONST '__CMDGroup'
LOAD_NAME AAZCommandGroup
CALL_FUNCTION
STORE_NAME __CMDGroup
LOAD_CONST '__CMDGroup'
BUIL... | from azure.cli.core.aaz import *
class __CMDGroup(AAZCommandGroup):
"""Manage address pools of a basic load balancer"""
pass
__all__ = ["__CMDGroup"]
| data/azure-cli-2.57.0/azure/cli/command_modules/network/aaz/latest/network/lb/address_pool/basic/__cmd_group.py | 166 | 59 | 378,131 |
LOAD_CONST 0
LOAD_CONST ('Enum',)
IMPORT_NAME enum
IMPORT_FROM Enum
STORE_NAME Enum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object ManagedAppDataTransferLevel at 0x7fab70027420, file "f.py", line 4>
LOAD_CONST 'ManagedAppDataTransferLevel'
MAKE_FUNCTION
LOAD_CONST 'ManagedAppDataTransferLevel'
LOAD_NAME str
LOAD_NAM... | from enum import Enum
class ManagedAppDataTransferLevel(str, Enum):
AllApps = ("allApps",)
ManagedApps = ("managedApps",)
None_ = ("none",)
| data/msgraph-sdk-1.1.0/msgraph/generated/models/managed_app_data_transfer_level.py | 185 | 59 | 260,456 |
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/pyuwsgi-2.0.23.post0/plugins/alarm_xmpp/uwsgiplugin.py | 80 | 59 | 293,988 |
LOAD_CONST 1
LOAD_CONST ('ChangeCloudPassword',)
IMPORT_NAME change_cloud_password
IMPORT_FROM ChangeCloudPassword
STORE_NAME ChangeCloudPassword
POP_TOP
LOAD_CONST 1
LOAD_CONST ('EnableCloudPassword',)
IMPORT_NAME enable_cloud_password
IMPORT_FROM EnableCloudPassword
STORE_NAME EnableCloudPassword
POP_TOP
LOAD_CONST... | from .change_cloud_password import ChangeCloudPassword
from .enable_cloud_password import EnableCloudPassword
from .remove_cloud_password import RemoveCloudPassword
class Password(RemoveCloudPassword, ChangeCloudPassword, EnableCloudPassword):
pass
| data/Pyrogram-2.0.106/pyrogram/methods/password/__init__.py | 195 | 59 | 272,896 |
LOAD_CONST 'Interact with the Censys Search v2 APIs.'
STORE_NAME __doc__
LOAD_CONST 1
LOAD_CONST ('CensysCerts',)
IMPORT_NAME certs
IMPORT_FROM CensysCerts
STORE_NAME CensysCerts
POP_TOP
LOAD_CONST 1
LOAD_CONST ('CensysHosts',)
IMPORT_NAME hosts
IMPORT_FROM CensysHosts
STORE_NAME CensysHosts
POP_TOP
LOAD_CONST 'Cens... | """Interact with the Censys Search v2 APIs."""
from .certs import CensysCerts
from .hosts import CensysHosts
__all__ = ["CensysCerts", "CensysHosts"]
| data/censys-2.2.11/censys/search/v2/__init__.py | 121 | 59 | 190,519 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.