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 '\nPythonifier for BGP Table/View\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('loadyaml',)
IMPORT_NAME jnpr.junos.factory
IMPORT_FROM loadyaml
STORE_NAME loadyaml
POP_TOP
LOAD_CONST 0
LOAD_CONST ('splitext',)
IMPORT_NAME os.path
IMPORT_FROM splitext
STORE_NAME splitext
POP_TOP
LOAD_NAME splitext
LOAD_N... | """
Pythonifier for BGP Table/View
"""
from jnpr.junos.factory import loadyaml
from os.path import splitext
_YAML_ = splitext(__file__)[0] + ".yml"
globals().update(loadyaml(_YAML_))
| data/junos-eznc-2.7.0/lib/jnpr/junos/resources/bgp.py | 153 | 76 | 209,194 |
LOAD_CONST 0
LOAD_CONST ('APIException', 'ControllerException')
IMPORT_NAME zigpy.exceptions
IMPORT_FROM APIException
STORE_NAME APIException
IMPORT_FROM ControllerException
STORE_NAME ControllerException
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object EzspError at 0x7fab7014f780, file "f.py", line 4>
LOAD_CONST 'Ezs... | from zigpy.exceptions import APIException, ControllerException
class EzspError(APIException):
pass
class InvalidCommandError(EzspError):
pass
class ControllerError(ControllerException):
pass
class StackAlreadyRunning(EzspError):
pass
| data/bellows-0.38.0/bellows/exception.py | 431 | 76 | 155,685 |
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 ('decode_predictions',)
IMPORT_NAME keras.src.applications.imagenet_utils
IMPORT_FROM decode_predictions
STORE_NAME decode_predictions
POP_TOP
... | """DO NOT EDIT.
This file was autogenerated. Do not edit it by hand,
since your modifications would be overwritten.
"""
from keras.src.applications.imagenet_utils import decode_predictions
from keras.src.applications.imagenet_utils import preprocess_input
| data/keras-3.0.5/keras/_tf_keras/keras/applications/imagenet_utils/__init__.py | 133 | 76 | 349,539 |
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_tofloat64_fromuint64_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_tofloat64_fromuint64.py | 207 | 76 | 220,558 |
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_touint8_fromint32_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_touint8_fromint32.py | 206 | 76 | 220,426 |
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 ('ArtifactsClient',)
IMPORT_NAME artifacts_client
IMPORT_FROM ArtifactsClient
STORE_NAME ArtifactsClient
POP_TOP
LOAD_CONST 1
LOAD_CONST ('ArtifactsClientComposite... | from __future__ import absolute_import
from .artifacts_client import ArtifactsClient
from .artifacts_client_composite_operations import ArtifactsClientCompositeOperations
from . import models
__all__ = ["ArtifactsClient", "ArtifactsClientCompositeOperations", "models"]
| data/oci-2.122.0/src/oci/artifacts/__init__.py | 175 | 76 | 410,724 |
LOAD_CONST 3
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 FlowSchema
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME FlowSchemaList
IMPORT_STAR
LOAD_CONS... | from ... import _utilities
import typing
from .FlowSchema import *
from .FlowSchemaList import *
from .FlowSchemaPatch import *
from .PriorityLevelConfiguration import *
from .PriorityLevelConfigurationList import *
from .PriorityLevelConfigurationPatch import *
from ._inputs import *
from . import outputs
| data/pulumi_kubernetes-4.7.1/pulumi_kubernetes/flowcontrol/v1/__init__.py | 199 | 76 | 123,946 |
LOAD_CONST '\nenterprise_learner_portal app.\n'
STORE_NAME __doc__
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 EnterpriseLearnerPortalConfig at 0x7fab54330f60, file "f.py", line 8>
LOAD_CONST 'EnterpriseLear... | """
enterprise_learner_portal app.
"""
from django.apps import AppConfig
class EnterpriseLearnerPortalConfig(AppConfig):
"""
enterprise_learner_portal app config.
"""
name = "enterprise_learner_portal"
| data/edx-enterprise-4.12.1/enterprise_learner_portal/apps.py | 206 | 76 | 91,386 |
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_touint8_fromuint16_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_touint8_fromuint16.py | 207 | 76 | 220,431 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.object_detection.region_similarity_calculator.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.object_detection.region_similarity_calculator
... | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.object_detection.region_similarity_calculator."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.object_detection.region_similarity_calculator import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/third_party/efficientdet/object_detection/region_similarity_calculator.py | 96 | 76 | 401,238 |
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_toint64_fromuint64_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_toint64_fromuint64.py | 206 | 76 | 220,464 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME os.path
STORE_NAME os
LOAD_CONST 'VERSION'
STORE_NAME FNAME
LOAD_NAME os
LOAD_ATTR path
LOAD_METHOD dirname
LOAD_NAME os
LOAD_ATTR path
LOAD_METHOD abspath
LOAD_NAME __file__
CALL_METHOD
CALL_METHOD
STORE_NAME root
LOAD_NAME open
LOAD_NAME os
LOAD_ATTR path
LOAD_METHOD join
L... | import os.path
FNAME = "VERSION"
root = os.path.dirname(os.path.abspath(__file__))
with open(os.path.join(root, FNAME), "r", encoding="utf-8") as f:
__version__ = f.read().strip()
| data/yamale-4.0.4/yamale/version.py | 145 | 76 | 171,914 |
LOAD_CONST 0
LOAD_CONST ('Prophet',)
IMPORT_NAME prophet.forecaster
IMPORT_FROM Prophet
STORE_NAME Prophet
POP_TOP
LOAD_CONST 0
LOAD_CONST ('Path',)
IMPORT_NAME pathlib
IMPORT_FROM Path
STORE_NAME Path
POP_TOP
BUILD_MAP
STORE_NAME about
LOAD_NAME Path
LOAD_NAME __file__
CALL_FUNCTION
LOAD_ATTR parent
LOAD_METHOD res... | from prophet.forecaster import Prophet
from pathlib import Path
about = {}
here = Path(__file__).parent.resolve()
with open(here / "__version__.py", "r") as f:
exec(f.read(), about)
__version__ = about["__version__"]
| data/prophet-1.1.5/prophet/__init__.py | 167 | 76 | 233,145 |
LOAD_CONST '\nflake8-noqa package.\n\nChecks for malformed noqa comments.\n'
STORE_NAME __doc__
LOAD_CONST 'NQA'
STORE_NAME plugin_prefix
LOAD_NAME plugin_prefix
FORMAT_VALUE
LOAD_CONST '0'
BUILD_STRING
STORE_NAME noqa_checker_prefix
LOAD_NAME plugin_prefix
FORMAT_VALUE
LOAD_CONST '1'
BUILD_STRING
STORE_NAME noqa_fi... | """
flake8-noqa package.
Checks for malformed noqa comments.
"""
plugin_prefix = "NQA"
noqa_checker_prefix = f"{plugin_prefix}0"
noqa_filter_prefix = f"{plugin_prefix}1"
| data/flake8-noqa-1.4.0/flake8_noqa/__init__.py | 100 | 76 | 288,147 |
LOAD_CONST 1
LOAD_CONST ('BaseContext', 'HTTPContextType', 'WebSocketContextType', 'make_graphql_controller')
IMPORT_NAME controller
IMPORT_FROM BaseContext
STORE_NAME BaseContext
IMPORT_FROM HTTPContextType
STORE_NAME HTTPContextType
IMPORT_FROM WebSocketContextType
STORE_NAME WebSocketContextType
IMPORT_FROM make_gra... | from .controller import (
BaseContext,
HTTPContextType,
WebSocketContextType,
make_graphql_controller,
)
__all__ = [
"BaseContext",
"HTTPContextType",
"WebSocketContextType",
"make_graphql_controller",
]
| data/strawberry_graphql-0.219.2/strawberry/litestar/__init__.py | 127 | 76 | 201,372 |
LOAD_CONST 'faster-rcnn_r50_fpn_32xb2-1x_openimages.py'
BUILD_LIST
STORE_NAME _base_
LOAD_NAME dict
LOAD_NAME dict
LOAD_CONST True
LOAD_CONST 'ClassAwareSampler'
LOAD_CONST 1
LOAD_CONST ('_delete_', 'type', 'num_sample_class')
CALL_FUNCTION
LOAD_CONST ('sampler',)
CALL_FUNCTION
STORE_NAME train_dataloader
LOAD_CONST ... | _base_ = ["faster-rcnn_r50_fpn_32xb2-1x_openimages.py"]
train_dataloader = dict(
sampler=dict(_delete_=True, type="ClassAwareSampler", num_sample_class=1)
)
| data/mmdet-3.3.0/mmdet/.mim/configs/openimages/faster-rcnn_r50_fpn_32xb2-cas-1x_openimages.py | 102 | 76 | 151,357 |
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_touint8_fromint16_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_touint8_fromint16.py | 206 | 76 | 220,758 |
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_ListOffs... | import pytest
import kernels
@pytest.mark.skip(reason="Unable to generate any tests for kernel")
def test_pyawkward_ListOffsetArray_reduce_nonlocal_nextstarts_64_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_ListOffsetArray_reduce_nonlocal_nextstarts_64.py | 206 | 76 | 220,455 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME numpy
STORE_NAME np
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pandas
STORE_NAME pd
LOAD_CONST <code object test_contains_nan at 0x7fab703f0390, file "f.py", line 6>
LOAD_CONST 'test_contains_nan'
MAKE_FUNCTION
STORE_NAME test_contains_nan
LOAD_CONST None
RETURN_VALUE
LOAD_GLOB... | import numpy as np
import pandas as pd
def test_contains_nan():
arr = pd.array(range(5)) / 0
assert np.isnan(arr._data[0])
assert not arr.isna()[0]
assert np.nan in arr
| data/pandas-2.2.0/pandas/tests/arrays/floating/test_contains.py | 202 | 76 | 170,630 |
LOAD_CONST 3
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 FlowSchema
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME FlowSchemaList
IMPORT_STAR
LOAD_CONS... | from ... import _utilities
import typing
from .FlowSchema import *
from .FlowSchemaList import *
from .FlowSchemaPatch import *
from .PriorityLevelConfiguration import *
from .PriorityLevelConfigurationList import *
from .PriorityLevelConfigurationPatch import *
from ._inputs import *
from . import outputs
| data/pulumi_kubernetes-4.7.1/pulumi_kubernetes/flowcontrol/v1beta2/__init__.py | 199 | 76 | 123,955 |
LOAD_CONST 0
LOAD_CONST ('Dict',)
IMPORT_NAME typing
IMPORT_FROM Dict
STORE_NAME Dict
POP_TOP
LOAD_CONST 0
LOAD_CONST ('Paginator',)
IMPORT_NAME botocore.paginate
IMPORT_FROM Paginator
STORE_NAME Paginator
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object GetEntitlements at 0x7fab8025c8a0, file "f.py", line 5>
LOAD_CO... | from typing import Dict
from botocore.paginate import Paginator
class GetEntitlements(Paginator):
def paginate(
self, ProductCode: str, Filter: Dict = None, PaginationConfig: Dict = None
) -> Dict:
pass
| data/boto3_type_annotations-0.3.1/boto3_type_annotations/marketplace_entitlement/paginator.py | 265 | 76 | 103,563 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.object_detection.region_similarity_calculator.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.object_detection.region_similarity_calculator
... | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.object_detection.region_similarity_calculator."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.object_detection.region_similarity_calculator import *
| data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/third_party/efficientdet/object_detection/region_similarity_calculator.py | 96 | 76 | 389,331 |
LOAD_CONST 1
LOAD_CONST ('RemoteConfigEventData', 'RemoteConfigUser', 'RemoteConfigUpdateOrigin', 'RemoteConfigUpdateType')
IMPORT_NAME data
IMPORT_FROM RemoteConfigEventData
STORE_NAME RemoteConfigEventData
IMPORT_FROM RemoteConfigUser
STORE_NAME RemoteConfigUser
IMPORT_FROM RemoteConfigUpdateOrigin
STORE_NAME RemoteC... | from .data import (
RemoteConfigEventData,
RemoteConfigUser,
RemoteConfigUpdateOrigin,
RemoteConfigUpdateType,
)
__all__ = (
"RemoteConfigEventData",
"RemoteConfigUser",
"RemoteConfigUpdateOrigin",
"RemoteConfigUpdateType",
)
| data/google-events-0.11.0/src/google/events/firebase/remoteconfig_v1/types/__init__.py | 116 | 76 | 13,215 |
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_tofloat64_fromint16_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_tofloat64_fromint16.py | 206 | 76 | 220,441 |
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_toint64_fromfloat64_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_toint64_fromfloat64.py | 206 | 76 | 220,669 |
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME pyxb.bundles.wssplat.raw.wsdl20
IMPORT_STAR
LOAD_NAME pyxb
LOAD_ATTR namespace
LOAD_ATTR NamespaceContext
LOAD_METHOD _AddTargetNamespaceAttribute
LOAD_NAME raw_wsdl20
LOAD_ATTR Namespace
LOAD_METHOD createExpandedName
LOAD_CONST 'definitions'
CALL_METHOD
LOAD_NAME pyxb
LOA... | from pyxb.bundles.wssplat.raw.wsdl20 import *
pyxb.namespace.NamespaceContext._AddTargetNamespaceAttribute(
raw_wsdl20.Namespace.createExpandedName("definitions"),
pyxb.namespace.ExpandedName("targetNamespace"),
)
| data/PyXB-1.2.6/pyxb/bundles/wssplat/wsdl20.py | 112 | 76 | 91,100 |
LOAD_CONST 'setUpModule is always called, even if all tests in the module are skipped'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME unittest
STORE_NAME unittest
LOAD_CONST <code object setUpModule at 0x7f8ab7985c90, file "f.py", line 6>
LOAD_CONST 'setUpModule'
MAKE_FUNCTION
STORE_NAME setUpModule
LOA... | """setUpModule is always called, even if all tests in the module are skipped"""
import unittest
def setUpModule():
assert 0
@unittest.skip("skip all tests")
class Base(unittest.TestCase):
def test(self):
assert 0
| data/pytest-8.0.1/testing/example_scripts/unittest/test_setup_skip_module.py | 291 | 76 | 427,662 |
LOAD_BUILD_CLASS
LOAD_CONST <code object HL7Exception at 0x7f8b200cdf60, file "f.py", line 1>
LOAD_CONST 'HL7Exception'
MAKE_FUNCTION
LOAD_CONST 'HL7Exception'
LOAD_NAME Exception
CALL_FUNCTION
STORE_NAME HL7Exception
LOAD_BUILD_CLASS
LOAD_CONST <code object MalformedSegmentException at 0x7f8b200cd390, file "f.py", li... | class HL7Exception(Exception):
pass
class MalformedSegmentException(HL7Exception):
pass
class MalformedBatchException(HL7Exception):
pass
class MalformedFileException(HL7Exception):
pass
class ParseException(HL7Exception):
pass
| data/hl7-0.4.5/hl7/exceptions.py | 497 | 76 | 405,930 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME argparse
STORE_NAME argparse
LOAD_CONST 0
LOAD_CONST ('contents', 'where')
IMPORT_NAME certifi
IMPORT_FROM contents
STORE_NAME contents
IMPORT_FROM where
STORE_NAME where
POP_TOP
LOAD_NAME argparse
LOAD_METHOD ArgumentParser
CALL_METHOD
STORE_NAME parser
LOAD_NAME parser
LOAD... | import argparse
from certifi import contents, where
parser = argparse.ArgumentParser()
parser.add_argument("-c", "--contents", action="store_true")
args = parser.parse_args()
if args.contents:
print(contents())
else:
print(where())
| data/certifi-2024.2.2/certifi/__main__.py | 158 | 76 | 175,729 |
LOAD_CONST 'Meta data of line-bot-sdk.'
STORE_NAME __doc__
LOAD_CONST '3.9.0'
STORE_NAME __version__
LOAD_CONST 'LINE Corporation'
STORE_NAME __author__
LOAD_CONST 'Copyright 2016, LINE Corporation'
STORE_NAME __copyright__
LOAD_CONST 'Apache 2.0'
STORE_NAME __license__
LOAD_CONST '__version__'
STORE_NAME __all__
... | """Meta data of line-bot-sdk."""
__version__ = "3.9.0"
__author__ = "LINE Corporation"
__copyright__ = "Copyright 2016, LINE Corporation"
__license__ = "Apache 2.0"
__all__ = "__version__"
| data/line-bot-sdk-3.9.0/linebot/__about__.py | 98 | 76 | 48,710 |
LOAD_CONST 0
LOAD_CONST ('current_audit_info',)
IMPORT_NAME prowler.providers.aws.lib.audit_info.audit_info
IMPORT_FROM current_audit_info
STORE_NAME current_audit_info
POP_TOP
LOAD_CONST 0
LOAD_CONST ('Organizations',)
IMPORT_NAME prowler.providers.aws.services.organizations.organizations_service
IMPORT_FROM Organiza... | from prowler.providers.aws.lib.audit_info.audit_info import current_audit_info
from prowler.providers.aws.services.organizations.organizations_service import (
Organizations,
)
organizations_client = Organizations(current_audit_info)
| data/prowler-3.14.0/prowler/providers/aws/services/organizations/organizations_client.py | 122 | 76 | 183,417 |
LOAD_CONST 0
LOAD_CONST ('Enum',)
IMPORT_NAME enum
IMPORT_FROM Enum
STORE_NAME Enum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object SynchronizationStatusCode at 0x7fab4298e270, file "f.py", line 4>
LOAD_CONST 'SynchronizationStatusCode'
MAKE_FUNCTION
LOAD_CONST 'SynchronizationStatusCode'
LOAD_NAME str
LOAD_NAME Enum... | from enum import Enum
class SynchronizationStatusCode(str, Enum):
NotConfigured = ("NotConfigured",)
NotRun = ("NotRun",)
Active = ("Active",)
Paused = ("Paused",)
Quarantine = ("Quarantine",)
| data/msgraph-sdk-1.1.0/msgraph/generated/models/synchronization_status_code.py | 198 | 76 | 261,189 |
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_touint32_fromint8_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_touint32_fromint8.py | 206 | 76 | 220,724 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME plac
STORE_NAME plac
LOAD_CONST 0
LOAD_CONST ('FakeImporter',)
IMPORT_NAME importer2
IMPORT_FROM FakeImporter
STORE_NAME FakeImporter
POP_TOP
LOAD_CONST (2199,)
LOAD_CONST <code object main at 0x7faa7c009540, file "f.py", line 5>
LOAD_CONST 'main'
MAKE_FUNCTION
STORE_NAME main... | import plac
from importer2 import FakeImporter
def main(port=2199):
main = FakeImporter("dsn")
plac.Interpreter(main).start_server(port)
if __name__ == "__main__":
plac.call(main)
| data/plac-1.4.2/doc/server_ex.py | 183 | 76 | 112,211 |
LOAD_CONST 0
LOAD_CONST ('backend_to_check', 'prog_check')
IMPORT_NAME bt
IMPORT_FROM backend_to_check
STORE_NAME backend_to_check
IMPORT_FROM prog_check
STORE_NAME prog_check
POP_TOP
LOAD_CONST 0
LOAD_CONST ('use_x_display',)
IMPORT_NAME pyscreenshot.util
IMPORT_FROM use_x_display
STORE_NAME use_x_display
POP_TOP
LO... | from bt import backend_to_check, prog_check
from pyscreenshot.util import use_x_display
if use_x_display():
if prog_check(["maim", "--version"]):
def test_maim():
backend_to_check("maim")
| data/pyscreenshot-3.1/tests/test_maim.py | 206 | 76 | 12,402 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME sys
STORE_NAME sys
LOAD_NAME sys
LOAD_ATTR version_info
LOAD_CONST (3, 0)
COMPARE_OP >=
POP_JUMP_IF_FALSE
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME unicodecsv.py3
IMPORT_STAR
JUMP_FORWARD to 36
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME unicodecsv.py2
IMPORT_STAR
LOAD_CONST... | import sys
if sys.version_info >= (3, 0):
from unicodecsv.py3 import *
else:
from unicodecsv.py2 import *
VERSION = (0, 14, 1)
__version__ = ".".join(map(str, VERSION))
| data/unicodecsv-0.14.1/unicodecsv/__init__.py | 134 | 76 | 135,122 |
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_toint32_fromint64_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_toint32_fromint64.py | 206 | 76 | 220,564 |
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_touint64_fromuint8_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_touint64_fromuint8.py | 207 | 76 | 220,562 |
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_touint16_fromuint8_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_touint16_fromuint8.py | 207 | 76 | 220,534 |
LOAD_CONST 3
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 FlowSchema
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME FlowSchemaList
IMPORT_STAR
LOAD_CONS... | from ... import _utilities
import typing
from .FlowSchema import *
from .FlowSchemaList import *
from .FlowSchemaPatch import *
from .PriorityLevelConfiguration import *
from .PriorityLevelConfigurationList import *
from .PriorityLevelConfigurationPatch import *
from ._inputs import *
from . import outputs
| data/pulumi_kubernetes-4.7.1/pulumi_kubernetes/flowcontrol/v1beta3/__init__.py | 199 | 76 | 123,982 |
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_toint64_fromint32_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_toint64_fromint32.py | 207 | 76 | 220,561 |
LOAD_CONST '\n This module contains the warning classes for h5py. These classes are part of\n the public API of h5py, and should be imported from this module.\n'
STORE_NAME __doc__
LOAD_BUILD_CLASS
LOAD_CONST <code object H5pyWarning at 0x7fab701acb70, file "f.py", line 7>
LOAD_CONST 'H5pyWarning'
MAKE_FUNCTION
LOAD_C... | """
This module contains the warning classes for h5py. These classes are part of
the public API of h5py, and should be imported from this module.
"""
class H5pyWarning(UserWarning):
pass
class H5pyDeprecationWarning(H5pyWarning):
pass
| data/h5py-3.10.0/h5py/h5py_warnings.py | 264 | 76 | 191,787 |
LOAD_CONST 'Exception for errors raised by the calibration pass module.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('QiskitError',)
IMPORT_NAME qiskit.exceptions
IMPORT_FROM QiskitError
STORE_NAME QiskitError
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object CalibrationNotAvailable at 0x7fab8214d6f0, file "f.py", lin... | """Exception for errors raised by the calibration pass module."""
from qiskit.exceptions import QiskitError
class CalibrationNotAvailable(QiskitError):
"""Raised when calibration generation fails.
.. note::
This error is meant to caught by CalibrationBuilder and ignored.
"""
| data/qiskit-1.0.0/qiskit/transpiler/passes/calibration/exceptions.py | 204 | 76 | 283,062 |
LOAD_CONST 3
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 FlowSchema
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME FlowSchemaList
IMPORT_STAR
LOAD_CONS... | from ... import _utilities
import typing
from .FlowSchema import *
from .FlowSchemaList import *
from .FlowSchemaPatch import *
from .PriorityLevelConfiguration import *
from .PriorityLevelConfigurationList import *
from .PriorityLevelConfigurationPatch import *
from ._inputs import *
from . import outputs
| data/pulumi_kubernetes-4.7.1/pulumi_kubernetes/flowcontrol/v1alpha1/__init__.py | 199 | 76 | 123,973 |
LOAD_CONST 0
LOAD_CONST ('backend_to_check', 'prog_check')
IMPORT_NAME bt
IMPORT_FROM backend_to_check
STORE_NAME backend_to_check
IMPORT_FROM prog_check
STORE_NAME prog_check
POP_TOP
LOAD_CONST 0
LOAD_CONST ('use_x_display',)
IMPORT_NAME pyscreenshot.util
IMPORT_FROM use_x_display
STORE_NAME use_x_display
POP_TOP
LO... | from bt import backend_to_check, prog_check
from pyscreenshot.util import use_x_display
if not use_x_display():
if prog_check(["grim", "-h"]):
def test_grim():
backend_to_check("grim")
| data/pyscreenshot-3.1/tests/test_grim.py | 205 | 76 | 12,420 |
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_toint32_fromfloat32_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_toint32_fromfloat32.py | 206 | 76 | 220,545 |
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME attn_output_parameters
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME embedding_parameters
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME mlp_parameters
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME moe_parameters
IMPORT_STAR
LOAD_CONST 1
LOAD_CONS... | from .attn_output_parameters import *
from .embedding_parameters import *
from .mlp_parameters import *
from .moe_parameters import *
from .norm_parameters import *
from .qkv_parameters import *
from .unembed_parameters import *
from .invfreq_parameters import *
| data/deepspeed-0.13.2/deepspeed/inference/v2/model_implementations/common_parameters/__init__.py | 158 | 76 | 84,956 |
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_fromint32_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_tofloat32_fromint32.py | 206 | 76 | 220,560 |
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_ListArra... | import pytest
import kernels
@pytest.mark.skip(reason="Unable to generate any tests for kernel")
def test_pyawkward_ListArrayU32_getitem_next_range_carrylength_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_ListArrayU32_getitem_next_range_carrylength.py | 207 | 76 | 220,707 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pytest
STORE_NAME pytest
LOAD_NAME pytest
LOAD_ATTR fixture
LOAD_CONST 'package'
LOAD_CONST ('scope',)
CALL_FUNCTION
LOAD_CONST <code object salt_cloud_cli at 0x7fab701da150, file "f.py", line 4>
LOAD_CONST 'salt_cloud_cli'
MAKE_FUNCTION
CALL_FUNCTION
STORE_NAME salt_cloud_cli
... | import pytest
@pytest.fixture(scope="package")
def salt_cloud_cli(salt_master_factory):
"""
The ``salt-cloud`` CLI as a fixture against the running master
"""
return salt_master_factory.salt_cloud_cli()
| data/salt-3006.6/tests/pytests/functional/cli/conftest.py | 117 | 76 | 95,699 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME click
STORE_NAME click
LOAD_CONST 2
LOAD_CONST ('download_models',)
IMPORT_NAME bg
IMPORT_FROM download_models
STORE_NAME download_models
POP_TOP
LOAD_NAME click
LOAD_ATTR command
LOAD_CONST 'd'
LOAD_CONST 'download all models'
LOAD_CONST ('name', 'help')
CALL_FUNCTION
LOAD... | import click
from ..bg import download_models
@click.command( # type: ignore
name="d",
help="download all models",
)
def d_command(*args, **kwargs) -> None:
"""
Download all models
"""
download_models()
| data/rembg-2.0.54/rembg/commands/d_command.py | 152 | 76 | 160,666 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME sys
STORE_NAME sys
LOAD_CONST 0
LOAD_CONST ('load_class_extensions',)
IMPORT_NAME interpret.ext.extension_utils
IMPORT_FROM load_class_extensions
STORE_NAME load_class_extensions
POP_TOP
LOAD_CONST 0
LOAD_CONST ('PROVIDER_EXTENSION_KEY', '_is_valid_provider')
IMPORT_NAME inter... | import sys
from interpret.ext.extension_utils import load_class_extensions
from interpret.ext.extension import PROVIDER_EXTENSION_KEY, _is_valid_provider
load_class_extensions(sys.modules[__name__], PROVIDER_EXTENSION_KEY, _is_valid_provider)
| data/interpret-core-0.5.1/interpret/ext/provider/__init__.py | 174 | 76 | 387,978 |
LOAD_CONST 0
LOAD_CONST ('loader',)
IMPORT_NAME django.template
IMPORT_FROM loader
STORE_NAME loader
POP_TOP
LOAD_CONST 0
LOAD_CONST ('HttpResponse',)
IMPORT_NAME django.http
IMPORT_FROM HttpResponse
STORE_NAME HttpResponse
POP_TOP
LOAD_CONST (None,)
LOAD_CONST <code object direct_to_template at 0x7fab429fa660, file ... | from django.template import loader
from django.http import HttpResponse
def direct_to_template(request, template, mimetype=None, **kwargs):
t = loader.get_template(template)
return HttpResponse(t.render({"request": request}), content_type=mimetype)
| data/sorl-thumbnail-12.10.0/tests/thumbnail_tests/views.py | 173 | 76 | 341,650 |
LOAD_BUILD_CLASS
LOAD_CONST <code object ModelFactoryError at 0x7faaac2279c0, file "f.py", line 1>
LOAD_CONST 'ModelFactoryError'
MAKE_FUNCTION
LOAD_CONST 'ModelFactoryError'
LOAD_NAME Exception
CALL_FUNCTION
STORE_NAME ModelFactoryError
LOAD_BUILD_CLASS
LOAD_CONST <code object ConfigurationError at 0x7fab8227a390, fi... | class ModelFactoryError(Exception):
pass
class ConfigurationError(ModelFactoryError):
pass
class ParameterError(ModelFactoryError):
pass
class MissingBuildKwargError(ModelFactoryError):
pass
class MissingExtensionDependency(ModelFactoryError):
pass
| data/pydantic_factories-1.17.3/pydantic_factories/exceptions.py | 489 | 76 | 237,120 |
LOAD_CONST "Main entrypoint for the package, to ensure it's runnable, ie: `python -m crc`."
STORE_NAME __doc__
LOAD_CONST 1
LOAD_CONST ('main',)
IMPORT_NAME _crc
IMPORT_FROM main
STORE_NAME main
POP_TOP
LOAD_NAME __name__
LOAD_CONST '__main__'
COMPARE_OP ==
POP_JUMP_IF_FALSE
LOAD_NAME main
CALL_FUNCTION
POP_TOP
LOAD... | """Main entrypoint for the package, to ensure it's runnable, ie: `python -m crc`."""
from ._crc import main # pragma: no cover
if __name__ == "__main__": # pragma: no cover
main() # pragma: no cover
| data/crc-6.1.1/src/crc/__main__.py | 90 | 76 | 209,455 |
LOAD_CONST 'latex_babel.txt'
STORE_NAME test_source
LOAD_CONST 'latex_babel.tex'
STORE_NAME test_destination
LOAD_CONST 'latex'
STORE_NAME writer_name
LOAD_CONST False
LOAD_CONST True
LOAD_CONST ('legacy_column_widths', 'use_latex_citations')
BUILD_CONST_KEY_MAP
STORE_NAME settings_overrides
LOAD_CONST None
RETURN_... | test_source = "latex_babel.txt"
test_destination = "latex_babel.tex"
writer_name = "latex"
settings_overrides = {
"legacy_column_widths": False,
"use_latex_citations": True,
}
| data/docutils-0.20.1/test/functional/tests/latex_babel.py | 88 | 76 | 83,261 |
LOAD_CONST 0
LOAD_CONST ('GreatExpectationsTypeError',)
IMPORT_NAME great_expectations.exceptions
IMPORT_FROM GreatExpectationsTypeError
STORE_NAME GreatExpectationsTypeError
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object InvalidRenderedContentError at 0x7faa51b82420, file "f.py", line 4>
LOAD_CONST 'InvalidRendered... | from great_expectations.exceptions import GreatExpectationsTypeError
class InvalidRenderedContentError(GreatExpectationsTypeError):
pass
class InlineRendererError(GreatExpectationsTypeError):
pass
class RendererConfigurationError(GreatExpectationsTypeError):
pass
| data/great_expectations-0.18.9/great_expectations/render/exceptions.py | 361 | 76 | 18,774 |
LOAD_CONST 3
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 FlowSchema
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME FlowSchemaList
IMPORT_STAR
LOAD_CONS... | from ... import _utilities
import typing
from .FlowSchema import *
from .FlowSchemaList import *
from .FlowSchemaPatch import *
from .PriorityLevelConfiguration import *
from .PriorityLevelConfigurationList import *
from .PriorityLevelConfigurationPatch import *
from ._inputs import *
from . import outputs
| data/pulumi_kubernetes-4.7.1/pulumi_kubernetes/flowcontrol/v1beta1/__init__.py | 199 | 76 | 123,964 |
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_touint32_fromuint8_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_touint32_fromuint8.py | 207 | 76 | 220,507 |
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 ('decode_predictions',)
IMPORT_NAME keras.src.applications.imagenet_utils
IMPORT_FROM decode_predictions
STORE_NAME decode_predictions
POP_TOP
... | """DO NOT EDIT.
This file was autogenerated. Do not edit it by hand,
since your modifications would be overwritten.
"""
from keras.src.applications.imagenet_utils import decode_predictions
from keras.src.applications.imagenet_utils import preprocess_input
| data/keras-nightly-3.1.0.dev2024022103/keras/applications/imagenet_utils/__init__.py | 133 | 76 | 284,944 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pkg_resources
STORE_NAME pkg_resources
BUILD_MAP
STORE_NAME font_files
SETUP_LOOP to 46
LOAD_NAME pkg_resources
LOAD_METHOD iter_entry_points
LOAD_CONST 'fonts_ttf'
CALL_METHOD
GET_ITER
FOR_ITER to 44
STORE_NAME entry_point
LOAD_NAME font_files
LOAD_METHOD update
LOAD_NAME en... | import pkg_resources
font_files = {}
for entry_point in pkg_resources.iter_entry_points("fonts_ttf"):
font_files.update(entry_point.load())
for font in font_files:
globals()[font] = font_files[font]
| data/fonts-0.0.3/fonts/ttf/__init__.py | 151 | 76 | 221,954 |
LOAD_CONST 'Module houses `CSVDispatcher` class, that is used for reading `.csv` files.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('TextFileDispatcher',)
IMPORT_NAME modin.core.io.text.text_file_dispatcher
IMPORT_FROM TextFileDispatcher
STORE_NAME TextFileDispatcher
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object ... | """Module houses `CSVDispatcher` class, that is used for reading `.csv` files."""
from modin.core.io.text.text_file_dispatcher import TextFileDispatcher
class CSVDispatcher(TextFileDispatcher):
"""Class handles utils for reading `.csv` files."""
| data/modin-0.27.0/modin/core/io/text/csv_dispatcher.py | 199 | 76 | 165,527 |
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_reduce_adjust_starts_64_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_reduce_adjust_starts_64.py | 207 | 76 | 220,509 |
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_toint64_fromuint16_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_toint64_fromuint16.py | 206 | 76 | 220,730 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pkg_resources
STORE_NAME pkg_resources
BUILD_MAP
STORE_NAME font_files
SETUP_LOOP to 46
LOAD_NAME pkg_resources
LOAD_METHOD iter_entry_points
LOAD_CONST 'fonts_otf'
CALL_METHOD
GET_ITER
FOR_ITER to 44
STORE_NAME entry_point
LOAD_NAME font_files
LOAD_METHOD update
LOAD_NAME en... | import pkg_resources
font_files = {}
for entry_point in pkg_resources.iter_entry_points("fonts_otf"):
font_files.update(entry_point.load())
for font in font_files:
globals()[font] = font_files[font]
| data/fonts-0.0.3/fonts/otf/__init__.py | 151 | 76 | 221,955 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.recommendation.ml.model.recommendation_model.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.recommendation.ml.model.recommendation_model
IMPORT_STAR
LOAD_CONST None
... | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.recommendation.ml.model.recommendation_model."""
from tensorflow_examples.lite.model_maker.third_party.recommendation.ml.model.recommendation_model import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/third_party/recommendation/ml/model/recommendation_model.py | 96 | 76 | 401,203 |
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_ListOffs... | import pytest
import kernels
@pytest.mark.skip(reason="Unable to generate any tests for kernel")
def test_pyawkward_ListOffsetArray_reduce_nonlocal_nextshifts_64_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_ListOffsetArray_reduce_nonlocal_nextshifts_64.py | 207 | 76 | 220,513 |
LOAD_CONST '\nInvokes djangocms when the cms module is run as a script.\n\nExample: python -m cms mysite\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('djangocms',)
IMPORT_NAME cms.management
IMPORT_FROM djangocms
STORE_NAME djangocms
POP_TOP
LOAD_NAME __name__
LOAD_CONST '__main__'
COMPARE_OP ==
POP_JUMP_IF_FALSE
... | """
Invokes djangocms when the cms module is run as a script.
Example: python -m cms mysite
"""
from cms.management import djangocms
if __name__ == "__main__":
djangocms.execute_from_command_line()
| data/django-cms-4.1.0/cms/__main__.py | 123 | 76 | 86,859 |
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 path
LOAD_METHOD insert
LOAD_CONST 0
LOAD_NAME os
LOAD_ATTR path
LOAD_METHOD abspath
LOAD_CONST '.'
CALL_METHOD
CALL_METHOD
POP_TOP
LOAD_CONST 'sphinx.ext.autodoc'
BUILD_LIST
... | import os
import sys
sys.path.insert(0, os.path.abspath("."))
extensions = ["sphinx.ext.autodoc"]
source_suffix = ".rst"
autodoc_mock_imports = ["dummy"]
nitpicky = True
| data/sphinx-7.2.6/tests/roots/test-ext-autodoc/conf.py | 127 | 76 | 381,169 |
LOAD_CONST 1
LOAD_CONST ('getConfig',)
IMPORT_NAME tika
IMPORT_FROM getConfig
STORE_NAME getConfig
POP_TOP
LOAD_CONST <code object getParsers at 0x7fab700b4540, file "f.py", line 4>
LOAD_CONST 'getParsers'
MAKE_FUNCTION
STORE_NAME getParsers
LOAD_CONST <code object getMimeTypes at 0x7faa5f7d7f60, file "f.py", line 8>... | from .tika import getConfig
def getParsers():
return getConfig("parsers")[1]
def getMimeTypes():
return getConfig("mime-types")[1]
def getDetectors():
return getConfig("detectors")[1]
| data/tika-2.6.0/tika/config.py | 254 | 76 | 436,683 |
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_tofloat64_fromint64_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_tofloat64_fromint64.py | 206 | 76 | 220,515 |
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 ('decode_predictions',)
IMPORT_NAME keras.src.applications.imagenet_utils
IMPORT_FROM decode_predictions
STORE_NAME decode_predictions
POP_TOP
... | """DO NOT EDIT.
This file was autogenerated. Do not edit it by hand,
since your modifications would be overwritten.
"""
from keras.src.applications.imagenet_utils import decode_predictions
from keras.src.applications.imagenet_utils import preprocess_input
| data/keras-nightly-3.1.0.dev2024022103/keras/_tf_keras/keras/applications/imagenet_utils/__init__.py | 133 | 76 | 285,359 |
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_ListOffs... | import pytest
import kernels
@pytest.mark.skip(reason="Unable to generate any tests for kernel")
def test_pyawkward_ListOffsetArray32_reduce_local_nextparents_64_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_ListOffsetArray32_reduce_local_nextparents_64.py | 207 | 76 | 220,524 |
LOAD_CONST 0
LOAD_CONST ('abstractmethod',)
IMPORT_NAME abc
IMPORT_FROM abstractmethod
STORE_NAME abstractmethod
POP_TOP
LOAD_CONST 0
LOAD_CONST ('ConfigSearchPath',)
IMPORT_NAME hydra.core.config_search_path
IMPORT_FROM ConfigSearchPath
STORE_NAME ConfigSearchPath
POP_TOP
LOAD_CONST 1
LOAD_CONST ('Plugin',)
IMPORT_N... | from abc import abstractmethod
from hydra.core.config_search_path import ConfigSearchPath
from .plugin import Plugin
class SearchPathPlugin(Plugin):
@abstractmethod
def manipulate_search_path(self, search_path: ConfigSearchPath) -> None:
...
| data/hydra-core-1.3.2/hydra/plugins/search_path_plugin.py | 281 | 76 | 434,497 |
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_toint16_fromint16_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_toint16_fromint16.py | 207 | 76 | 220,527 |
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_toint32_fromuint16_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_toint32_fromuint16.py | 206 | 76 | 220,728 |
LOAD_CONST 0
LOAD_CONST ('ClientValue',)
IMPORT_NAME office365.runtime.client_value
IMPORT_FROM ClientValue
STORE_NAME ClientValue
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object PlannerChecklistItem at 0x7fab701ac270, file "f.py", line 4>
LOAD_CONST 'PlannerChecklistItem'
MAKE_FUNCTION
LOAD_CONST 'PlannerChecklistIt... | from office365.runtime.client_value import ClientValue
class PlannerChecklistItem(ClientValue):
"""
The plannerChecklistItem resource represents an item in the checklist of a task.
The checklist on a task is represented by the checklistItems object.
"""
pass
| data/Office365-REST-Python-Client-2.5.5/office365/planner/tasks/check_list_item.py | 187 | 76 | 188,613 |
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_toint16_fromuint32_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_toint16_fromuint32.py | 207 | 76 | 220,529 |
LOAD_CONST 0
LOAD_CONST ('include', 'path')
IMPORT_NAME django.urls
IMPORT_FROM include
STORE_NAME include
IMPORT_FROM path
STORE_NAME path
POP_TOP
LOAD_CONST 1
LOAD_CONST ('router',)
IMPORT_NAME drest
IMPORT_FROM router
STORE_NAME drest_router
POP_TOP
LOAD_CONST 1
LOAD_CONST ('router',)
IMPORT_NAME drf
IMPORT_FROM r... | from django.urls import include, path
from .drest import router as drest_router
from .drf import router as drf_router
urlpatterns = [
path("", include(drf_router.urls)),
path("", include(drest_router.urls)),
]
| data/dynamic-rest-2.1.2/benchmarks/urls.py | 145 | 76 | 47,347 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.recommendation.ml.model.recommendation_model.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.recommendation.ml.model.recommendation_model
IMPORT_STAR
LOAD_CONST None
... | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.recommendation.ml.model.recommendation_model."""
from tensorflow_examples.lite.model_maker.third_party.recommendation.ml.model.recommendation_model import *
| data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/third_party/recommendation/ml/model/recommendation_model.py | 96 | 76 | 389,296 |
LOAD_CONST 1
LOAD_CONST ('_Generic',)
IMPORT_NAME
IMPORT_FROM _Generic
STORE_NAME _Generic
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object _Device at 0x7fab70246e40, file "f.py", line 4>
LOAD_CONST '_Device'
MAKE_FUNCTION
LOAD_CONST '_Device'
LOAD_NAME _Generic
CALL_FUNCTION
STORE_NAME _Device
LOAD_BUILD_CLASS
LOAD_... | from . import _Generic
class _Device(_Generic):
_type = "device"
_icon_dir = "resources/generic/device"
class Mobile(_Device):
_icon = "mobile.png"
class Tablet(_Device):
_icon = "tablet.png"
| data/diagrams-0.23.4/diagrams/generic/device.py | 334 | 76 | 206,028 |
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_touint8_fromint64_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_touint8_fromint64.py | 206 | 76 | 220,417 |
LOAD_CONST 0
LOAD_CONST ('include',)
IMPORT_NAME django.conf.urls
IMPORT_FROM include
STORE_NAME include
POP_TOP
LOAD_CONST 0
LOAD_CONST ('path',)
IMPORT_NAME django.urls
IMPORT_FROM path
STORE_NAME path
POP_TOP
LOAD_CONST 0
LOAD_CONST ('HomeView',)
IMPORT_NAME tenant_tutorial.views
IMPORT_FROM HomeView
STORE_NAME Ho... | from django.conf.urls import include
from django.urls import path
from tenant_tutorial.views import HomeView
from django.contrib import admin
urlpatterns = [
path("", HomeView.as_view()),
path("admin/", admin.site.urls),
]
| data/django-tenants-3.6.1/examples/tenant_tutorial/tenant_tutorial/urls_public.py | 163 | 76 | 224,941 |
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME azure.cli.core.aaz
IMPORT_STAR
LOAD_NAME register_command_group
LOAD_CONST 'monitor metrics alert'
CALL_FUNCTION
LOAD_BUILD_CLASS
LOAD_CONST <code object __CMDGroup at 0x7faa53250ed0, file "f.py", line 4>
LOAD_CONST '__CMDGroup'
MAKE_FUNCTION
LOAD_CONST '__CMDGroup'
LOAD_NA... | from azure.cli.core.aaz import *
@register_command_group(
"monitor metrics alert",
)
class __CMDGroup(AAZCommandGroup):
"""Manage near-realtime metric alert rules."""
pass
__all__ = ["__CMDGroup"]
| data/azure-cli-2.57.0/azure/cli/command_modules/monitor/aaz/latest/monitor/metrics/alert/__cmd_group.py | 185 | 76 | 375,097 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME numpy
STORE_NAME np
LOAD_CONST 0
LOAD_CONST ('OpRunUnaryNum',)
IMPORT_NAME onnx.reference.ops._op
IMPORT_FROM OpRunUnaryNum
STORE_NAME OpRunUnaryNum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Relu at 0x7fab821a1420, file "f.py", line 6>
LOAD_CONST 'Relu'
MAKE_FUNCTION
LO... | import numpy as np
from onnx.reference.ops._op import OpRunUnaryNum
class Relu(OpRunUnaryNum):
def _run(self, x): # type: ignore
return (np.maximum(x, 0).astype(x.dtype),)
| data/onnx-1.15.0/onnx/reference/ops/op_relu.py | 233 | 76 | 111,169 |
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 get_signing_job
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME get_signing_profile
IMPORT_STAR
... | from .. import _utilities
import typing
from .get_signing_job import *
from .get_signing_profile import *
from .signing_job import *
from .signing_profile import *
from .signing_profile_permission import *
from ._inputs import *
from . import outputs
| data/pulumi_aws-6.22.2/pulumi_aws/signer/__init__.py | 183 | 76 | 227,695 |
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_toint64_fromuint32_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_toint64_fromuint32.py | 205 | 76 | 220,344 |
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_toint16_fromfloat64_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_toint16_fromfloat64.py | 206 | 76 | 220,345 |
LOAD_CONST 1
LOAD_CONST ('ipu', 'mlu', 'mps', 'npu')
IMPORT_NAME
IMPORT_FROM ipu
STORE_NAME ipu
IMPORT_FROM mlu
STORE_NAME mlu
IMPORT_FROM mps
STORE_NAME mps
IMPORT_FROM npu
STORE_NAME npu
POP_TOP
LOAD_CONST 1
LOAD_CONST ('scatter', 'scatter_kwargs')
IMPORT_NAME scatter_gather
IMPORT_FROM scatter
STORE_NAME scatter
IM... | from . import ipu, mlu, mps, npu
from .scatter_gather import scatter, scatter_kwargs
from .utils import get_device
__all__ = ["npu", "mlu", "ipu", "mps", "get_device", "scatter", "scatter_kwargs"]
| data/mmcv-full-1.7.2/mmcv/device/__init__.py | 190 | 76 | 257,042 |
LOAD_CONST 'Constants for the Flipr integration.'
STORE_NAME __doc__
LOAD_CONST 'flipr'
STORE_NAME DOMAIN
LOAD_CONST 'flipr_id'
STORE_NAME CONF_FLIPR_ID
LOAD_CONST 'Flipr Data'
STORE_NAME ATTRIBUTION
LOAD_CONST 'CTAC-TECH'
STORE_NAME MANUFACTURER
LOAD_CONST 'Flipr'
STORE_NAME NAME
LOAD_CONST None
RETURN_VALUE | """Constants for the Flipr integration."""
DOMAIN = "flipr"
CONF_FLIPR_ID = "flipr_id"
ATTRIBUTION = "Flipr Data"
MANUFACTURER = "CTAC-TECH"
NAME = "Flipr"
| data/homeassistant-2024.2.2/homeassistant/components/flipr/const.py | 98 | 76 | 297,456 |
LOAD_CONST 1048576
STORE_NAME MEBIBYTE
LOAD_CONST 10
LOAD_NAME MEBIBYTE
BINARY_MULTIPLY
STORE_NAME STREAMING_DEFAULT_PART_SIZE
LOAD_CONST 128
LOAD_NAME MEBIBYTE
BINARY_MULTIPLY
STORE_NAME DEFAULT_PART_SIZE
LOAD_CONST 128
LOAD_NAME MEBIBYTE
BINARY_MULTIPLY
STORE_NAME OBJECT_USE_MULTIPART_SIZE
LOAD_CONST None
RETURN_V... | MEBIBYTE = 1024 * 1024
STREAMING_DEFAULT_PART_SIZE = 10 * MEBIBYTE
DEFAULT_PART_SIZE = 128 * MEBIBYTE
OBJECT_USE_MULTIPART_SIZE = 128 * MEBIBYTE
| data/oci-2.122.0/src/oci/object_storage/transfer/constants.py | 102 | 76 | 178,920 |
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_fromfloat64_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_tofloat32_fromfloat64.py | 206 | 76 | 220,629 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME numpy
STORE_NAME np
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 Range at 0x7fab821a1780, file "f.py", line 6>
LOAD_CONST 'Range'
MAKE_FUNCTION
LOAD_CONST 'Range'
LOAD_N... | import numpy as np
from onnx.reference.op_run import OpRun
class Range(OpRun):
def _run(self, starts, ends, steps): # type: ignore
return (np.arange(starts, ends, steps).astype(starts.dtype),)
| data/onnx-1.15.0/onnx/reference/ops/op_range.py | 218 | 76 | 111,172 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME os
STORE_NAME os
LOAD_NAME str
LOAD_CONST ('return',)
BUILD_CONST_KEY_MAP
LOAD_CONST <code object get_project_root at 0x7fae2f3eb6f0, file "f.py", line 4>
LOAD_CONST 'get_project_root'
MAKE_FUNCTION
STORE_NAME get_project_root
LOAD_CONST None
RETURN_VALUE
LOAD_GLOBAL os
LOAD_A... | import os
def get_project_root() -> str:
"""Get the path to the project root.
Returns:
str: the path to the project root.
"""
return os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
| data/dbt_artifacts_parser-0.5.1/dbt_artifacts_parser/utils.py | 128 | 76 | 313,262 |
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME azure.cli.core.aaz
IMPORT_STAR
LOAD_NAME register_command_group
LOAD_CONST 'eventhubs cluster namespace'
CALL_FUNCTION
LOAD_BUILD_CLASS
LOAD_CONST <code object __CMDGroup at 0x7fab415036f0, file "f.py", line 4>
LOAD_CONST '__CMDGroup'
MAKE_FUNCTION
LOAD_CONST '__CMDGroup'
L... | from azure.cli.core.aaz import *
@register_command_group(
"eventhubs cluster namespace",
)
class __CMDGroup(AAZCommandGroup):
"""List of Namespaces within given Cluster."""
pass
__all__ = ["__CMDGroup"]
| data/azure-cli-2.57.0/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/cluster/namespace/__cmd_group.py | 186 | 76 | 374,740 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME unittest
STORE_NAME unittest
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME zstandard
STORE_NAME zstd
LOAD_BUILD_CLASS
LOAD_CONST <code object TestSizes at 0x7fab42b746f0, file "f.py", line 6>
LOAD_CONST 'TestSizes'
MAKE_FUNCTION
LOAD_CONST 'TestSizes'
LOAD_NAME unittest
LOAD_ATTR T... | import unittest
import zstandard as zstd
class TestSizes(unittest.TestCase):
def test_decompression_size(self):
size = zstd.estimate_decompression_context_size()
self.assertGreater(size, 90000)
| data/zstandard-0.22.0/tests/test_estimate_sizes.py | 251 | 76 | 307,553 |
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_BUILD_CLASS
LOAD_CONST <code object Target at 0x7fab6413ec00, file "f.py", line 5>
LOAD_CONST 'Target'
MAKE_FUNCTION
LOAD_CONST 'Target'
CALL_FUNCTION
STORE_NAME Target
LOAD_CONST None
RETURN_VAL... | import os
import sys
class Target:
def __init__(self, _hiding_tag_=None):
self.wd = os.getcwd()
self.pid = os.getpid()
self.sys = sys
self._hiding_tag_ = _hiding_tag_
| data/guppy3-3.1.4.post1/guppy/heapy/Target.py | 234 | 76 | 240,994 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME numpy
STORE_NAME np
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 Compress at 0x7fab82097150, file "f.py", line 6>
LOAD_CONST 'Compress'
MAKE_FUNCTION
LOAD_CONST 'Compres... | import numpy as np
from onnx.reference.op_run import OpRun
class Compress(OpRun):
def _run(self, x, condition, axis=None): # type: ignore
return (np.compress(condition, x, axis=axis),) # type: ignore
| data/onnx-1.15.0/onnx/reference/ops/op_compress.py | 221 | 76 | 111,198 |
LOAD_CONST '\nUsed by L{twisted.test.test_process}.\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('environ',)
IMPORT_NAME os
IMPORT_FROM environ
STORE_NAME environ
POP_TOP
LOAD_CONST 0
LOAD_CONST ('stdout',)
IMPORT_NAME sys
IMPORT_FROM stdout
STORE_NAME stdout
POP_TOP
LOAD_NAME environ
LOAD_METHOD items
CALL_METHOD... | """
Used by L{twisted.test.test_process}.
"""
from os import environ
from sys import stdout
items = environ.items()
stdout.write(chr(0).join([k + chr(0) + v for k, v in items]))
stdout.flush()
| data/twisted-23.10.0/src/twisted/test/process_getenv.py | 230 | 76 | 384,272 |
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_touint64_fromint8_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_touint64_fromint8.py | 206 | 76 | 220,601 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.