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 'Compatibility lightgbm module.\n\nIn the future use:\n from wandb.integration.lightgbm import wandb_callback\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('log_summary', 'wandb_callback')
IMPORT_NAME wandb.integration.lightgbm
IMPORT_FROM log_summary
STORE_NAME log_summary
IMPORT_FROM wandb_callback
STORE... | """Compatibility lightgbm module.
In the future use:
from wandb.integration.lightgbm import wandb_callback
"""
from wandb.integration.lightgbm import log_summary, wandb_callback
__all__ = ["wandb_callback", "log_summary"]
| data/wandb-0.16.3/wandb/lightgbm/__init__.py | 125 | 75 | 361,316 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME subprocess
STORE_NAME subprocess
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME sys
STORE_NAME sys
LOAD_CONST <code object install at 0x7f8e2f9ca1e0, file "f.py", line 5>
LOAD_CONST 'install'
MAKE_FUNCTION
STORE_NAME install
LOAD_CONST <code object install_plugins_package at 0x7f8e... | import subprocess
import sys
def install(package):
subprocess.check_call([sys.executable, "-m", "pip", "install", package])
def install_plugins_package():
install("rembg")
install("realesrgan")
install("gfpgan")
| data/lama-cleaner-1.2.5/lama_cleaner/installer.py | 226 | 75 | 13,696 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME encodings
STORE_NAME encodings
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME sys
STORE_NAME sys
LOAD_NAME reload
LOAD_NAME sys
CALL_FUNCTION
POP_TOP
LOAD_NAME sys
LOAD_METHOD setdefaultencoding
LOAD_CONST 'utf-8'
CALL_METHOD
POP_TOP
LOAD_CONST 0
LOAD_CONST ('MavensMateRequestHand... | import encodings
import sys
reload(sys)
sys.setdefaultencoding("utf-8")
from mm.request import MavensMateRequestHandler
def main():
MavensMateRequestHandler().execute()
if __name__ == "__main__":
main()
| data/mm-0.2.6/mm/__init__.py | 203 | 75 | 363,544 |
LOAD_CONST 1
LOAD_CONST ('OutputLogger',)
IMPORT_NAME output_logger
IMPORT_FROM OutputLogger
STORE_NAME OutputLogger
POP_TOP
LOAD_NAME OutputLogger
LOAD_CONST 'statsig.sdk'
CALL_FUNCTION
STORE_GLOBAL logger
LOAD_CONST <code object set_logger at 0x7fadb5811c00, file "f.py", line 7>
LOAD_CONST 'set_logger'
MAKE_FUNCTIO... | from .output_logger import OutputLogger
logger = OutputLogger("statsig.sdk")
def set_logger(output_logger):
global logger
logger = output_logger
def enable_debug_logs():
global logger
logger = OutputLogger("statsig.sdk", True)
| data/statsig-0.27.1/statsig/globals.py | 196 | 75 | 340,598 |
LOAD_CONST 0
LOAD_CONST ('Field',)
IMPORT_NAME office365.sharepoint.fields.field
IMPORT_FROM Field
STORE_NAME Field
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object FieldGeolocation at 0x7fab822360c0, file "f.py", line 4>
LOAD_CONST 'FieldGeolocation'
MAKE_FUNCTION
LOAD_CONST 'FieldGeolocation'
LOAD_NAME Field
CALL_FU... | from office365.sharepoint.fields.field import Field
class FieldGeolocation(Field):
"""Specifies a field that contains geographical location values.
The NoCrawl and SchemaXmlWithResourceTokens properties are not included in the default scalar property set
for this type.
"""
| data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/fields/geolocation.py | 185 | 75 | 189,186 |
LOAD_CONST (1, 2)
STORE_NAME a
LOAD_NAME a
LOAD_NAME b1
LOAD_CONST None
LOAD_CONST None
BUILD_SLICE
BUILD_TUPLE
BINARY_SUBSCR
POP_TOP
LOAD_CONST 'a'
LOAD_CONST ''
BUILD_MAP
BUILD_LIST
STORE_NAME a
LOAD_CONST (4,)
STORE_NAME a
LOAD_CONST (5,)
STORE_NAME b
LOAD_CONST 'text'
LOAD_NAME text
LOAD_CONST 5
LOAD_CONST Non... | a = (1, 2)
a[b1, :]
a = [{"a": ""}]
a = (4,)
b = (5,)
c = {"text": text[5:]}
result = {
"key1": "value",
"key2": "value",
}
| data/pep8-1.7.1/testsuite/E23.py | 124 | 75 | 103,184 |
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 SpectacularConfig at 0x7faac0274f60, file "f.py", line 4>
LOAD_CONST 'SpectacularConfig'
MAKE_FUNCTION
LOAD_CONST 'SpectacularConfig'
LOAD_NAME AppConfig
CALL_FUNCT... | from django.apps import AppConfig
class SpectacularConfig(AppConfig):
name = "drf_spectacular"
verbose_name = "drf-spectacular"
def ready(self):
import drf_spectacular.checks # noqa: F401
| data/drf-spectacular-0.27.1/drf_spectacular/apps.py | 233 | 75 | 357,090 |
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_IndexedA... | import pytest
import kernels
@pytest.mark.skip(reason="Unable to generate any tests for kernel")
def test_pyawkward_IndexedArray64_overlay_mask8_to64_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_IndexedArray64_overlay_mask8_to64.py | 204 | 75 | 220,457 |
LOAD_CONST 0
LOAD_CONST ('azure_audit_info',)
IMPORT_NAME prowler.providers.azure.lib.audit_info.audit_info
IMPORT_FROM azure_audit_info
STORE_NAME azure_audit_info
POP_TOP
LOAD_CONST 0
LOAD_CONST ('PostgreSQL',)
IMPORT_NAME prowler.providers.azure.services.postgresql.postgresql_service
IMPORT_FROM PostgreSQL
STORE_NA... | from prowler.providers.azure.lib.audit_info.audit_info import azure_audit_info
from prowler.providers.azure.services.postgresql.postgresql_service import PostgreSQL
postgresql_client = PostgreSQL(azure_audit_info)
| data/prowler-3.14.0/prowler/providers/azure/services/postgresql/postgresql_client.py | 128 | 75 | 183,510 |
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME azure.cli.core.aaz
IMPORT_STAR
LOAD_NAME register_command_group
LOAD_CONST 'afd origin'
CALL_FUNCTION
LOAD_BUILD_CLASS
LOAD_CONST <code object __CMDGroup at 0x7faa763f7c00, file "f.py", line 4>
LOAD_CONST '__CMDGroup'
MAKE_FUNCTION
LOAD_CONST '__CMDGroup'
LOAD_NAME AAZComma... | from azure.cli.core.aaz import *
@register_command_group(
"afd origin",
)
class __CMDGroup(AAZCommandGroup):
"""Manage origins within the specified origin group."""
pass
__all__ = ["__CMDGroup"]
| data/azure-cli-2.57.0/azure/cli/command_modules/cdn/aaz/latest/afd/origin/__cmd_group.py | 185 | 75 | 375,307 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pytest
STORE_NAME pytest
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME kernels
STORE_NAME kernels
LOAD_NAME pytest
LOAD_ATTR mark
LOAD_ATTR skip
LOAD_CONST 'Unable to generate any tests for kernel'
LOAD_CONST ('reason',)
CALL_FUNCTION
LOAD_CONST <code object test_pyawkward_reduce_m... | import pytest
import kernels
@pytest.mark.skip(reason="Unable to generate any tests for kernel")
def test_pyawkward_reduce_max_uint16_uint16_64_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_reduce_max_uint16_uint16_64.py | 202 | 75 | 220,444 |
LOAD_CONST 'DatasetIterator is an interface for input pipelines.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('Array', 'ArraySpec', 'DatasetIterator', 'Element', 'ElementSpec', 'TfDatasetIterator', 'PeekableDatasetIterator', 'PyTree')
IMPORT_NAME clu.data.dataset_iterator
IMPORT_FROM Array
STORE_NAME Array
IMPORT_FROM... | """DatasetIterator is an interface for input pipelines."""
from clu.data.dataset_iterator import (
Array,
ArraySpec,
DatasetIterator,
Element,
ElementSpec,
TfDatasetIterator,
PeekableDatasetIterator,
PyTree,
)
| data/clu-0.0.11/clu/data/__init__.py | 157 | 75 | 174,512 |
LOAD_CONST 1
LOAD_CONST ('DeepTPPEstimator',)
IMPORT_NAME _estimator
IMPORT_FROM DeepTPPEstimator
STORE_NAME DeepTPPEstimator
POP_TOP
LOAD_CONST 1
LOAD_CONST ('DeepTPPPredictionNetwork', 'DeepTPPTrainingNetwork')
IMPORT_NAME _network
IMPORT_FROM DeepTPPPredictionNetwork
STORE_NAME DeepTPPPredictionNetwork
IMPORT_FROM ... | from ._estimator import DeepTPPEstimator
from ._network import DeepTPPPredictionNetwork, DeepTPPTrainingNetwork
__all__ = [
"DeepTPPEstimator",
"DeepTPPTrainingNetwork",
"DeepTPPPredictionNetwork",
]
| data/gluonts-0.14.4/src/gluonts/mx/model/tpp/deeptpp/__init__.py | 150 | 75 | 140,166 |
LOAD_CONST 1
LOAD_CONST ('StartTimeFilter', 'StatusFilter', 'WorkflowExecutionFilter', 'WorkflowTypeFilter')
IMPORT_NAME message_pb2
IMPORT_FROM StartTimeFilter
STORE_NAME StartTimeFilter
IMPORT_FROM StatusFilter
STORE_NAME StatusFilter
IMPORT_FROM WorkflowExecutionFilter
STORE_NAME WorkflowExecutionFilter
IMPORT_FROM ... | from .message_pb2 import (
StartTimeFilter,
StatusFilter,
WorkflowExecutionFilter,
WorkflowTypeFilter,
)
__all__ = [
"StartTimeFilter",
"StatusFilter",
"WorkflowExecutionFilter",
"WorkflowTypeFilter",
]
| data/temporalio-1.5.0/temporalio/api/filter/v1/__init__.py | 122 | 75 | 133,133 |
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_fromuint8_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_touint8_fromuint8.py | 204 | 75 | 220,395 |
LOAD_CONST 'Shim to allow python -m tornado.test.\n\nThis only works in python 2.7+.\n'
STORE_NAME __doc__
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_f... | """Shim to allow python -m tornado.test.
This only works in python 2.7+.
"""
from __future__ import absolute_import, division, print_function
from salt.ext.tornado.test.runtests import all, main
all = all
main()
| data/salt-3006.6/salt/ext/tornado/test/__main__.py | 152 | 75 | 97,134 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pytest
STORE_NAME pytest
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME kernels
STORE_NAME kernels
LOAD_NAME pytest
LOAD_ATTR mark
LOAD_ATTR skip
LOAD_CONST 'Unable to generate any tests for kernel'
LOAD_CONST ('reason',)
CALL_FUNCTION
LOAD_CONST <code object test_pyawkward_reduce_m... | import pytest
import kernels
@pytest.mark.skip(reason="Unable to generate any tests for kernel")
def test_pyawkward_reduce_min_uint64_uint64_64_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_reduce_min_uint64_uint64_64.py | 204 | 75 | 220,396 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME sys
STORE_NAME sys
LOAD_CONST 0
LOAD_CONST ('FlashPolicyServer',)
IMPORT_NAME websocket.policyserver
IMPORT_FROM FlashPolicyServer
STORE_NAME FlashPolicyServer
POP_TOP
LOAD_NAME FlashPolicyServer
LOAD_CONST True
LOAD_CONST ('noisy',)
CALL_FUNCTION
STORE_NAME server
LOAD_NAME ... | import sys
from websocket.policyserver import FlashPolicyServer
server = FlashPolicyServer(noisy=True)
server.start()
print >> sys.stderr, "Listening on %s:%s" % (server.server_host, server.server_port)
server.serve_forever()
| data/websocket-0.2.1/flash.py | 148 | 75 | 49,687 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME ibis
STORE_NAME ibis
LOAD_NAME ibis
LOAD_ATTR table
LOAD_CONST 'airlines'
LOAD_CONST 'string'
LOAD_CONST 'string'
LOAD_CONST 'int32'
LOAD_CONST ('dest', 'origin', 'arrdelay')
BUILD_CONST_KEY_MAP
LOAD_CONST ('name', 'schema')
CALL_FUNCTION
STORE_NAME airlines
LOAD_NAME airline... | import ibis
airlines = ibis.table(
name="airlines", schema={"dest": "string", "origin": "string", "arrdelay": "int32"}
)
result = airlines.filter((airlines.dest.cast("int64") == 0) == True)
| data/ibis_framework-8.0.0/ibis/tests/sql/snapshots/test_select_sql/test_bool_bool/decompiled.py | 125 | 75 | 161,222 |
LOAD_CONST 0
LOAD_CONST ('ChangelogContext', 'make_changelog_context')
IMPORT_NAME semantic_release.changelog.context
IMPORT_FROM ChangelogContext
STORE_NAME ChangelogContext
IMPORT_FROM make_changelog_context
STORE_NAME make_changelog_context
POP_TOP
LOAD_CONST 0
LOAD_CONST ('ReleaseHistory',)
IMPORT_NAME semantic_re... | from semantic_release.changelog.context import (
ChangelogContext,
make_changelog_context,
)
from semantic_release.changelog.release_history import ReleaseHistory
from semantic_release.changelog.template import (
environment,
recursive_render,
)
| data/python-semantic-release-9.1.0/semantic_release/changelog/__init__.py | 152 | 75 | 143,582 |
LOAD_CONST 0
LOAD_CONST ('Enum',)
IMPORT_NAME enum
IMPORT_FROM Enum
STORE_NAME Enum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object UserExperienceAnalyticsInsightSeverity at 0x7fae471296f0, file "f.py", line 4>
LOAD_CONST 'UserExperienceAnalyticsInsightSeverity'
MAKE_FUNCTION
LOAD_CONST 'UserExperienceAnalyticsInsigh... | from enum import Enum
class UserExperienceAnalyticsInsightSeverity(str, Enum):
None_ = ("none",)
Informational = ("informational",)
Warning = ("warning",)
Error = ("error",)
UnknownFutureValue = ("unknownFutureValue",)
| data/msgraph-sdk-1.1.0/msgraph/generated/models/user_experience_analytics_insight_severity.py | 217 | 75 | 259,579 |
LOAD_CONST 1
LOAD_CONST ('launchable',)
IMPORT_NAME
IMPORT_FROM launchable
STORE_NAME launchable
POP_TOP
LOAD_NAME launchable
LOAD_METHOD CommonSubsetImpls
LOAD_NAME __name__
CALL_METHOD
LOAD_METHOD scan_files
LOAD_CONST '*_spec.rb'
CALL_METHOD
STORE_NAME subset
LOAD_NAME launchable
LOAD_METHOD CommonSplitSubsetImpls... | from . import launchable
subset = launchable.CommonSubsetImpls(__name__).scan_files("*_spec.rb")
split_subset = launchable.CommonSplitSubsetImpls(__name__).split_subset()
record_tests = launchable.CommonRecordTestImpls(__name__).report_files()
| data/launchable-1.82.4/launchable/test_runners/rspec.py | 128 | 75 | 422,384 |
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 UserInfo at 0x7fab7002b150, file "f.py", line 4>
LOAD_CONST 'UserInfo'
MAKE_FUNCTION
LOAD_CONST 'UserInfo'
LOAD_NAME ClientValue
CALL_FUNCT... | from office365.runtime.client_value import ClientValue
class UserInfo(ClientValue):
"""Represents user information of a user with consistent color and acronym for client rendering."""
@property
def entity_type_name(self):
return "SP.Publishing.UserInfo"
| data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/publishing/user_info.py | 230 | 75 | 189,099 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pytest
STORE_NAME pytest
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME kernels
STORE_NAME kernels
LOAD_NAME pytest
LOAD_ATTR mark
LOAD_ATTR skip
LOAD_CONST 'Unable to generate any tests for kernel'
LOAD_CONST ('reason',)
CALL_FUNCTION
LOAD_CONST <code object test_pyawkward_reduce_m... | import pytest
import kernels
@pytest.mark.skip(reason="Unable to generate any tests for kernel")
def test_pyawkward_reduce_max_int32_int32_64_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_reduce_max_int32_int32_64.py | 204 | 75 | 220,402 |
LOAD_CONST 'flake8-string package.\n\nChecks for literal string usage: quotes, format, f-strings\n'
STORE_NAME __doc__
LOAD_CONST 'LIT'
STORE_NAME plugin_prefix
LOAD_NAME plugin_prefix
FORMAT_VALUE
LOAD_CONST '0'
BUILD_STRING
STORE_NAME quote_checker_prefix
LOAD_NAME plugin_prefix
FORMAT_VALUE
LOAD_CONST '1'
BUILD_S... | """\
flake8-string package.
Checks for literal string usage: quotes, format, f-strings
"""
plugin_prefix = "LIT"
quote_checker_prefix = f"{plugin_prefix}0"
raw_checker_prefix = f"{plugin_prefix}1"
| data/flake8-literal-1.4.0/flake8_literal/__init__.py | 98 | 75 | 443,887 |
LOAD_CONST 150
STORE_NAME BASE_LENGTH
LOAD_CONST 143
STORE_NAME BASE_TOP_LENGTH
LOAD_CONST 30
STORE_NAME BASE_WIDTH
LOAD_CONST 23
STORE_NAME BASE_TOP_WIDTH
LOAD_CONST 10
STORE_NAME BASE_HEIGHT
LOAD_CONST 40
STORE_NAME MAX_LENGTH_RUN_DISTANCE
LOAD_CONST 2.5
STORE_NAME BOX_DIMENSION
LOAD_CONST None
RETURN_VALUE | BASE_LENGTH = 150
BASE_TOP_LENGTH = 143
BASE_WIDTH = 30
BASE_TOP_WIDTH = 23
BASE_HEIGHT = 10
MAX_LENGTH_RUN_DISTANCE = 40
BOX_DIMENSION = 2.5
| data/github_heatmap-1.0.9/github_heatmap/skyline/config.py | 111 | 75 | 416,958 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pytest
STORE_NAME pytest
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME kernels
STORE_NAME kernels
LOAD_NAME pytest
LOAD_ATTR mark
LOAD_ATTR skip
LOAD_CONST 'Unable to generate any tests for kernel'
LOAD_CONST ('reason',)
CALL_FUNCTION
LOAD_CONST <code object test_pyawkward_reduce_m... | import pytest
import kernels
@pytest.mark.skip(reason="Unable to generate any tests for kernel")
def test_pyawkward_reduce_min_int32_int32_64_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_reduce_min_int32_int32_64.py | 203 | 75 | 220,388 |
LOAD_CONST 'Errors for the Acmeda Pulse component.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('HomeAssistantError',)
IMPORT_NAME homeassistant.exceptions
IMPORT_FROM HomeAssistantError
STORE_NAME HomeAssistantError
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object PulseException at 0x7f8e2fb92270, file "f.py", line ... | """Errors for the Acmeda Pulse component."""
from homeassistant.exceptions import HomeAssistantError
class PulseException(HomeAssistantError):
"""Base class for Acmeda Pulse exceptions."""
class CannotConnect(PulseException):
"""Unable to connect to the bridge."""
| data/homeassistant-2024.2.2/homeassistant/components/acmeda/errors.py | 280 | 75 | 406,749 |
SETUP_EXCEPT to 18
LOAD_CONST 0
LOAD_CONST ('metadata',)
IMPORT_NAME importlib
IMPORT_FROM metadata
STORE_NAME metadata
POP_TOP
POP_BLOCK
JUMP_FORWARD to 76
DUP_TOP
LOAD_NAME ImportError
COMPARE_OP exception match
POP_JUMP_IF_FALSE
POP_TOP
POP_TOP
POP_TOP
SETUP_EXCEPT to 46
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME ... | try:
from importlib import metadata
except ImportError:
try:
import importlib_metadata as metadata
except ImportError:
__version__ = "unknown"
try:
__version__ = metadata.version("meshio")
except Exception:
__version__ = "unknown"
| data/scikit-fem-9.0.1/skfem/io/meshiolib/__about__.py | 220 | 75 | 131,644 |
LOAD_CONST 0
LOAD_CONST ('AbstractModel',)
IMPORT_NAME smac.model.abstract_model
IMPORT_FROM AbstractModel
STORE_NAME AbstractModel
POP_TOP
LOAD_CONST 0
LOAD_CONST ('MultiObjectiveModel',)
IMPORT_NAME smac.model.multi_objective_model
IMPORT_FROM MultiObjectiveModel
STORE_NAME MultiObjectiveModel
POP_TOP
LOAD_CONST 0
... | from smac.model.abstract_model import AbstractModel
from smac.model.multi_objective_model import MultiObjectiveModel
from smac.model.random_model import RandomModel
__all__ = [
"AbstractModel",
"MultiObjectiveModel",
"RandomModel",
]
| data/smac-2.0.2/smac/model/__init__.py | 140 | 75 | 436,562 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME xlsxwriter
STORE_NAME xlsxwriter
LOAD_NAME xlsxwriter
LOAD_METHOD Workbook
LOAD_CONST 'watermark.xlsx'
CALL_METHOD
STORE_NAME workbook
LOAD_NAME workbook
LOAD_METHOD add_worksheet
CALL_METHOD
STORE_NAME worksheet
LOAD_NAME worksheet
LOAD_METHOD set_header
LOAD_CONST '&C&[Pict... | import xlsxwriter
workbook = xlsxwriter.Workbook("watermark.xlsx")
worksheet = workbook.add_worksheet()
worksheet.set_header("&C&[Picture]", {"image_center": "watermark.png"})
workbook.close()
| data/XlsxWriter-3.2.0/examples/watermark.py | 122 | 75 | 384,570 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pytest
STORE_NAME pytest
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME kernels
STORE_NAME kernels
LOAD_NAME pytest
LOAD_ATTR mark
LOAD_ATTR skip
LOAD_CONST 'Unable to generate any tests for kernel'
LOAD_CONST ('reason',)
CALL_FUNCTION
LOAD_CONST <code object test_pyawkward_reduce_p... | import pytest
import kernels
@pytest.mark.skip(reason="Unable to generate any tests for kernel")
def test_pyawkward_reduce_prod_uint64_uint16_64_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_reduce_prod_uint64_uint16_64.py | 203 | 75 | 220,415 |
LOAD_BUILD_CLASS
LOAD_CONST <code object ApplicationState at 0x7fab8234aa50, file "f.py", line 1>
LOAD_CONST 'ApplicationState'
MAKE_FUNCTION
LOAD_CONST 'ApplicationState'
CALL_FUNCTION
STORE_NAME ApplicationState
LOAD_CONST None
RETURN_VALUE
LOAD_NAME __name__
STORE_NAME __module__
LOAD_CONST 'ApplicationState'
STORE... | class ApplicationState:
NOT_INSTALLED = 0
NOT_RUNNING = 1
RUNNING_IN_BACKGROUND_SUSPENDED = 2
RUNNING_IN_BACKGROUND = 3
RUNNING_IN_FOREGROUND = 4
| data/Appium-Python-Client-3.1.1/appium/webdriver/applicationstate.py | 171 | 75 | 146,375 |
LOAD_CONST 1
LOAD_CONST ('is_rich_available',)
IMPORT_NAME imports
IMPORT_FROM is_rich_available
STORE_NAME is_rich_available
POP_TOP
LOAD_NAME is_rich_available
CALL_FUNCTION
POP_JUMP_IF_FALSE
LOAD_CONST 0
LOAD_CONST ('install',)
IMPORT_NAME rich.traceback
IMPORT_FROM install
STORE_NAME install
POP_TOP
LOAD_NAME in... | from .imports import is_rich_available
if is_rich_available():
from rich.traceback import install
install(show_locals=False)
else:
raise ModuleNotFoundError(
"To use the rich extension, install rich with `pip install rich`"
)
| data/accelerate-0.27.2/src/accelerate/utils/rich.py | 131 | 75 | 442,540 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pytest
STORE_NAME pytest
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME kernels
STORE_NAME kernels
LOAD_NAME pytest
LOAD_ATTR mark
LOAD_ATTR skip
LOAD_CONST 'Unable to generate any tests for kernel'
LOAD_CONST ('reason',)
CALL_FUNCTION
LOAD_CONST <code object test_pyawkward_reduce_m... | import pytest
import kernels
@pytest.mark.skip(reason="Unable to generate any tests for kernel")
def test_pyawkward_reduce_min_float32_float32_64_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_reduce_min_float32_float32_64.py | 204 | 75 | 220,384 |
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME azure.cli.core.aaz
IMPORT_STAR
LOAD_NAME register_command_group
LOAD_CONST 'monitor log-analytics cluster'
CALL_FUNCTION
LOAD_BUILD_CLASS
LOAD_CONST <code object __CMDGroup at 0x7fab416c65d0, file "f.py", line 4>
LOAD_CONST '__CMDGroup'
MAKE_FUNCTION
LOAD_CONST '__CMDGroup'
... | from azure.cli.core.aaz import *
@register_command_group(
"monitor log-analytics cluster",
)
class __CMDGroup(AAZCommandGroup):
"""Manage Azure log analytics cluster."""
pass
__all__ = ["__CMDGroup"]
| data/azure-cli-2.57.0/azure/cli/command_modules/monitor/aaz/latest/monitor/log_analytics/cluster/__cmd_group.py | 185 | 75 | 374,918 |
LOAD_CONST 1
LOAD_CONST ('launchable',)
IMPORT_NAME
IMPORT_FROM launchable
STORE_NAME launchable
POP_TOP
LOAD_NAME launchable
LOAD_METHOD CommonSubsetImpls
LOAD_NAME __name__
CALL_METHOD
LOAD_METHOD scan_files
LOAD_CONST '*_test.rb'
CALL_METHOD
STORE_NAME subset
LOAD_NAME launchable
LOAD_METHOD CommonSplitSubsetImpls... | from . import launchable
subset = launchable.CommonSubsetImpls(__name__).scan_files("*_test.rb")
split_subset = launchable.CommonSplitSubsetImpls(__name__).split_subset()
record_tests = launchable.CommonRecordTestImpls(__name__).report_files()
| data/launchable-1.82.4/launchable/test_runners/minitest.py | 128 | 75 | 422,378 |
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_IndexedA... | import pytest
import kernels
@pytest.mark.skip(reason="Unable to generate any tests for kernel")
def test_pyawkward_IndexedArray32_overlay_mask8_to64_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_IndexedArray32_overlay_mask8_to64.py | 204 | 75 | 220,382 |
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_fromint8_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_toint32_fromint8.py | 204 | 75 | 220,385 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pytest
STORE_NAME pytest
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME kernels
STORE_NAME kernels
LOAD_NAME pytest
LOAD_ATTR mark
LOAD_ATTR skip
LOAD_CONST 'Unable to generate any tests for kernel'
LOAD_CONST ('reason',)
CALL_FUNCTION
LOAD_CONST <code object test_pyawkward_reduce_p... | import pytest
import kernels
@pytest.mark.skip(reason="Unable to generate any tests for kernel")
def test_pyawkward_reduce_prod_float64_float64_64_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_reduce_prod_float64_float64_64.py | 203 | 75 | 220,365 |
LOAD_CONST 0
LOAD_CONST ('Backbone',)
IMPORT_NAME allennlp.modules.backbones.backbone
IMPORT_FROM Backbone
STORE_NAME Backbone
POP_TOP
LOAD_CONST 0
LOAD_CONST ('PretrainedTransformerBackbone',)
IMPORT_NAME allennlp.modules.backbones.pretrained_transformer_backbone
IMPORT_FROM PretrainedTransformerBackbone
STORE_NAME P... | from allennlp.modules.backbones.backbone import Backbone
from allennlp.modules.backbones.pretrained_transformer_backbone import (
PretrainedTransformerBackbone,
)
from allennlp.modules.backbones.vilbert_backbone import VilbertBackbone
| data/allennlp-2.10.1/allennlp/modules/backbones/__init__.py | 144 | 75 | 82,788 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pytest
STORE_NAME pytest
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME kernels
STORE_NAME kernels
LOAD_NAME pytest
LOAD_ATTR mark
LOAD_ATTR skip
LOAD_CONST 'Unable to generate any tests for kernel'
LOAD_CONST ('reason',)
CALL_FUNCTION
LOAD_CONST <code object test_pyawkward_reduce_p... | import pytest
import kernels
@pytest.mark.skip(reason="Unable to generate any tests for kernel")
def test_pyawkward_reduce_prod_uint32_uint16_64_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_reduce_prod_uint32_uint16_64.py | 203 | 75 | 220,465 |
LOAD_CONST 'ce base URL and path.'
STORE_NAME __doc__
LOAD_CONST 1
LOAD_CONST ('CostExplorerResponse',)
IMPORT_NAME responses
IMPORT_FROM CostExplorerResponse
STORE_NAME CostExplorerResponse
POP_TOP
LOAD_CONST 'https?://ce\\.(.+)\\.amazonaws\\.com'
BUILD_LIST
STORE_NAME url_bases
LOAD_CONST '{0}/$'
LOAD_NAME CostExp... | """ce base URL and path."""
from .responses import CostExplorerResponse
url_bases = [
r"https?://ce\.(.+)\.amazonaws\.com",
]
url_paths = {
"{0}/$": CostExplorerResponse.dispatch,
}
| data/moto-5.0.2/moto/ce/urls.py | 103 | 75 | 198,422 |
LOAD_CONST 'Exceptions raised by the acmpca service.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('JsonRESTError',)
IMPORT_NAME moto.core.exceptions
IMPORT_FROM JsonRESTError
STORE_NAME JsonRESTError
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object ResourceNotFoundException at 0x7fab81fc6c00, file "f.py", line 6>
LOA... | """Exceptions raised by the acmpca service."""
from moto.core.exceptions import JsonRESTError
class ResourceNotFoundException(JsonRESTError):
def __init__(self, arn: str):
super().__init__("ResourceNotFoundException", f"Resource {arn} not found")
| data/moto-5.0.2/moto/acmpca/exceptions.py | 280 | 75 | 198,421 |
LOAD_CONST 'Import utils functions.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('from_path_matrix_to_bkps_list',)
IMPORT_NAME ruptures.utils._utils.convert_path_matrix
IMPORT_FROM from_path_matrix_to_bkps_list
STORE_NAME from_path_matrix_to_bkps_list
POP_TOP
LOAD_CONST 1
LOAD_CONST ('Bnode',)
IMPORT_NAME bnode
IMPOR... | """Import utils functions."""
from ruptures.utils._utils.convert_path_matrix import from_path_matrix_to_bkps_list
from .bnode import Bnode
from .drawbkps import draw_bkps
from .utils import pairwise, sanity_check, unzip
| data/ruptures-1.1.9/src/ruptures/utils/__init__.py | 207 | 75 | 146,610 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME importlib.resources
STORE_NAME importlib
LOAD_NAME hasattr
LOAD_NAME importlib
LOAD_ATTR resources
LOAD_CONST 'files'
CALL_FUNCTION
POP_JUMP_IF_FALSE
LOAD_CONST <code object _open_binary at 0x7faa5f5231e0, file "f.py", line 5>
LOAD_CONST '_open_binary'
MAKE_FUNCTION
STORE_NAME... | import importlib.resources
if hasattr(importlib.resources, "files"):
def _open_binary(pkg, res):
return importlib.resources.files(pkg).joinpath(res).open("rb")
else:
_open_binary = importlib.resources.open_binary
| data/netaddr-1.2.1/netaddr/compat.py | 157 | 75 | 237,892 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pytest
STORE_NAME pytest
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME kernels
STORE_NAME kernels
LOAD_NAME pytest
LOAD_ATTR mark
LOAD_ATTR skip
LOAD_CONST 'Unable to generate any tests for kernel'
LOAD_CONST ('reason',)
CALL_FUNCTION
LOAD_CONST <code object test_pyawkward_reduce_s... | import pytest
import kernels
@pytest.mark.skip(reason="Unable to generate any tests for kernel")
def test_pyawkward_reduce_sum_uint32_uint16_64_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_reduce_sum_uint32_uint16_64.py | 203 | 75 | 220,496 |
LOAD_CONST 'rauth'
STORE_NAME __title__
LOAD_CONST ('0', '7', '3')
STORE_NAME __version_info__
LOAD_CONST '.'
LOAD_METHOD join
LOAD_NAME __version_info__
CALL_METHOD
STORE_NAME __version__
LOAD_CONST 'Max Countryman'
STORE_NAME __author__
LOAD_CONST 'MIT'
STORE_NAME __license__
LOAD_CONST 'Copyright 2013 litl'
STO... | __title__ = "rauth"
__version_info__ = ("0", "7", "3")
__version__ = ".".join(__version_info__)
__author__ = "Max Countryman"
__license__ = "MIT"
__copyright__ = "Copyright 2013 litl"
| data/rauth-0.7.3/rauth/__about__.py | 101 | 75 | 392,194 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pytest
STORE_NAME pytest
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME kernels
STORE_NAME kernels
LOAD_NAME pytest
LOAD_ATTR mark
LOAD_ATTR skip
LOAD_CONST 'Unable to generate any tests for kernel'
LOAD_CONST ('reason',)
CALL_FUNCTION
LOAD_CONST <code object test_pyawkward_reduce_s... | import pytest
import kernels
@pytest.mark.skip(reason="Unable to generate any tests for kernel")
def test_pyawkward_reduce_sum_int64_int64_64_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_reduce_sum_int64_int64_64.py | 203 | 75 | 220,499 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME os
STORE_NAME os
LOAD_CONST 1
LOAD_CONST ('pyramid_server',)
IMPORT_NAME app
IMPORT_FROM pyramid_server
STORE_NAME server
POP_TOP
LOAD_CONST 2
LOAD_CONST ('launch_background_thread',)
IMPORT_NAME utils
IMPORT_FROM launch_background_thread
STORE_NAME launch_background_thread
PO... | import os
from .app import pyramid_server as server
from ..utils import launch_background_thread
app_thread = None
if "CASSANDRA_TEST" not in os.environ:
app_thread = launch_background_thread(server.serve_forever, "Pyramid")
| data/instana-1.38.2/tests/apps/pyramid_app/__init__.py | 147 | 75 | 232,756 |
LOAD_CONST <code object servefiles at 0x7faa74640ed0, file "f.py", line 1>
LOAD_CONST 'servefiles'
MAKE_FUNCTION
STORE_NAME servefiles
LOAD_NAME __name__
LOAD_CONST '__channelexec__'
COMPARE_OP ==
POP_JUMP_IF_FALSE
LOAD_NAME servefiles
LOAD_NAME channel
CALL_FUNCTION
POP_TOP
LOAD_CONST None
RETURN_VALUE
SETUP_LOOP t... | def servefiles(channel):
for fn in channel:
f = open(fn, "rb")
channel.send(f.read())
f.close()
if __name__ == "__channelexec__":
servefiles(channel) # type: ignore[name-defined]
| data/execnet-2.0.2/doc/example/servefiles.py | 159 | 75 | 244,151 |
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME azure.cli.core.aaz
IMPORT_STAR
LOAD_NAME register_command_group
LOAD_CONST 'sql mi server-configuration-option'
CALL_FUNCTION
LOAD_BUILD_CLASS
LOAD_CONST <code object __CMDGroup at 0x7fab415056f0, file "f.py", line 4>
LOAD_CONST '__CMDGroup'
MAKE_FUNCTION
LOAD_CONST '__CMDGr... | from azure.cli.core.aaz import *
@register_command_group(
"sql mi server-configuration-option",
)
class __CMDGroup(AAZCommandGroup):
"""Server configuration option management commands."""
pass
__all__ = ["__CMDGroup"]
| data/azure-cli-2.57.0/azure/cli/command_modules/sql/aaz/latest/sql/mi/server_configuration_option/__cmd_group.py | 185 | 75 | 375,400 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME RPA.core
STORE_NAME RPA
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME sys
STORE_NAME sys
LOAD_NAME __name__
LOAD_CONST '__main__'
COMPARE_OP ==
POP_JUMP_IF_FALSE
LOAD_CONST 'robot'
LOAD_NAME sys
LOAD_ATTR modules
COMPARE_OP not in
POP_JUMP_IF_FALSE
LOAD_CONST 0
LOAD_CONST None
IMP... | import RPA.core # noqa: F401
import sys
if __name__ == "__main__" and "robot" not in sys.modules:
import pythonpathsetter # noqa: F401
from robot import run_cli
run_cli()
| data/rpaframework-28.2.0/src/robot/__main__.py | 130 | 75 | 129,320 |
LOAD_NAME str
LOAD_NAME str
LOAD_CONST ('string', 'return')
BUILD_CONST_KEY_MAP
LOAD_CONST <code object quote at 0x7fab6413eb70, file "f.py", line 1>
LOAD_CONST 'quote'
MAKE_FUNCTION
STORE_NAME quote
LOAD_CONST None
RETURN_VALUE
LOAD_CONST "'"
LOAD_FAST string
BINARY_ADD
LOAD_CONST "'"
BINARY_ADD
RETURN_VALUE | def quote(string: str) -> str:
"""Surround the given string with single quotes. e.g.
foo -> 'foo'
This does not do any form of escaping, the input is expected to not contain any single quotes.
"""
return "'" + string + "'"
| data/prisma-0.12.0/src/prisma/generator/filters.py | 80 | 75 | 240,770 |
LOAD_CONST 1
LOAD_CONST ('AsyncioContextBase',)
IMPORT_NAME asyncio_base
IMPORT_FROM AsyncioContextBase
STORE_NAME AsyncioContextBase
POP_TOP
LOAD_CONST 1
LOAD_CONST ('Context', 'Operation')
IMPORT_NAME python_aio
IMPORT_FROM Context
STORE_NAME Context
IMPORT_FROM Operation
STORE_NAME Operation
POP_TOP
LOAD_BUILD_CLA... | from .asyncio_base import AsyncioContextBase
from .python_aio import Context, Operation
class AsyncioContext(AsyncioContextBase):
OPERATION_CLASS = Operation
CONTEXT_CLASS = Context
def _destroy_context(self):
self.context.close()
| data/caio-0.9.13/caio/python_aio_asyncio.py | 264 | 75 | 94,348 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pytest
STORE_NAME pytest
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME kernels
STORE_NAME kernels
LOAD_NAME pytest
LOAD_ATTR mark
LOAD_ATTR skip
LOAD_CONST 'Unable to generate any tests for kernel'
LOAD_CONST ('reason',)
CALL_FUNCTION
LOAD_CONST <code object test_pyawkward_reduce_p... | import pytest
import kernels
@pytest.mark.skip(reason="Unable to generate any tests for kernel")
def test_pyawkward_reduce_prod_int64_int16_64_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_reduce_prod_int64_int16_64.py | 204 | 75 | 220,506 |
LOAD_CONST '\nOffice365-REST-Python-Client contains xml templates that are needed by some methods\nThis hook ensures that all of the data used by the package is bundled\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('collect_data_files',)
IMPORT_NAME PyInstaller.utils.hooks
IMPORT_FROM collect_data_files
STORE_NAME co... | """
Office365-REST-Python-Client contains xml templates that are needed by some methods
This hook ensures that all of the data used by the package is bundled
"""
from PyInstaller.utils.hooks import collect_data_files
datas = collect_data_files("office365")
| data/pyinstaller-hooks-contrib-2024.1/src/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-office365.py | 116 | 75 | 282,217 |
LOAD_CONST 0
LOAD_CONST ('Form', 'Textbox')
IMPORT_NAME web.form
IMPORT_FROM Form
STORE_NAME Form
IMPORT_FROM Textbox
STORE_NAME Textbox
POP_TOP
LOAD_CONST <code object test_id_escape_issue at 0x7f8e2fe411e0, file "f.py", line 4>
LOAD_CONST 'test_id_escape_issue'
MAKE_FUNCTION
STORE_NAME test_id_escape_issue
LOAD_CONS... | from web.form import Form, Textbox
def test_id_escape_issue():
f = Form(Textbox("x", id="x <unsafe>"))
assert "<unsafe>" not in f.render()
assert "<unsafe>" not in f.render_css()
| data/web.py-0.62/tests/test_form.py | 202 | 75 | 328,182 |
LOAD_CONST 0
LOAD_CONST ('BusinessDetails',)
IMPORT_NAME braintree.merchant_account.business_details
IMPORT_FROM BusinessDetails
STORE_NAME BusinessDetails
POP_TOP
LOAD_CONST 0
LOAD_CONST ('FundingDetails',)
IMPORT_NAME braintree.merchant_account.funding_details
IMPORT_FROM FundingDetails
STORE_NAME FundingDetails
POP... | from braintree.merchant_account.business_details import BusinessDetails
from braintree.merchant_account.funding_details import FundingDetails
from braintree.merchant_account.individual_details import IndividualDetails
from braintree.merchant_account.merchant_account import MerchantAccount
| data/braintree-4.26.0/braintree/merchant_account/__init__.py | 161 | 75 | 327,804 |
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_fromuint8_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_toint64_fromuint8.py | 204 | 75 | 220,510 |
LOAD_CONST 'Grab the part of the screen'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pyscreenshot
STORE_NAME ImageGrab
LOAD_NAME ImageGrab
LOAD_ATTR grab
LOAD_CONST (10, 10, 510, 510)
LOAD_CONST ('bbox',)
CALL_FUNCTION
STORE_NAME im
LOAD_NAME im
LOAD_METHOD save
LOAD_CONST 'box.png'
CALL_METHOD
POP_T... | "Grab the part of the screen"
import pyscreenshot as ImageGrab
im = ImageGrab.grab(bbox=(10, 10, 510, 510)) # X1,Y1,X2,Y2
im.save("box.png")
| data/pyscreenshot-3.1/pyscreenshot/examples/grabbox.py | 98 | 75 | 12,442 |
LOAD_CONST '\nRunPod | API | Queries | User\n\nQuery for user information.\n'
STORE_NAME __doc__
LOAD_CONST '\nquery myself {\n myself {\n id\n pubKey\n networkVolumes {\n id\n name\n size\n dataCenterId\n }\n }\n}\n'
STORE_NAME QUERY_USER
LOAD_CONST None
RETURN_VALUE | """
RunPod | API | Queries | User
Query for user information.
"""
QUERY_USER = """
query myself {
myself {
id
pubKey
networkVolumes {
id
name
size
dataCenterId
}
}
}
"""
| data/runpod-1.6.2/runpod/api/queries/user.py | 85 | 75 | 399,769 |
LOAD_CONST 0
LOAD_CONST ('migrations', 'models')
IMPORT_NAME django.db
IMPORT_FROM migrations
STORE_NAME migrations
IMPORT_FROM models
STORE_NAME models
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Migration at 0x7fab8214dc90, file "f.py", line 4>
LOAD_CONST 'Migration'
MAKE_FUNCTION
LOAD_CONST 'Migration'
LOAD_NA... | from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
run_before = [
("contenttypes", "0001_initial"),
("core", "0001_initial"),
]
operations = []
| data/openedx-blockstore-1.4.0/blockstore/apps/mysql_unicode/migrations/0001_initial.py | 181 | 75 | 293,254 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME abc
STORE_NAME abc
LOAD_BUILD_CLASS
LOAD_CONST <code object Propagator at 0x7fab800da270, file "f.py", line 4>
LOAD_CONST 'Propagator'
MAKE_FUNCTION
LOAD_CONST 'Propagator'
LOAD_NAME abc
LOAD_ATTR ABCMeta
LOAD_CONST ('metaclass',)
CALL_FUNCTION
STORE_NAME Propagator
LOAD_CONST ... | import abc
class Propagator(metaclass=abc.ABCMeta):
@staticmethod
@abc.abstractmethod
def inject(span_context, carrier):
pass
@staticmethod
@abc.abstractmethod
def extract(carrier):
pass
| data/ddtrace-2.6.3/ddtrace/opentracer/propagation/propagator.py | 265 | 75 | 270,572 |
LOAD_CONST 'Keras attention layers.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('AdditiveAttention',)
IMPORT_NAME tf_keras.src.layers.attention.additive_attention
IMPORT_FROM AdditiveAttention
STORE_NAME AdditiveAttention
POP_TOP
LOAD_CONST 0
LOAD_CONST ('Attention',)
IMPORT_NAME tf_keras.src.layers.attention.attent... | """Keras attention layers."""
from tf_keras.src.layers.attention.additive_attention import AdditiveAttention
from tf_keras.src.layers.attention.attention import Attention
from tf_keras.src.layers.attention.multi_head_attention import MultiHeadAttention
| data/tf_keras-2.15.0/tf_keras/src/layers/attention/__init__.py | 148 | 75 | 353,773 |
LOAD_CONST 0
LOAD_CONST ('JsonRESTError',)
IMPORT_NAME moto.core.exceptions
IMPORT_FROM JsonRESTError
STORE_NAME JsonRESTError
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object MediaPackageClientError at 0x7fab823a6c00, file "f.py", line 4>
LOAD_CONST 'MediaPackageClientError'
MAKE_FUNCTION
LOAD_CONST 'MediaPackageClie... | from moto.core.exceptions import JsonRESTError
class MediaPackageClientError(JsonRESTError):
code = 400
class ClientError(MediaPackageClientError):
def __init__(self, error: str, message: str):
super().__init__(error, message)
| data/moto-5.0.2/moto/mediapackage/exceptions.py | 350 | 75 | 198,376 |
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 IntentsUI
STORE_NAME IntentsUI
LOAD_BUILD_CLASS
LOAD_CONST <code object TestINUIAddVoiceShortcutViewController at 0x7faac02ab780, file "f.py", line 5>
LOA... | from PyObjCTools.TestSupport import TestCase
import IntentsUI # noqa: F401
class TestINUIAddVoiceShortcutViewController(TestCase):
def test_protocols(self):
self.assertProtocolExists("INUIAddVoiceShortcutViewControllerDelegate")
| data/pyobjc-framework-IntentsUI-10.1/PyObjCTest/test_inuiaddvoiceshortcutviewcontroller.py | 276 | 75 | 92,505 |
LOAD_CONST 'TypeVar test.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('Dict', 'TypeVar')
IMPORT_NAME typing
IMPORT_FROM Dict
STORE_NAME Dict
IMPORT_FROM TypeVar
STORE_NAME TypeVar
POP_TOP
LOAD_NAME TypeVar
LOAD_CONST '_KT'
CALL_FUNCTION
STORE_NAME _KT
LOAD_NAME TypeVar
LOAD_CONST '_VT'
CALL_FUNCTION
STORE_NAME _VT
... | """TypeVar test."""
from typing import Dict, TypeVar
_KT = TypeVar("_KT")
_VT = TypeVar("_VT")
class UserDict:
def __init__(self, initialdata: Dict[_KT, _VT] = None):
pass
| data/pytype-2024.2.13/pytype/tools/merge_pyi/test_data/typevar.pep484.py | 266 | 75 | 353,315 |
LOAD_BUILD_CLASS
LOAD_CONST <code object SimpleResultSet at 0x7fab41686420, file "f.py", line 1>
LOAD_CONST 'SimpleResultSet'
MAKE_FUNCTION
LOAD_CONST 'SimpleResultSet'
LOAD_NAME list
CALL_FUNCTION
STORE_NAME SimpleResultSet
LOAD_CONST None
RETURN_VALUE
LOAD_NAME __name__
STORE_NAME __module__
LOAD_CONST 'SimpleResult... | class SimpleResultSet(list):
"""
ResultSet facade built from a simple list, rather than via XML parsing.
"""
def __init__(self, input_list):
for x in input_list:
self.append(x)
self.is_truncated = False
| data/boto-2.49.0/boto/file/simpleresultset.py | 237 | 75 | 346,872 |
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_fromint8_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_touint8_fromint8.py | 203 | 75 | 220,489 |
LOAD_CONST 0
LOAD_CONST ('azure_audit_info',)
IMPORT_NAME prowler.providers.azure.lib.audit_info.audit_info
IMPORT_FROM azure_audit_info
STORE_NAME azure_audit_info
POP_TOP
LOAD_CONST 0
LOAD_CONST ('VirtualMachines',)
IMPORT_NAME prowler.providers.azure.services.vm.vm_service
IMPORT_FROM VirtualMachines
STORE_NAME Vir... | from prowler.providers.azure.lib.audit_info.audit_info import azure_audit_info
from prowler.providers.azure.services.vm.vm_service import VirtualMachines
vm_client = VirtualMachines(azure_audit_info)
| data/prowler-3.14.0/prowler/providers/azure/services/vm/vm_client.py | 134 | 75 | 183,504 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pytest
STORE_NAME pytest
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME kernels
STORE_NAME kernels
LOAD_NAME pytest
LOAD_ATTR mark
LOAD_ATTR skip
LOAD_CONST 'Unable to generate any tests for kernel'
LOAD_CONST ('reason',)
CALL_FUNCTION
LOAD_CONST <code object test_pyawkward_reduce_m... | import pytest
import kernels
@pytest.mark.skip(reason="Unable to generate any tests for kernel")
def test_pyawkward_reduce_max_int16_int16_64_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_reduce_max_int16_int16_64.py | 203 | 75 | 220,466 |
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_fromint8_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_tofloat32_fromint8.py | 204 | 75 | 220,468 |
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 SocialAttachment at 0x7fab8210fd20, file "f.py", line 4>
LOAD_CONST 'SocialAttachment'
MAKE_FUNCTION
LOAD_CONST 'SocialAttachment'
LOAD_NAM... | from office365.runtime.client_value import ClientValue
class SocialAttachment(ClientValue):
"""The SocialAttachment class represents an image, document preview, or video preview attachment."""
@property
def entity_type_name(self):
return "SP.Social.SocialAttachment"
| data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/social/attachment.py | 234 | 75 | 189,642 |
LOAD_CONST 0
LOAD_CONST ('ApiForget',)
IMPORT_NAME onelogin.paths.api_2_apps_app_id_rules_actions_rule_action_value_values.get
IMPORT_FROM ApiForget
STORE_NAME ApiForget
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Api2AppsAppIdRulesActionsRuleActionValueValues at 0x7f8e2ff5e6f0, file "f.py", line 6>
LOAD_CONST 'A... | from onelogin.paths.api_2_apps_app_id_rules_actions_rule_action_value_values.get import (
ApiForget,
)
class Api2AppsAppIdRulesActionsRuleActionValueValues(
ApiForget,
):
pass
| data/onelogin-3.1.6/onelogin/apis/paths/api_2_apps_app_id_rules_actions_rule_action_value_values.py | 212 | 75 | 397,282 |
LOAD_CONST 'dax base URL and path.'
STORE_NAME __doc__
LOAD_CONST 1
LOAD_CONST ('DAXResponse',)
IMPORT_NAME responses
IMPORT_FROM DAXResponse
STORE_NAME DAXResponse
POP_TOP
LOAD_CONST 'https?://dax\\.(.+)\\.amazonaws\\.com'
BUILD_LIST
STORE_NAME url_bases
LOAD_CONST '{0}/$'
LOAD_NAME DAXResponse
LOAD_ATTR dispatch
B... | """dax base URL and path."""
from .responses import DAXResponse
url_bases = [
r"https?://dax\.(.+)\.amazonaws\.com",
]
url_paths = {
"{0}/$": DAXResponse.dispatch,
}
| data/moto-5.0.2/moto/dax/urls.py | 101 | 75 | 198,438 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME click
STORE_NAME click
LOAD_CONST 0
LOAD_CONST ('GroupWithAlias',)
IMPORT_NAME launchable.utils.click
IMPORT_FROM GroupWithAlias
STORE_NAME GroupWithAlias
POP_TOP
LOAD_CONST 1
LOAD_CONST ('subset',)
IMPORT_NAME subset
IMPORT_FROM subset
STORE_NAME subset
POP_TOP
LOAD_CONST 1
... | import click
from launchable.utils.click import GroupWithAlias
from .subset import subset
from .tests import tests
@click.group(cls=GroupWithAlias)
def inspect():
pass
inspect.add_command(subset)
inspect.add_command(tests)
| data/launchable-1.82.4/launchable/commands/inspect/__init__.py | 202 | 75 | 422,353 |
LOAD_CONST 0
LOAD_CONST ('annotations',)
IMPORT_NAME __future__
IMPORT_FROM annotations
STORE_NAME annotations
POP_TOP
LOAD_CONST 0
LOAD_CONST ('ViaTemplateActivator',)
IMPORT_NAME virtualenv.activation.via_template
IMPORT_FROM ViaTemplateActivator
STORE_NAME ViaTemplateActivator
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <... | from __future__ import annotations
from virtualenv.activation.via_template import ViaTemplateActivator
class FishActivator(ViaTemplateActivator):
def templates(self):
yield "activate.fish"
__all__ = [
"FishActivator",
]
| data/virtualenv-20.25.0/src/virtualenv/activation/fish/__init__.py | 254 | 75 | 145,371 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME abc
STORE_NAME abc
LOAD_BUILD_CLASS
LOAD_CONST <code object MetricImplementation at 0x7fab822585d0, file "f.py", line 4>
LOAD_CONST 'MetricImplementation'
MAKE_FUNCTION
LOAD_CONST 'MetricImplementation'
CALL_FUNCTION
STORE_NAME MetricImplementation
LOAD_CONST None
RETURN_VALUE
... | import abc
class MetricImplementation:
@abc.abstractmethod
def calculate(self, context, data):
raise NotImplementedError()
@classmethod
@abc.abstractmethod
def supported_engines(cls):
raise NotImplementedError()
| data/evidently-0.4.15/src/evidently/calculation_engine/metric_implementation.py | 281 | 75 | 234,055 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pytest
STORE_NAME pytest
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME kernels
STORE_NAME kernels
LOAD_NAME pytest
LOAD_ATTR mark
LOAD_ATTR skip
LOAD_CONST 'Unable to generate any tests for kernel'
LOAD_CONST ('reason',)
CALL_FUNCTION
LOAD_CONST <code object test_pyawkward_reduce_s... | import pytest
import kernels
@pytest.mark.skip(reason="Unable to generate any tests for kernel")
def test_pyawkward_reduce_sum_float32_float32_64_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_reduce_sum_float32_float32_64.py | 203 | 75 | 220,630 |
LOAD_CONST 'The ``spyne.interface.wsdl`` package contains an implementation of the subset\nWsdl 1.1 standard, and awaits for volunteers for implementing the brand new\nWsdl 2.0 standard.\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('Wsdl11',)
IMPORT_NAME spyne.interface.wsdl.wsdl11
IMPORT_FROM Wsdl11
STORE_NAME Wsdl... | """The ``spyne.interface.wsdl`` package contains an implementation of the subset
Wsdl 1.1 standard, and awaits for volunteers for implementing the brand new
Wsdl 2.0 standard.
"""
from spyne.interface.wsdl.wsdl11 import Wsdl11
| data/spyne-2.14.0/spyne/interface/wsdl/__init__.py | 111 | 75 | 223,809 |
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME azure.cli.core.aaz
IMPORT_STAR
LOAD_NAME register_command_group
LOAD_CONST 'sql'
CALL_FUNCTION
LOAD_BUILD_CLASS
LOAD_CONST <code object __CMDGroup at 0x7fab700551e0, file "f.py", line 4>
LOAD_CONST '__CMDGroup'
MAKE_FUNCTION
LOAD_CONST '__CMDGroup'
LOAD_NAME AAZCommandGroup... | from azure.cli.core.aaz import *
@register_command_group(
"sql",
)
class __CMDGroup(AAZCommandGroup):
"""Manage Azure SQL Databases and Data Warehouses."""
pass
__all__ = ["__CMDGroup"]
| data/azure-cli-2.57.0/azure/cli/command_modules/sql/aaz/latest/sql/__cmd_group.py | 185 | 75 | 375,368 |
LOAD_CONST 0
LOAD_CONST ('Enum',)
IMPORT_NAME enum
IMPORT_FROM Enum
STORE_NAME Enum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object RiskLevel at 0x7fab820f49c0, file "f.py", line 4>
LOAD_CONST 'RiskLevel'
MAKE_FUNCTION
LOAD_CONST 'RiskLevel'
LOAD_NAME str
LOAD_NAME Enum
CALL_FUNCTION
STORE_NAME RiskLevel
LOAD_CONST N... | from enum import Enum
class RiskLevel(str, Enum):
Low = ("low",)
Medium = ("medium",)
High = ("high",)
Hidden = ("hidden",)
None_ = ("none",)
UnknownFutureValue = ("unknownFutureValue",)
| data/msgraph-sdk-1.1.0/msgraph/generated/models/risk_level.py | 191 | 75 | 261,607 |
LOAD_CONST 0
LOAD_CONST ('GoogleSerperResults', 'GoogleSerperRun')
IMPORT_NAME langchain_community.tools.google_serper.tool
IMPORT_FROM GoogleSerperResults
STORE_NAME GoogleSerperResults
IMPORT_FROM GoogleSerperRun
STORE_NAME GoogleSerperRun
POP_TOP
LOAD_CONST 'GoogleSerperRun'
LOAD_CONST 'GoogleSerperResults'
BUILD_L... | from langchain_community.tools.google_serper.tool import (
GoogleSerperResults,
GoogleSerperRun,
)
"""Google Serper API Toolkit."""
"""Tool for the Serer.dev Google Search API."""
__all__ = ["GoogleSerperRun", "GoogleSerperResults"]
| data/langchain-0.1.8/langchain/tools/google_serper/__init__.py | 88 | 75 | 369,367 |
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 GameplayKit
STORE_NAME GameplayKit
LOAD_BUILD_CLASS
LOAD_CONST <code object TestGKGraph at 0x7fab81fc4780, file "f.py", line 6>
LOAD_CONST 'TestGKGraph'
M... | from PyObjCTools.TestSupport import TestCase
import GameplayKit
class TestGKGraph(TestCase):
def testMethods(self):
self.assertArgIsBOOL(
GameplayKit.GKGraph.connectNodeToLowestCostNode_bidirectional_, 1
)
| data/pyobjc-framework-GameplayKit-10.1/PyObjCTest/test_gkgraph.py | 248 | 75 | 57,637 |
LOAD_CONST '\nValidate the length and format of the version string.\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME sodapy
STORE_NAME sodapy
LOAD_CONST <code object test_version at 0x7fae2f4041e0, file "f.py", line 8>
LOAD_CONST 'test_version'
MAKE_FUNCTION
STORE_NAME test_version
LOAD_CONST None
RETUR... | """
Validate the length and format of the version string.
"""
import sodapy
def test_version():
version = sodapy.__version__
components = version.split(".")
assert len(components) == 3
for component in components:
assert component.isnumeric()
| data/sodapy-2.2.0/tests/test_version.py | 199 | 75 | 302,554 |
LOAD_BUILD_CLASS
LOAD_CONST <code object TestPeopleService at 0x7f8e447b2660, file "f.py", line 1>
LOAD_CONST 'TestPeopleService'
MAKE_FUNCTION
LOAD_CONST 'TestPeopleService'
CALL_FUNCTION
STORE_NAME TestPeopleService
LOAD_BUILD_CLASS
LOAD_CONST <code object TestContactNameSpace at 0x7f8e447b2c90, file "f.py", line 12... | class TestPeopleService:
def test_contacts(self): # synced
assert True
def test_personal(self): # synced
assert True
def test_active_directory(self): # synced
assert True
class TestContactNameSpace:
pass
| data/office365-0.3.15/tests/people/test_service.py | 412 | 75 | 113,182 |
LOAD_CONST 0
LOAD_CONST ('Annotated',)
IMPORT_NAME typing
IMPORT_FROM Annotated
STORE_NAME Annotated
POP_TOP
LOAD_CONST 0
LOAD_CONST ('FastAPI', 'Header')
IMPORT_NAME fastapi
IMPORT_FROM FastAPI
STORE_NAME FastAPI
IMPORT_FROM Header
STORE_NAME Header
POP_TOP
LOAD_NAME FastAPI
CALL_FUNCTION
STORE_NAME app
LOAD_NAME a... | from typing import Annotated
from fastapi import FastAPI, Header
app = FastAPI()
@app.get("/items/")
async def read_items(user_agent: Annotated[str | None, Header()] = None):
return {"User-Agent": user_agent}
| data/fastapi-0.109.2/docs_src/header_params/tutorial001_an_py310.py | 198 | 75 | 142,709 |
LOAD_CONST 'rlu_dmlab_rooms_watermaze dataset.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('RluDmlabRoomsWatermaze',)
IMPORT_NAME tensorflow_datasets.rl_unplugged.rlu_dmlab_rooms_watermaze.rlu_dmlab_rooms_watermaze
IMPORT_FROM RluDmlabRoomsWatermaze
STORE_NAME RluDmlabRoomsWatermaze
POP_TOP
LOAD_CONST None
RETURN_VAL... | """rlu_dmlab_rooms_watermaze dataset."""
from tensorflow_datasets.rl_unplugged.rlu_dmlab_rooms_watermaze.rlu_dmlab_rooms_watermaze import (
RluDmlabRoomsWatermaze,
)
| data/tensorflow-datasets-4.9.4/tensorflow_datasets/rl_unplugged/rlu_dmlab_rooms_watermaze/__init__.py | 113 | 75 | 255,096 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pytest
STORE_NAME pytest
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME kernels
STORE_NAME kernels
LOAD_NAME pytest
LOAD_ATTR mark
LOAD_ATTR skip
LOAD_CONST 'Unable to generate any tests for kernel'
LOAD_CONST ('reason',)
CALL_FUNCTION
LOAD_CONST <code object test_pyawkward_reduce_s... | import pytest
import kernels
@pytest.mark.skip(reason="Unable to generate any tests for kernel")
def test_pyawkward_reduce_sum_int64_int16_64_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_reduce_sum_int64_int16_64.py | 203 | 75 | 220,354 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pytest
STORE_NAME pytest
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME kernels
STORE_NAME kernels
LOAD_NAME pytest
LOAD_ATTR mark
LOAD_ATTR skip
LOAD_CONST 'Unable to generate any tests for kernel'
LOAD_CONST ('reason',)
CALL_FUNCTION
LOAD_CONST <code object test_pyawkward_reduce_m... | import pytest
import kernels
@pytest.mark.skip(reason="Unable to generate any tests for kernel")
def test_pyawkward_reduce_min_int16_int16_64_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_reduce_min_int16_int16_64.py | 204 | 75 | 220,481 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pytest
STORE_NAME pytest
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME kernels
STORE_NAME kernels
LOAD_NAME pytest
LOAD_ATTR mark
LOAD_ATTR skip
LOAD_CONST 'Unable to generate any tests for kernel'
LOAD_CONST ('reason',)
CALL_FUNCTION
LOAD_CONST <code object test_pyawkward_NumpyArr... | import pytest
import kernels
@pytest.mark.skip(reason="Unable to generate any tests for kernel")
def test_pyawkward_NumpyArray_fill_toint8_fromint64_1():
raise NotImplementedError("Unable to generate any tests for kernel")
| data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_toint8_fromint64.py | 204 | 75 | 220,482 |
SETUP_EXCEPT to 18
LOAD_CONST 0
LOAD_CONST ('metadata',)
IMPORT_NAME importlib
IMPORT_FROM metadata
STORE_NAME metadata
POP_TOP
POP_BLOCK
JUMP_FORWARD to 76
DUP_TOP
LOAD_NAME ImportError
COMPARE_OP exception match
POP_JUMP_IF_FALSE
POP_TOP
POP_TOP
POP_TOP
SETUP_EXCEPT to 46
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME ... | try:
from importlib import metadata
except ImportError:
try:
import importlib_metadata as metadata
except ImportError:
__version__ = "unknown"
try:
__version__ = metadata.version("meshio")
except Exception:
__version__ = "unknown"
| data/meshio-5.3.5/src/meshio/__about__.py | 220 | 75 | 222,944 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pytest
STORE_NAME pytest
LOAD_CONST 0
LOAD_CONST ('AsyncClient',)
IMPORT_NAME zeep
IMPORT_FROM AsyncClient
STORE_NAME AsyncClient
POP_TOP
LOAD_NAME pytest
LOAD_ATTR mark
LOAD_ATTR requests
LOAD_NAME pytest
LOAD_ATTR mark
LOAD_ATTR asyncio
LOAD_CONST <code object test_context_... | import pytest
from zeep import AsyncClient
@pytest.mark.requests
@pytest.mark.asyncio
async def test_context_manager():
async with AsyncClient("tests/wsdl_files/soap.wsdl") as async_client:
assert async_client
| data/zeep-4.2.1/tests/test_async_client.py | 211 | 75 | 156,541 |
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.autosummary'
BUILD_L... | import os
import sys
sys.path.insert(0, os.path.abspath("."))
extensions = ["sphinx.ext.autosummary"]
source_suffix = ".rst"
autosummary_generate = True
exclude_patterns = ["_build"]
| data/sphinx-7.2.6/tests/roots/test-autosummary/conf.py | 126 | 75 | 381,071 |
LOAD_CONST ' A source file '
STORE_NAME __doc__
LOAD_CONST '1.2.3'
STORE_NAME __version__
LOAD_NAME __version__
LOAD_CONST 'UNKNOWN'
COMPARE_OP ==
POP_JUMP_IF_FALSE
LOAD_CONST (0, 0, 0)
STORE_NAME __version_info__
JUMP_FORWARD to 42
LOAD_NAME tuple
LOAD_NAME map
LOAD_NAME int
LOAD_NAME __version__
LOAD_METHOD split... | """ A source file """
__version__ = "1.2.3"
if __version__ == "UNKNOWN":
__version_info__ = (0, 0, 0)
else:
__version_info__ = tuple(map(int, __version__.split(".")))
| data/versioningit-3.0.0/test/data/replace-version/source.py | 111 | 75 | 46,897 |
LOAD_NAME __import__
LOAD_CONST 'pkgutil'
CALL_FUNCTION
LOAD_METHOD extend_path
LOAD_NAME __path__
LOAD_NAME __name__
CALL_METHOD
STORE_NAME __path__
LOAD_CONST 1
LOAD_CONST ('DataColumnSchema',)
IMPORT_NAME data_column_schema
IMPORT_FROM DataColumnSchema
STORE_NAME DataColumnSchema
POP_TOP
LOAD_CONST 1
LOAD_CONST ('... | __path__ = __import__("pkgutil").extend_path(__path__, __name__)
from .data_column_schema import DataColumnSchema
from .feature_store_entity_schema import FeatureStoreEntitySchema
__all__ = [
"DataColumnSchema",
"FeatureStoreEntitySchema",
]
| data/azure-ai-ml-1.13.0/azure/ai/ml/_schema/_feature_store_entity/__init__.py | 133 | 75 | 426,352 |
LOAD_CONST 0
LOAD_CONST ('curves', 'definitions', 'triangulate_definitions')
IMPORT_NAME refinitiv.data.content.ipa.curves._cross_currency_curves
IMPORT_FROM curves
STORE_NAME curves
IMPORT_FROM definitions
STORE_NAME definitions
IMPORT_FROM triangulate_definitions
STORE_NAME triangulate_definitions
POP_TOP
LOAD_CONST... | from refinitiv.data.content.ipa.curves._cross_currency_curves import (
curves,
definitions,
triangulate_definitions,
)
__all__ = (
"curves",
"definitions",
"triangulate_definitions",
)
| data/refinitiv-data-1.6.0/refinitiv/data/early_access/content/ipa/curves/cross_currency_curves.py | 103 | 75 | 195,229 |
LOAD_CONST '\nSouth - Useable migrations for Django apps\n'
STORE_NAME __doc__
LOAD_CONST '1.0.2'
STORE_NAME __version__
LOAD_CONST 'Andrew Godwin <andrew@aeracode.org>'
LOAD_CONST 'Andy McCurdy <andy@andymccurdy.com>'
BUILD_LIST
STORE_NAME __authors__
LOAD_CONST None
RETURN_VALUE | """
South - Useable migrations for Django apps
"""
__version__ = "1.0.2"
__authors__ = [
"Andrew Godwin <andrew@aeracode.org>",
"Andy McCurdy <andy@andymccurdy.com>",
]
| data/South-1.0.2/south/__init__.py | 89 | 75 | 392,229 |
LOAD_CONST 'AUTOGENERATED. DO NOT EDIT.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('image',)
IMPORT_NAME tf_keras.api._v1.keras.preprocessing
IMPORT_FROM image
STORE_NAME image
POP_TOP
LOAD_CONST 0
LOAD_CONST ('sequence',)
IMPORT_NAME tf_keras.api._v1.keras.preprocessing
IMPORT_FROM sequence
STORE_NAME sequence
POP... | """AUTOGENERATED. DO NOT EDIT."""
from tf_keras.api._v1.keras.preprocessing import image
from tf_keras.api._v1.keras.preprocessing import sequence
from tf_keras.api._v1.keras.preprocessing import text
| data/tf_keras-nightly-2.17.0.dev2024022110/tf_keras/api/_v1/keras/preprocessing/__init__.py | 135 | 75 | 165,185 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.