input stringlengths 28 198k | output stringlengths 3 71k | file stringlengths 19 330 | input_tokens int64 5 159k | output_tokens int64 3 9.07k | __index_level_0__ int64 2 449k |
|---|---|---|---|---|---|
LOAD_CONST 0
LOAD_CONST ('AzureChatOpenAI',)
IMPORT_NAME langchain_openai.chat_models.azure
IMPORT_FROM AzureChatOpenAI
STORE_NAME AzureChatOpenAI
POP_TOP
LOAD_CONST 0
LOAD_CONST ('ChatOpenAI',)
IMPORT_NAME langchain_openai.chat_models.base
IMPORT_FROM ChatOpenAI
STORE_NAME ChatOpenAI
POP_TOP
LOAD_CONST 'ChatOpenAI'
... | from langchain_openai.chat_models.azure import AzureChatOpenAI
from langchain_openai.chat_models.base import ChatOpenAI
__all__ = [
"ChatOpenAI",
"AzureChatOpenAI",
]
| data/langchain_openai-0.0.6/langchain_openai/chat_models/__init__.py | 110 | 62 | 135,814 |
LOAD_CONST 'development'
BUILD_LIST
STORE_NAME __tags__
LOAD_CONST False
STORE_NAME exclude
SETUP_EXCEPT to 24
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pygame.freetype
STORE_NAME pygame
POP_BLOCK
JUMP_FORWARD to 48
DUP_TOP
LOAD_NAME ImportError
COMPARE_OP exception match
POP_JUMP_IF_FALSE
POP_TOP
POP_TOP
POP_TOP
L... | __tags__ = ["development"]
exclude = False
try:
import pygame.freetype
except ImportError:
exclude = True
if exclude:
__tags__.extend(["ignore", "subprocess_ignore"])
| data/pygame-2.5.2/test/freetype_tags.py | 131 | 62 | 124,941 |
LOAD_CONST 0
LOAD_CONST ('Entity',)
IMPORT_NAME office365.entity
IMPORT_FROM Entity
STORE_NAME Entity
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object PrintConnector at 0x7fab541051e0, file "f.py", line 4>
LOAD_CONST 'PrintConnector'
MAKE_FUNCTION
LOAD_CONST 'PrintConnector'
LOAD_NAME Entity
CALL_FUNCTION
STORE_NAME P... | from office365.entity import Entity
class PrintConnector(Entity):
"""Represents a print connector that has been registered by using a Universal Print subscription.
The printConnector resource can be used to view connector status and update properties.
"""
| data/Office365-REST-Python-Client-2.5.5/office365/intune/printing/connectors/connector.py | 170 | 62 | 189,881 |
LOAD_CONST 'sphinxext.opengraph'
BUILD_LIST
STORE_NAME extensions
LOAD_CONST 'index'
STORE_NAME master_doc
LOAD_CONST '_build'
BUILD_LIST
STORE_NAME exclude_patterns
LOAD_CONST 'basic'
STORE_NAME html_theme
LOAD_CONST 'http://example.org/en/latest/'
STORE_NAME ogp_site_url
LOAD_CONST None
RETURN_VALUE | extensions = ["sphinxext.opengraph"]
master_doc = "index"
exclude_patterns = ["_build"]
html_theme = "basic"
ogp_site_url = "http://example.org/en/latest/"
| data/sphinxext-opengraph-0.9.1/tests/roots/test-double-spacing/conf.py | 80 | 62 | 346,030 |
LOAD_CONST 'sphinxext.opengraph'
BUILD_LIST
STORE_NAME extensions
LOAD_CONST 'index'
STORE_NAME master_doc
LOAD_CONST '_build'
BUILD_LIST
STORE_NAME exclude_patterns
LOAD_CONST 'basic'
STORE_NAME html_theme
LOAD_CONST 'http://example.org/en/latest/'
STORE_NAME ogp_site_url
LOAD_CONST None
RETURN_VALUE | extensions = ["sphinxext.opengraph"]
master_doc = "index"
exclude_patterns = ["_build"]
html_theme = "basic"
ogp_site_url = "http://example.org/en/latest/"
| data/sphinxext-opengraph-0.9.1/tests/roots/test-skip-title/conf.py | 80 | 62 | 346,027 |
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 ExecutionPolicy
STORE_NAME ExecutionPolicy
LOAD_BUILD_CLASS
LOAD_CONST <code object TestCallableMetadata at 0x7f8e2fcbf660, file "f.py", line 6>
LOAD_CONS... | from PyObjCTools.TestSupport import TestCase
import ExecutionPolicy
class TestCallableMetadata(TestCase):
def test_callable_metadata_is_sane(self):
self.assertCallableMetadataIsSane(ExecutionPolicy)
| data/pyobjc-framework-ExecutionPolicy-10.1/PyObjCTest/test_executionpolicy.py | 252 | 62 | 8,923 |
LOAD_CONST 1
LOAD_CONST ('ResnetEncoder',)
IMPORT_NAME resnet_encoder
IMPORT_FROM ResnetEncoder
STORE_NAME ResnetEncoder
POP_TOP
LOAD_CONST 1
LOAD_CONST ('DepthDecoder',)
IMPORT_NAME depth_decoder
IMPORT_FROM DepthDecoder
STORE_NAME DepthDecoder
POP_TOP
LOAD_CONST 1
LOAD_CONST ('PoseDecoder',)
IMPORT_NAME pose_decode... | from .resnet_encoder import ResnetEncoder
from .depth_decoder import DepthDecoder
from .pose_decoder import PoseDecoder
from .monodepth2 import *
from .monodepth2_posenet import *
| data/gluoncv-0.10.5.post0/gluoncv/model_zoo/monodepthv2/__init__.py | 150 | 62 | 207,516 |
LOAD_CONST 0
LOAD_CONST ('ApiForget',)
IMPORT_NAME onelogin.paths.api_2_branding_brands_brand_id_apps.get
IMPORT_FROM ApiForget
STORE_NAME ApiForget
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Api2BrandingBrandsBrandIdApps at 0x7f8e44712ed0, file "f.py", line 4>
LOAD_CONST 'Api2BrandingBrandsBrandIdApps'
MAKE_FUN... | from onelogin.paths.api_2_branding_brands_brand_id_apps.get import ApiForget
class Api2BrandingBrandsBrandIdApps(
ApiForget,
):
pass
| data/onelogin-3.1.6/onelogin/apis/paths/api_2_branding_brands_brand_id_apps.py | 201 | 62 | 397,263 |
LOAD_CONST 'sphinxext.opengraph'
BUILD_LIST
STORE_NAME extensions
LOAD_CONST 'index'
STORE_NAME master_doc
LOAD_CONST '_build'
BUILD_LIST
STORE_NAME exclude_patterns
LOAD_CONST 'basic'
STORE_NAME html_theme
LOAD_CONST 'http://example.org/en/latest/'
STORE_NAME ogp_site_url
LOAD_CONST None
RETURN_VALUE | extensions = ["sphinxext.opengraph"]
master_doc = "index"
exclude_patterns = ["_build"]
html_theme = "basic"
ogp_site_url = "http://example.org/en/latest/"
| data/sphinxext-opengraph-0.9.1/tests/roots/test-skip-comments/conf.py | 80 | 62 | 346,025 |
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 IntuneBrand at 0x7fab541051e0, file "f.py", line 4>
LOAD_CONST 'IntuneBrand'
MAKE_FUNCTION
LOAD_CONST 'IntuneBrand'
LOAD_NAME ClientValue
C... | from office365.runtime.client_value import ClientValue
class IntuneBrand(ClientValue):
"""intuneBrand contains data which is used in customizing the appearance of the Company Portal applications as
well as the end user web portal."""
| data/Office365-REST-Python-Client-2.5.5/office365/intune/brand.py | 176 | 62 | 189,861 |
LOAD_CONST 1
LOAD_CONST ('CBORDecodeError', 'CBORDecoder', 'CBOREncodeError', 'CBOREncoder', 'dump', 'dumps', 'load', 'loads')
IMPORT_NAME cbor2
IMPORT_FROM CBORDecodeError
STORE_NAME CBORDecodeError
IMPORT_FROM CBORDecoder
STORE_NAME CBORDecoder
IMPORT_FROM CBOREncodeError
STORE_NAME CBOREncodeError
IMPORT_FROM CBOREn... | from .cbor2 import (
CBORDecodeError,
CBORDecoder,
CBOREncodeError,
CBOREncoder,
dump,
dumps,
load,
loads,
)
| data/mercurial-6.6.3/mercurial/thirdparty/cbor/__init__.py | 146 | 62 | 365,779 |
LOAD_CONST 0
LOAD_CONST ('annotations',)
IMPORT_NAME __future__
IMPORT_FROM annotations
STORE_NAME annotations
POP_TOP
LOAD_NAME __name__
LOAD_CONST '__main__'
COMPARE_OP ==
POP_JUMP_IF_FALSE
LOAD_CONST 1
LOAD_CONST ('_bonjour',)
IMPORT_NAME
IMPORT_FROM _bonjour
STORE_NAME bonjour
POP_TOP
LOAD_CONST 1
LOAD_CONST ('_... | from __future__ import annotations
if __name__ == "__main__":
from . import _bonjour as bonjour
from . import _hello as hello
hello.hello()
bonjour.bonjour()
| data/scikit_build-0.17.6/tests/samples/hello-fortran/hello/__main__.py | 130 | 62 | 198,926 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME os
STORE_NAME os
LOAD_NAME __name__
LOAD_CONST '__main__'
COMPARE_OP ==
POP_JUMP_IF_FALSE
LOAD_NAME os
LOAD_METHOD read
LOAD_CONST 0
LOAD_CONST 1024
CALL_METHOD
STORE_NAME buf
LOAD_NAME os
LOAD_METHOD write
LOAD_CONST 1
LOAD_CONST b'OUT:'
LOAD_NAME buf
BINARY_ADD
CALL_METHOD
... | import os
if __name__ == "__main__":
buf = os.read(0, 1024)
os.write(1, b"OUT:" + buf)
os.write(2, b"ERR:" + buf)
| data/trio_asyncio-0.14.0/tests/scripts/echo2.py | 111 | 62 | 168,178 |
LOAD_CONST 0
LOAD_CONST ('is_module_satisfies',)
IMPORT_NAME PyInstaller.utils.hooks
IMPORT_FROM is_module_satisfies
STORE_NAME is_module_satisfies
POP_TOP
LOAD_NAME is_module_satisfies
LOAD_CONST 'scikit_learn >= 0.24'
CALL_FUNCTION
POP_JUMP_IF_FALSE
LOAD_CONST 'sklearn.utils._weight_vector'
BUILD_LIST
STORE_NAME hi... | from PyInstaller.utils.hooks import is_module_satisfies
if is_module_satisfies("scikit_learn >= 0.24"):
hiddenimports = [
"sklearn.utils._weight_vector",
]
| data/pyinstaller-hooks-contrib-2024.1/src/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-sklearn.linear_model.py | 95 | 62 | 282,192 |
LOAD_CONST 0
LOAD_CONST ('FastAPI', 'status')
IMPORT_NAME fastapi
IMPORT_FROM FastAPI
STORE_NAME FastAPI
IMPORT_FROM status
STORE_NAME status
POP_TOP
LOAD_NAME FastAPI
CALL_FUNCTION
STORE_NAME app
LOAD_NAME app
LOAD_ATTR post
LOAD_CONST '/items/'
LOAD_NAME status
LOAD_ATTR HTTP_201_CREATED
LOAD_CONST ('status_code',)... | from fastapi import FastAPI, status
app = FastAPI()
@app.post("/items/", status_code=status.HTTP_201_CREATED)
async def create_item(name: str):
return {"name": name}
| data/fastapi-0.109.2/docs_src/response_status_code/tutorial002.py | 159 | 62 | 142,694 |
LOAD_BUILD_CLASS
LOAD_CONST <code object UserCredential at 0x7fab640fac90, file "f.py", line 1>
LOAD_CONST 'UserCredential'
MAKE_FUNCTION
LOAD_CONST 'UserCredential'
LOAD_NAME object
CALL_FUNCTION
STORE_NAME UserCredential
LOAD_CONST None
RETURN_VALUE
LOAD_NAME __name__
STORE_NAME __module__
LOAD_CONST 'UserCredential... | class UserCredential(object):
def __init__(self, user_name, password):
"""
:type password: str
:type user_name str
"""
self.userName = user_name
self.password = password
| data/Office365-REST-Python-Client-2.5.5/office365/runtime/auth/user_credential.py | 174 | 62 | 189,852 |
LOAD_CONST 'Test `tqdm.tk`.'
STORE_NAME __doc__
LOAD_CONST 1
LOAD_CONST ('importorskip',)
IMPORT_NAME tests_tqdm
IMPORT_FROM importorskip
STORE_NAME importorskip
POP_TOP
LOAD_CONST <code object test_tk_import at 0x7fadb5811c00, file "f.py", line 6>
LOAD_CONST 'test_tk_import'
MAKE_FUNCTION
STORE_NAME test_tk_import
L... | """Test `tqdm.tk`."""
from .tests_tqdm import importorskip
def test_tk_import():
"""Test `tqdm.tk` import"""
importorskip("tqdm.tk")
| data/tqdm-4.66.2/tests/tests_tk.py | 137 | 62 | 310,456 |
LOAD_CONST 0
LOAD_CONST ('FastAPI',)
IMPORT_NAME fastapi
IMPORT_FROM FastAPI
STORE_NAME FastAPI
POP_TOP
LOAD_NAME FastAPI
CALL_FUNCTION
STORE_NAME app
LOAD_NAME app
LOAD_ATTR get
LOAD_CONST '/items/'
LOAD_CONST 'some_specific_id_you_define'
LOAD_CONST ('operation_id',)
CALL_FUNCTION
LOAD_CONST <code object read_items... | from fastapi import FastAPI
app = FastAPI()
@app.get("/items/", operation_id="some_specific_id_you_define")
async def read_items():
return [{"item_id": "Foo"}]
| data/fastapi-0.109.2/docs_src/path_operation_advanced_configuration/tutorial001.py | 146 | 62 | 142,552 |
LOAD_CONST <code object restrict_to_this_line at 0x7fab411e5270, file "f.py", line 1>
LOAD_CONST 'restrict_to_this_line'
MAKE_FUNCTION
STORE_NAME restrict_to_this_line
LOAD_CONST None
RETURN_VALUE
LOAD_GLOBAL print
LOAD_CONST 'This should not be formatted.'
CALL_FUNCTION
POP_TOP
LOAD_GLOBAL print
LOAD_CONST 'Note th... | def restrict_to_this_line(arg1, arg2, arg3):
print("This should not be formatted.")
print(
"Note that in the second pass, the original line range 9-11 will cover these print lines."
)
| data/ruff-0.2.2/crates/ruff_python_formatter/resources/test/fixtures/black/cases/line_ranges_two_passes.py | 121 | 62 | 342,116 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.tfmot.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.tfmot
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.tfmot."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.tfmot import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/third_party/efficientdet/keras/tfmot.py | 82 | 62 | 401,246 |
LOAD_CONST 0
LOAD_CONST ('migrations',)
IMPORT_NAME django.db
IMPORT_FROM migrations
STORE_NAME migrations
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Migration at 0x7f8e2fec3810, file "f.py", line 4>
LOAD_CONST 'Migration'
MAKE_FUNCTION
LOAD_CONST 'Migration'
LOAD_NAME migrations
LOAD_ATTR Migration
CALL_FUNCTIO... | from django.db import migrations
class Migration(migrations.Migration):
dependencies = [("migrations", "5_auto")]
operations = [migrations.RunPython(migrations.RunPython.noop)]
| data/Django-5.0.2/tests/migrations/test_migrations_squashed_complex/6_auto.py | 171 | 62 | 325,734 |
LOAD_CONST 0
LOAD_CONST ('Session',)
IMPORT_NAME stripe.checkout._session
IMPORT_FROM Session
STORE_NAME Session
POP_TOP
LOAD_CONST 0
LOAD_CONST ('SessionLineItemService',)
IMPORT_NAME stripe.checkout._session_line_item_service
IMPORT_FROM SessionLineItemService
STORE_NAME SessionLineItemService
POP_TOP
LOAD_CONST 0
... | from stripe.checkout._session import Session as Session
from stripe.checkout._session_line_item_service import (
SessionLineItemService as SessionLineItemService,
)
from stripe.checkout._session_service import SessionService as SessionService
| data/stripe-8.3.0/stripe/checkout/__init__.py | 108 | 62 | 12,389 |
LOAD_CONST 'sphinxext.opengraph'
BUILD_LIST
STORE_NAME extensions
LOAD_CONST 'index'
STORE_NAME master_doc
LOAD_CONST '_build'
BUILD_LIST
STORE_NAME exclude_patterns
LOAD_CONST 'basic'
STORE_NAME html_theme
LOAD_CONST 'http://example.org/en/latest/'
STORE_NAME ogp_site_url
LOAD_CONST None
RETURN_VALUE | extensions = ["sphinxext.opengraph"]
master_doc = "index"
exclude_patterns = ["_build"]
html_theme = "basic"
ogp_site_url = "http://example.org/en/latest/"
| data/sphinxext-opengraph-0.9.1/tests/roots/test-list/conf.py | 80 | 62 | 346,038 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME json
STORE_NAME json
LOAD_CONST 0
LOAD_CONST ('cli_out_write',)
IMPORT_NAME conan.api.output
IMPORT_FROM cli_out_write
STORE_NAME cli_out_write
POP_TOP
LOAD_CONST <code object default_json_formatter at 0x7faa5f6db810, file "f.py", line 6>
LOAD_CONST 'default_json_formatter'
MA... | import json
from conan.api.output import cli_out_write
def default_json_formatter(data):
myjson = json.dumps(data, indent=4)
cli_out_write(myjson)
| data/conan-2.1.0/conan/cli/formatters/__init__.py | 165 | 62 | 242,140 |
LOAD_CONST 0
LOAD_CONST ('standard_attr_segment',)
IMPORT_NAME neutron_lib.api.definitions
IMPORT_FROM standard_attr_segment
STORE_NAME standard_attr_segment
POP_TOP
LOAD_CONST 0
LOAD_CONST ('base',)
IMPORT_NAME neutron_lib.tests.unit.api.definitions
IMPORT_FROM base
STORE_NAME base
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONS... | from neutron_lib.api.definitions import standard_attr_segment
from neutron_lib.tests.unit.api.definitions import base
class StandardAttrSegmentDefinitionTestCase(base.DefinitionBaseTestCase):
extension_module = standard_attr_segment
| data/neutron-lib-3.10.0/neutron_lib/tests/unit/api/definitions/test_standard_attr_segment.py | 202 | 62 | 384,999 |
LOAD_CONST 0
LOAD_CONST ('migrations',)
IMPORT_NAME django.db
IMPORT_FROM migrations
STORE_NAME migrations
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Migration at 0x7f8e2fec3f60, file "f.py", line 4>
LOAD_CONST 'Migration'
MAKE_FUNCTION
LOAD_CONST 'Migration'
LOAD_NAME migrations
LOAD_ATTR Migration
CALL_FUNCTIO... | from django.db import migrations
class Migration(migrations.Migration):
dependencies = [("migrations", "1_auto")]
operations = [migrations.RunPython(migrations.RunPython.noop)]
| data/Django-5.0.2/tests/migrations/test_migrations_squashed_erroneous/2_auto.py | 171 | 62 | 325,812 |
LOAD_CONST 0
LOAD_CONST ('migrations',)
IMPORT_NAME django.db
IMPORT_FROM migrations
STORE_NAME migrations
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Migration at 0x7f8e2fec3810, file "f.py", line 4>
LOAD_CONST 'Migration'
MAKE_FUNCTION
LOAD_CONST 'Migration'
LOAD_NAME migrations
LOAD_ATTR Migration
CALL_FUNCTIO... | from django.db import migrations
class Migration(migrations.Migration):
dependencies = [("migrations", "4_auto")]
operations = [migrations.RunPython(migrations.RunPython.noop)]
| data/Django-5.0.2/tests/migrations/test_migrations_squashed_complex/5_auto.py | 171 | 62 | 325,732 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME typing
STORE_NAME typing
LOAD_CONST 4
LOAD_CONST ('ApiError',)
IMPORT_NAME core.api_error
IMPORT_FROM ApiError
STORE_NAME ApiError
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object AccessDeniedError at 0x7f8aac1fa270, file "f.py", line 6>
LOAD_CONST 'AccessDeniedError'
MAKE_FUN... | import typing
from ....core.api_error import ApiError
class AccessDeniedError(ApiError):
def __init__(self, body: typing.Any):
super().__init__(status_code=403, body=body)
| data/langfuse-2.15.0/langfuse/api/resources/commons/errors/access_denied_error.py | 269 | 62 | 433,987 |
LOAD_CONST '\nInvokes server-admin when the server module is run as a script.\n\nExample: python -m server check\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('management',)
IMPORT_NAME server.core
IMPORT_FROM management
STORE_NAME management
POP_TOP
LOAD_NAME __name__
LOAD_CONST '__main__'
COMPARE_OP ==
POP_JUMP_IF... | """
Invokes server-admin when the server module is run as a script.
Example: python -m server check
"""
from server.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| data/os_sys-2.1.4/server/__main__.py | 101 | 62 | 247,290 |
LOAD_CONST 0
LOAD_CONST ('migrations',)
IMPORT_NAME django.db
IMPORT_FROM migrations
STORE_NAME migrations
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Migration at 0x7f8e2fec3810, file "f.py", line 4>
LOAD_CONST 'Migration'
MAKE_FUNCTION
LOAD_CONST 'Migration'
LOAD_NAME migrations
LOAD_ATTR Migration
CALL_FUNCTIO... | from django.db import migrations
class Migration(migrations.Migration):
dependencies = [("migrations", "2_auto")]
operations = [migrations.RunPython(migrations.RunPython.noop)]
| data/Django-5.0.2/tests/migrations/test_migrations_squashed_complex/3_auto.py | 171 | 62 | 325,730 |
LOAD_CONST 0
LOAD_CONST ('migrations',)
IMPORT_NAME django.db
IMPORT_FROM migrations
STORE_NAME migrations
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Migration at 0x7f8e2fec31e0, file "f.py", line 4>
LOAD_CONST 'Migration'
MAKE_FUNCTION
LOAD_CONST 'Migration'
LOAD_NAME migrations
LOAD_ATTR Migration
CALL_FUNCTIO... | from django.db import migrations
class Migration(migrations.Migration):
dependencies = [("migrations", "6_auto")]
operations = [migrations.RunPython(migrations.RunPython.noop)]
| data/Django-5.0.2/tests/migrations/test_migrations_squashed_erroneous/7_auto.py | 171 | 62 | 325,813 |
LOAD_CONST 0
LOAD_CONST ('Literal',)
IMPORT_NAME typing
IMPORT_FROM Literal
STORE_NAME Literal
POP_TOP
LOAD_CONST 0
LOAD_CONST ('BaseFeatureServerConfig',)
IMPORT_NAME feast.infra.feature_servers.base_config
IMPORT_FROM BaseFeatureServerConfig
STORE_NAME BaseFeatureServerConfig
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <co... | from typing import Literal
from feast.infra.feature_servers.base_config import BaseFeatureServerConfig
class LocalFeatureServerConfig(BaseFeatureServerConfig):
type: Literal["local"] = "local"
"""Feature server type selector."""
| data/feast-0.36.0/sdk/python/feast/infra/feature_servers/local_process/config.py | 206 | 62 | 282,001 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME typer
STORE_NAME typer
LOAD_CONST 0
LOAD_CONST ('migrate',)
IMPORT_NAME butterfree._cli
IMPORT_FROM migrate
STORE_NAME migrate
POP_TOP
LOAD_NAME typer
LOAD_METHOD Typer
CALL_METHOD
STORE_NAME app
LOAD_NAME app
LOAD_ATTR add_typer
LOAD_NAME migrate
LOAD_ATTR app
LOAD_CONST 'mi... | import typer
from butterfree._cli import migrate
app = typer.Typer()
app.add_typer(migrate.app, name="migrate")
if __name__ == "__main__":
app()
| data/butterfree-1.2.3/butterfree/_cli/main.py | 123 | 62 | 9,037 |
LOAD_CONST 0
LOAD_CONST ('migrations',)
IMPORT_NAME django.db
IMPORT_FROM migrations
STORE_NAME migrations
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Migration at 0x7f8e2fec3b70, file "f.py", line 4>
LOAD_CONST 'Migration'
MAKE_FUNCTION
LOAD_CONST 'Migration'
LOAD_NAME migrations
LOAD_ATTR Migration
CALL_FUNCTIO... | from django.db import migrations
class Migration(migrations.Migration):
dependencies = [("migrations", "3_auto")]
operations = [migrations.RunPython(migrations.RunPython.noop)]
| data/Django-5.0.2/tests/migrations/test_migrations_squashed_complex/4_auto.py | 171 | 62 | 325,729 |
LOAD_CONST 0
LOAD_CONST ('annotations',)
IMPORT_NAME __future__
IMPORT_FROM annotations
STORE_NAME annotations
POP_TOP
LOAD_CONST 0
LOAD_CONST ('warn',)
IMPORT_NAME warnings
IMPORT_FROM warn
STORE_NAME warn
POP_TOP
LOAD_NAME warn
LOAD_CONST 'Please only import from anndata, not anndata.core'
LOAD_NAME DeprecationWarn... | from __future__ import annotations
from warnings import warn
warn("Please only import from anndata, not anndata.core", DeprecationWarning)
from ._core import * # noqa: F403, E402
| data/anndata-0.10.5.post1/anndata/core.py | 102 | 62 | 104,442 |
LOAD_CONST 0
LOAD_CONST ('migrations',)
IMPORT_NAME django.db
IMPORT_FROM migrations
STORE_NAME migrations
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Migration at 0x7f8e2fec3f60, file "f.py", line 4>
LOAD_CONST 'Migration'
MAKE_FUNCTION
LOAD_CONST 'Migration'
LOAD_NAME migrations
LOAD_ATTR Migration
CALL_FUNCTIO... | from django.db import migrations
class Migration(migrations.Migration):
dependencies = [("migrations", "5_auto")]
operations = [migrations.RunPython(migrations.RunPython.noop)]
| data/Django-5.0.2/tests/migrations/test_migrations_squashed_erroneous/6_auto.py | 171 | 62 | 325,814 |
LOAD_CONST 0
LOAD_CONST ('migrations',)
IMPORT_NAME django.db
IMPORT_FROM migrations
STORE_NAME migrations
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Migration at 0x7f8e2fec3b70, file "f.py", line 4>
LOAD_CONST 'Migration'
MAKE_FUNCTION
LOAD_CONST 'Migration'
LOAD_NAME migrations
LOAD_ATTR Migration
CALL_FUNCTIO... | from django.db import migrations
class Migration(migrations.Migration):
dependencies = [("migrations", "6_auto")]
operations = [migrations.RunPython(migrations.RunPython.noop)]
| data/Django-5.0.2/tests/migrations/test_migrations_squashed_complex/7_auto.py | 171 | 62 | 325,733 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME typing
STORE_NAME typing
LOAD_CONST 4
LOAD_CONST ('ApiError',)
IMPORT_NAME core.api_error
IMPORT_FROM ApiError
STORE_NAME ApiError
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object UnauthorizedError at 0x7f8aac1fa270, file "f.py", line 6>
LOAD_CONST 'UnauthorizedError'
MAKE_FUN... | import typing
from ....core.api_error import ApiError
class UnauthorizedError(ApiError):
def __init__(self, body: typing.Any):
super().__init__(status_code=401, body=body)
| data/langfuse-2.15.0/langfuse/api/resources/commons/errors/unauthorized_error.py | 270 | 62 | 433,985 |
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 PencilKit
STORE_NAME PencilKit
LOAD_BUILD_CLASS
LOAD_CONST <code object TestCallableMetadata at 0x7faa5f2221e0, file "f.py", line 6>
LOAD_CONST 'TestCalla... | from PyObjCTools.TestSupport import TestCase
import PencilKit
class TestCallableMetadata(TestCase):
def test_callable_metadata_is_sane(self):
self.assertCallableMetadataIsSane(PencilKit)
| data/pyobjc-framework-PencilKit-10.1/PyObjCTest/test_pencilkit.py | 255 | 63 | 243,891 |
LOAD_CONST 'kubernetes'
STORE_NAME __project__
LOAD_CONST '29.0.0'
STORE_NAME __version__
LOAD_CONST 1
LOAD_CONST ('client',)
IMPORT_NAME
IMPORT_FROM client
STORE_NAME client
POP_TOP
LOAD_CONST 1
LOAD_CONST ('config',)
IMPORT_NAME
IMPORT_FROM config
STORE_NAME config
POP_TOP
LOAD_CONST 1
LOAD_CONST ('dynamic',)
IMP... | __project__ = "kubernetes"
__version__ = "29.0.0"
from . import client
from . import config
from . import dynamic
from . import watch
from . import stream
from . import utils
from . import leaderelection
| data/kubernetes-29.0.0/kubernetes/__init__.py | 188 | 63 | 25,178 |
LOAD_CONST 1
LOAD_CONST ('json_checker',)
IMPORT_NAME
IMPORT_FROM json_checker
STORE_NAME json_checker
POP_TOP
LOAD_CONST <code object validate_json_checker at 0x7fab703f0db0, file "f.py", line 4>
LOAD_CONST 'validate_json_checker'
MAKE_FUNCTION
STORE_NAME validate_json_checker
LOAD_CONST None
RETURN_VALUE
LOAD_GLOBA... | from . import json_checker
def validate_json_checker(x):
"""
Property: DecodeConfig.UnvalidatedJSON
Property: DemodulationConfig.UnvalidatedJSON
"""
return json_checker(x)
| data/troposphere-4.6.0/troposphere/validators/groundstation.py | 105 | 63 | 172,957 |
LOAD_CONST ' Django authentication backends.\n\n These package is designed to be used primarily with Open edX Django projects, but should be compatible with non-edX\n projects as well.\n'
STORE_NAME __doc__
LOAD_CONST '4.2.0'
STORE_NAME __version__
LOAD_CONST None
RETURN_VALUE | """ Django authentication backends.
These package is designed to be used primarily with Open edX Django projects, but should be compatible with non-edX
projects as well.
"""
__version__ = "4.2.0" # pragma: no cover
| data/edx-auth-backends-4.2.0/auth_backends/__init__.py | 70 | 63 | 243,721 |
LOAD_CONST 1
LOAD_CONST ('openapi', 'unique_data')
IMPORT_NAME
IMPORT_FROM openapi
STORE_NAME openapi
IMPORT_FROM unique_data
STORE_NAME unique_data
POP_TOP
LOAD_CONST None
LOAD_CONST ('return',)
BUILD_CONST_KEY_MAP
LOAD_CONST <code object install at 0x7fab823099c0, file "f.py", line 4>
LOAD_CONST 'install'
MAKE_FUNCT... | from . import openapi, unique_data
def install() -> None:
openapi.install()
unique_data.install()
def uninstall() -> None:
openapi.uninstall()
unique_data.uninstall()
| data/schemathesis-3.25.1/src/schemathesis/contrib/__init__.py | 211 | 63 | 174,983 |
LOAD_BUILD_CLASS
LOAD_CONST <code object HTTPXOAuthError at 0x7fab80068300, file "f.py", line 1>
LOAD_CONST 'HTTPXOAuthError'
MAKE_FUNCTION
LOAD_CONST 'HTTPXOAuthError'
LOAD_NAME Exception
CALL_FUNCTION
STORE_NAME HTTPXOAuthError
LOAD_BUILD_CLASS
LOAD_CONST <code object GetIdEmailError at 0x7fab800681e0, file "f.py", ... | class HTTPXOAuthError(Exception):
"""Base exception class for every httpx-oauth errors."""
pass
class GetIdEmailError(HTTPXOAuthError):
"""Error raised while retrieving user profile from provider API."""
pass
| data/httpx_oauth-0.13.2/httpx_oauth/errors.py | 250 | 63 | 132,620 |
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 MetricKit
STORE_NAME MetricKit
LOAD_BUILD_CLASS
LOAD_CONST <code object TestCallableMetadata at 0x7fabdc1d0c00, file "f.py", line 6>
LOAD_CONST 'TestCalla... | from PyObjCTools.TestSupport import TestCase
import MetricKit
class TestCallableMetadata(TestCase):
def test_callable_metadata_is_sane(self):
self.assertCallableMetadataIsSane(MetricKit)
| data/pyobjc-framework-MetricKit-10.1/PyObjCTest/test_metrickit.py | 253 | 63 | 175,696 |
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 MediaToolbox
STORE_NAME MediaToolbox
LOAD_BUILD_CLASS
LOAD_CONST <code object TestCallableMetadata at 0x7fab427a6270, file "f.py", line 6>
LOAD_CONST 'Tes... | from PyObjCTools.TestSupport import TestCase
import MediaToolbox
class TestCallableMetadata(TestCase):
def test_callable_metadata_is_sane(self):
self.assertCallableMetadataIsSane(MediaToolbox)
| data/pyobjc-framework-MediaToolbox-10.1/PyObjCTest/test_mediatoolbox.py | 255 | 63 | 347,124 |
LOAD_CONST 'A module to allow CAN over UDP on IPv4/IPv6 multicast.'
STORE_NAME __doc__
LOAD_CONST 'UdpMulticastBus'
LOAD_CONST 'bus'
LOAD_CONST 'utils'
BUILD_LIST
STORE_NAME __all__
LOAD_CONST 1
LOAD_CONST ('UdpMulticastBus',)
IMPORT_NAME bus
IMPORT_FROM UdpMulticastBus
STORE_NAME UdpMulticastBus
POP_TOP
LOAD_CONST... | """A module to allow CAN over UDP on IPv4/IPv6 multicast."""
__all__ = [
"UdpMulticastBus",
"bus",
"utils",
]
from .bus import UdpMulticastBus
| data/python-can-4.3.1/can/interfaces/udp_multicast/__init__.py | 99 | 63 | 27,884 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pytest
STORE_NAME pytest
LOAD_CONST 0
LOAD_CONST ('Dialect',)
IMPORT_NAME csvw.dsv_dialects
IMPORT_FROM Dialect
STORE_NAME Dialect
POP_TOP
LOAD_NAME pytest
LOAD_ATTR mark
LOAD_METHOD filterwarnings
LOAD_CONST 'ignore:Invalid'
CALL_METHOD
LOAD_CONST <code object test_init at 0x... | import pytest
from csvw.dsv_dialects import Dialect
@pytest.mark.filterwarnings("ignore:Invalid")
def test_init():
assert Dialect(skipRows=-3).skipRows == 0
| data/csvw-3.3.0/tests/test_dsv_dialect.py | 174 | 63 | 176,376 |
SETUP_EXCEPT to 14
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME flask_mongoengine
STORE_NAME flask_mongoengine
POP_BLOCK
JUMP_FORWARD to 42
DUP_TOP
LOAD_NAME ImportError
COMPARE_OP exception match
POP_JUMP_IF_FALSE
POP_TOP
POP_TOP
POP_TOP
LOAD_NAME Exception
LOAD_CONST 'Please install flask-mongoengine in order to use ... | try:
import flask_mongoengine
except ImportError:
raise Exception(
"Please install flask-mongoengine in order to use mongoengine backend"
)
from .view import ModelView
from .form import EmbeddedForm
| data/Flask-Admin-1.6.1/flask_admin/contrib/mongoengine/__init__.py | 158 | 63 | 249,354 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME sys
STORE_NAME sys
SETUP_EXCEPT to 26
LOAD_CONST 1
LOAD_CONST ('main',)
IMPORT_NAME py3.worker
IMPORT_FROM main
STORE_NAME main
POP_TOP
POP_BLOCK
JUMP_FORWARD to 78
DUP_TOP
LOAD_NAME SyntaxError
COMPARE_OP exception match
POP_JUMP_IF_FALSE
POP_TOP
POP_TOP
POP_TOP
LOAD_NAME p... | import sys
try:
from .py3.worker import main
except SyntaxError:
print("Worker needs to be run in Python >= 3.6")
print("You are running %s" % sys.version)
sys.exit(1)
| data/robotframework-pabot-2.18.0/src/pabot/workerwrapper.py | 151 | 63 | 399,608 |
LOAD_CONST 'docker-credential-'
STORE_NAME PROGRAM_PREFIX
LOAD_CONST 'secretservice'
STORE_NAME DEFAULT_LINUX_STORE
LOAD_CONST 'osxkeychain'
STORE_NAME DEFAULT_OSX_STORE
LOAD_CONST 'wincred'
STORE_NAME DEFAULT_WIN32_STORE
LOAD_CONST None
RETURN_VALUE | PROGRAM_PREFIX = "docker-credential-"
DEFAULT_LINUX_STORE = "secretservice"
DEFAULT_OSX_STORE = "osxkeychain"
DEFAULT_WIN32_STORE = "wincred"
| data/docker-7.0.0/docker/credentials/constants.py | 79 | 63 | 132,543 |
LOAD_CONST '\n.. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME enum
STORE_NAME enum
LOAD_NAME enum
LOAD_ATTR unique
LOAD_BUILD_CLASS
LOAD_CONST <code object PatternMatch at 0x7fab81f3bae0, file "f.py", line 8>
LOAD_CONST 'PatternMatch'
MAKE... | """
.. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
"""
import enum
@enum.unique
class PatternMatch(enum.Enum):
OR = 0
AND = 1
| data/tabledata-1.3.3/tabledata/_constant.py | 174 | 63 | 133,030 |
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 CoreAudioKit
STORE_NAME CoreAudioKit
LOAD_BUILD_CLASS
LOAD_CONST <code object TestCallableMetadata at 0x7faa5017fe40, file "f.py", line 6>
LOAD_CONST 'Tes... | from PyObjCTools.TestSupport import TestCase
import CoreAudioKit
class TestCallableMetadata(TestCase):
def test_callable_metadata_is_sane(self):
self.assertCallableMetadataIsSane(CoreAudioKit)
| data/pyobjc-framework-CoreAudioKit-10.1/PyObjCTest/test_coreaudiokit.py | 254 | 63 | 133,977 |
LOAD_CONST 'draftjs_exporter'
STORE_NAME __title__
LOAD_CONST '5.0.0'
STORE_NAME __version__
LOAD_CONST 'Springload'
STORE_NAME __author__
LOAD_CONST 'MIT'
STORE_NAME __license__
LOAD_CONST 'Copyright 2016-present Springload'
STORE_NAME __copyright__
LOAD_CONST None
RETURN_VALUE | __title__ = "draftjs_exporter"
__version__ = "5.0.0"
__author__ = "Springload"
__license__ = "MIT"
__copyright__ = "Copyright 2016-present Springload"
| data/draftjs_exporter-5.0.0/draftjs_exporter/__init__.py | 81 | 63 | 448,359 |
LOAD_CONST 0
LOAD_CONST ('ApiForput',)
IMPORT_NAME onelogin.paths.api_1_users_set_password_using_salt_user_id.put
IMPORT_FROM ApiForput
STORE_NAME ApiForput
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Api1UsersSetPasswordUsingSaltUserId at 0x7f8e2fe58660, file "f.py", line 4>
LOAD_CONST 'Api1UsersSetPasswordUsing... | from onelogin.paths.api_1_users_set_password_using_salt_user_id.put import ApiForput
class Api1UsersSetPasswordUsingSaltUserId(
ApiForput,
):
pass
| data/onelogin-3.1.6/onelogin/apis/paths/api_1_users_set_password_using_salt_user_id.py | 194 | 63 | 397,320 |
LOAD_CONST 0
LOAD_CONST ('message',)
IMPORT_NAME intercom
IMPORT_FROM message
STORE_NAME message
POP_TOP
LOAD_CONST 0
LOAD_CONST ('Save',)
IMPORT_NAME intercom.api_operations.save
IMPORT_FROM Save
STORE_NAME Save
POP_TOP
LOAD_CONST 0
LOAD_CONST ('BaseService',)
IMPORT_NAME intercom.service.base_service
IMPORT_FROM Ba... | from intercom import message
from intercom.api_operations.save import Save
from intercom.service.base_service import BaseService
class Message(BaseService, Save):
@property
def collection_class(self):
return message.Message
| data/python-intercom-3.1.0/intercom/service/message.py | 239 | 63 | 396,833 |
LOAD_CONST 1
LOAD_CONST ('BitsAndBytesConfig', 'Dtype4Bit')
IMPORT_NAME config
IMPORT_FROM BitsAndBytesConfig
STORE_NAME BitsAndBytesConfig
IMPORT_FROM Dtype4Bit
STORE_NAME Dtype4Bit
POP_TOP
LOAD_CONST 1
LOAD_CONST ('prepare_for_quantization',)
IMPORT_NAME impl
IMPORT_FROM prepare_for_quantization
STORE_NAME prepare_f... | from .config import BitsAndBytesConfig, Dtype4Bit
from .impl import prepare_for_quantization
__all__ = [
"BitsAndBytesConfig",
"Dtype4Bit",
"prepare_for_quantization",
]
| data/curated-transformers-1.3.1/curated_transformers/quantization/bnb/__init__.py | 129 | 63 | 399,381 |
LOAD_CONST 1
LOAD_CONST ('TimingMiddleware',)
IMPORT_NAME middleware
IMPORT_FROM TimingMiddleware
STORE_NAME TimingMiddleware
POP_TOP
LOAD_CONST 1
LOAD_CONST ('TimingClient', 'MetricNamer')
IMPORT_NAME interfaces
IMPORT_FROM TimingClient
STORE_NAME TimingClient
IMPORT_FROM MetricNamer
STORE_NAME MetricNamer
POP_TOP
L... | from .middleware import TimingMiddleware
from .interfaces import TimingClient, MetricNamer
__version__ = "0.1.0rc1"
__all__ = [MetricNamer, TimingClient, TimingMiddleware]
| data/timing_asgi-0.3.1/timing_asgi/__init__.py | 127 | 63 | 127,625 |
LOAD_CONST 1
LOAD_CONST ('_ZList',)
IMPORT_NAME circKepZList
IMPORT_FROM _ZList
STORE_NAME _ZList
POP_TOP
LOAD_CONST 1
LOAD_CONST ('palTrans',)
IMPORT_NAME
IMPORT_FROM palTrans
STORE_NAME palTrans
POP_TOP
LOAD_CONST 1
LOAD_CONST ('forTrans',)
IMPORT_NAME
IMPORT_FROM forTrans
STORE_NAME forTrans
POP_TOP
LOAD_CONST 1
... | from .circKepZList import _ZList
from . import palTrans
from . import forTrans
from .limBrightTrans import LimBrightTrans
from .rmcl_ohta import RmcL, RmcL_Hirano, RmcLell
| data/PyAstronomy-0.20.0/src/modelSuite/XTran/__init__.py | 196 | 63 | 250,407 |
LOAD_CONST 0
LOAD_CONST ('process_integration_aliases',)
IMPORT_NAME metaflow.extension_support.integrations
IMPORT_FROM process_integration_aliases
STORE_NAME process_integration_aliases
POP_TOP
LOAD_CONST ('ArgoEvent', '.plugins.argo.argo_events.ArgoEvent')
BUILD_LIST
STORE_NAME ALIASES_DESC
LOAD_NAME process_integ... | from metaflow.extension_support.integrations import process_integration_aliases
ALIASES_DESC = [("ArgoEvent", ".plugins.argo.argo_events.ArgoEvent")]
process_integration_aliases(globals())
| data/metaflow-2.11.3/metaflow/integrations.py | 104 | 63 | 347,737 |
SETUP_EXCEPT to 18
LOAD_CONST 0
LOAD_CONST ('django_settings',)
IMPORT_NAME django.conf
IMPORT_FROM django_settings
STORE_NAME django_settings
POP_TOP
POP_BLOCK
JUMP_FORWARD to 60
DUP_TOP
LOAD_NAME ImportError
LOAD_NAME NameError
BUILD_TUPLE
COMPARE_OP exception match
POP_JUMP_IF_FALSE
POP_TOP
STORE_NAME e
POP_TOP
SE... | try:
from django.conf import django_settings
except (ImportError, NameError) as e:
django_settings = None
STRICT = getattr(django_settings, "PDF_MINER_IS_STRICT", True)
| data/Users/chris/Projects/chris/various/pdfminer/venv/lib/python2.7/site-packages/pdfminer/settings.py | 155 | 63 | 344,059 |
LOAD_CONST '\nThe `compat` module provides support for backwards compatibility with older\nversions of django/python, and compatibility wrappers around optional packages.\n'
STORE_NAME __doc__
SETUP_EXCEPT to 22
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME defusedxml.ElementTree
IMPORT_FROM ElementTree
STORE_NAME etree
P... | """
The `compat` module provides support for backwards compatibility with older
versions of django/python, and compatibility wrappers around optional packages.
"""
try:
import defusedxml.ElementTree as etree
except ImportError:
etree = None
| data/djangorestframework-xml-2.0.0/rest_framework_xml/compat.py | 124 | 63 | 237,161 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME warnings
STORE_NAME warnings
LOAD_NAME warnings
LOAD_METHOD warn
LOAD_CONST 'This package is deprecated: please use benchling_sdk.models if using the SDK, or benchling_api_client.v2.stable.models otherwise.'
LOAD_NAME DeprecationWarning
CALL_METHOD
POP_TOP
LOAD_CONST None
RET... | import warnings
warnings.warn(
"This package is deprecated: please use benchling_sdk.models if using the SDK, "
"or benchling_api_client.v2.stable.models otherwise.",
DeprecationWarning,
)
| data/benchling_api_client-2.0.271/benchling_api_client/models/__init__.py | 76 | 63 | 70,769 |
LOAD_CONST 'Global dictionary holding configuration options.'
STORE_NAME __doc__
BUILD_MAP
STORE_NAME OPTIONS
LOAD_CONST 'add_hashes'
LOAD_CONST 'compatible_patterns'
LOAD_CONST 'forbid_post'
LOAD_CONST 'include_names'
LOAD_CONST 'upgrade_packages'
BUILD_SET
STORE_NAME LIST_OPTIONS
LOAD_CONST None
RETURN_VALUE | """Global dictionary holding configuration options."""
OPTIONS = {}
LIST_OPTIONS = {
"add_hashes",
"compatible_patterns",
"forbid_post",
"include_names",
"upgrade_packages",
}
| data/pip-compile-multi-2.6.3/pipcompilemulti/options.py | 79 | 63 | 448,373 |
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME parser
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME errors
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME url_parser
IMPORT_STAR
LOAD_NAME parser
LOAD_ATTR __all__
LOAD_NAME errors
LOAD_ATTR __all__
BINARY_ADD
LOAD_NAME url_parser
LOAD_ATTR __all__
BINARY_... | from .parser import * # NoQA
from .errors import * # NoQA
from .url_parser import * # NoQA
__all__ = parser.__all__ + errors.__all__ + url_parser.__all__ # NoQA
| data/httptools-0.6.1/httptools/parser/__init__.py | 90 | 63 | 397,833 |
LOAD_CONST 0
LOAD_CONST ('FileType',)
IMPORT_NAME astro.constants
IMPORT_FROM FileType
STORE_NAME FileTypeConstants
POP_TOP
LOAD_CONST 0
LOAD_CONST ('ExcelFileType',)
IMPORT_NAME astro.files.types
IMPORT_FROM ExcelFileType
STORE_NAME ExcelFileType
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object XLSXFileType at 0x7fa... | from astro.constants import FileType as FileTypeConstants
from astro.files.types import ExcelFileType
class XLSXFileType(ExcelFileType):
@property
def name(self):
return FileTypeConstants.XLSX
| data/astro_sdk_python-1.8.0/src/astro/files/types/xlsx.py | 239 | 63 | 28,465 |
LOAD_CONST 0
LOAD_CONST ('H2OJavaMLReadable',)
IMPORT_NAME ai.h2o.sparkling.ml.util.H2OJavaMLReadable
IMPORT_FROM H2OJavaMLReadable
STORE_NAME H2OJavaMLReadable
POP_TOP
LOAD_CONST 0
LOAD_CONST ('H2OJavaMLReader',)
IMPORT_NAME ai.h2o.sparkling.ml.util.H2OJavaMLReader
IMPORT_FROM H2OJavaMLReader
STORE_NAME H2OJavaMLRead... | from ai.h2o.sparkling.ml.util.H2OJavaMLReadable import H2OJavaMLReadable
from ai.h2o.sparkling.ml.util.H2OJavaMLReader import H2OJavaMLReader
| data/h2o_pysparkling_3.1-3.44.0.3.post1/ai/h2o/sparkling/ml/util/__init__.py | 122 | 63 | 27,230 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME CGImageUtils
STORE_NAME CGImageUtils
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME CGImageView
STORE_NAME CGImageView
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME Controller
STORE_NAME Controller
LOAD_CONST 0
LOAD_CONST ('AppHelper',)
IMPORT_NAME PyObjCTools
IMPORT_FROM AppHelper
STOR... | import CGImageUtils # noqa: F401
import CGImageView # noqa: F401
import Controller # noqa: F401
from PyObjCTools import AppHelper
AppHelper.runEventLoop()
| data/pyobjc-framework-Quartz-10.1/Examples/Core Graphics/CGRotation/main.py | 96 | 63 | 133,632 |
LOAD_CONST ' A fake script\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME fakepkg1.subpkg.module2
STORE_NAME fakepkg1
LOAD_CONST <code object main at 0x7f8af1683780, file "f.py", line 7>
LOAD_CONST 'main'
MAKE_FUNCTION
STORE_NAME main
LOAD_NAME __name__
LOAD_CONST '__main__'
COMPARE_OP ==
POP_JUMP_IF... | """ A fake script
"""
import fakepkg1.subpkg.module2 # noqa: F401
def main():
print("Fake. Script")
if __name__ == "__main__":
main()
| data/delocate-0.10.7/wheel_makers/fakepkg1/scripts/fakescript.py | 133 | 63 | 400,427 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME networkx
STORE_NAME nx
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME networkx.algorithms.approximation
IMPORT_FROM algorithms
ROT_TWO
POP_TOP
IMPORT_FROM approximation
STORE_NAME a
POP_TOP
LOAD_CONST <code object test_min_maximal_matching at 0x7fae471296f0, file "f.py", line 5>
LOA... | import networkx as nx
import networkx.algorithms.approximation as a
def test_min_maximal_matching():
G = nx.Graph()
assert len(a.min_maximal_matching(G)) == 0
| data/networkx-3.2.1/networkx/algorithms/approximation/tests/test_matching.py | 178 | 63 | 130,966 |
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 CoreMotion
STORE_NAME CoreMotion
LOAD_BUILD_CLASS
LOAD_CONST <code object TestCallableMetadata at 0x7faa8c1754b0, file "f.py", line 6>
LOAD_CONST 'TestCal... | from PyObjCTools.TestSupport import TestCase
import CoreMotion
class TestCallableMetadata(TestCase):
def test_callable_metadata_is_sane(self):
self.assertCallableMetadataIsSane(CoreMotion)
| data/pyobjc-framework-CoreMotion-10.1/PyObjCTest/test_coremotion.py | 254 | 63 | 244,113 |
LOAD_CONST ('dumps', 'dump')
STORE_NAME __all__
LOAD_CONST '1.0.0'
STORE_NAME __version__
LOAD_CONST 0
LOAD_CONST ('dump', 'dumps')
IMPORT_NAME tomli_w._writer
IMPORT_FROM dump
STORE_NAME dump
IMPORT_FROM dumps
STORE_NAME dumps
POP_TOP
LOAD_CONST None
RETURN_VALUE | __all__ = ("dumps", "dump")
__version__ = "1.0.0" # DO NOT EDIT THIS LINE MANUALLY. LET bump2version UTILITY DO IT
from tomli_w._writer import dump, dumps
| data/tomli_w-1.0.0/tomli_w/__init__.py | 72 | 63 | 286,984 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME unittest
STORE_NAME unittest
LOAD_BUILD_CLASS
LOAD_CONST <code object Test at 0x7f8e2ff254b0, file "f.py", line 4>
LOAD_CONST 'Test'
MAKE_FUNCTION
LOAD_CONST 'Test'
LOAD_NAME unittest
LOAD_ATTR TestCase
CALL_FUNCTION
STORE_NAME Test
LOAD_CONST <code object test_suite at 0x7f8e... | import unittest
class Test(unittest.TestCase):
def test(self):
self.assertEqual(1, 0)
def test_suite():
return unittest.defaultTestLoader.loadTestsFromTestCase(Test)
| data/zope.testrunner-6.3.1/src/zope/testrunner/tests/testrunner-ex/sample2/sampletests_f.py | 255 | 63 | 115,797 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME unittest
STORE_NAME unittest
LOAD_CONST 2
LOAD_CONST ('base',)
IMPORT_NAME
IMPORT_FROM base
STORE_NAME base
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Collector at 0x7fae2f37aae0, file "f.py", line 6>
LOAD_CONST 'Collector'
MAKE_FUNCTION
LOAD_CONST 'Collector'
LOAD_NAME ... | import unittest
from .. import base
class Collector(base.TDataCollector):
ordered: bool = True
class TestCase(unittest.TestCase, Collector):
def setUp(self):
self.init()
| data/anyconfig-0.14.0/tests/dicts/common.py | 320 | 63 | 390,448 |
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 Sin at 0x7fab821a1420, file "f.py", line 6>
LOAD_CONST 'Sin'
MAKE_FUNCTION
LOAD... | import numpy as np
from onnx.reference.ops._op import OpRunUnaryNum
class Sin(OpRunUnaryNum):
def _run(self, x): # type: ignore
return (np.sin(x),)
| data/onnx-1.15.0/onnx/reference/ops/op_sin.py | 210 | 63 | 111,187 |
LOAD_CONST 0
LOAD_CONST ('DMIParse',)
IMPORT_NAME dmidecode.parse
IMPORT_FROM DMIParse
STORE_NAME DMIParse
POP_TOP
LOAD_CONST 0
LOAD_CONST ('DMIDecode',)
IMPORT_NAME dmidecode.decode
IMPORT_FROM DMIDecode
STORE_NAME DMIDecode
POP_TOP
LOAD_CONST 'DMIParse'
LOAD_CONST 'DMIDecode'
BUILD_LIST
STORE_NAME __ALL__
LOAD_CONS... | from dmidecode.parse import DMIParse # noqa: F401
from dmidecode.decode import DMIDecode # noqa: F401
__ALL__ = ["DMIParse", "DMIDecode"]
| data/py_dmidecode-0.1.3/dmidecode/__init__.py | 96 | 63 | 209,493 |
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 Cos at 0x7fab821a54b0, file "f.py", line 6>
LOAD_CONST 'Cos'
MAKE_FUNCTION
LOAD... | import numpy as np
from onnx.reference.ops._op import OpRunUnaryNum
class Cos(OpRunUnaryNum):
def _run(self, x): # type: ignore
return (np.cos(x),)
| data/onnx-1.15.0/onnx/reference/ops/op_cos.py | 214 | 63 | 111,181 |
LOAD_CONST 0
LOAD_CONST ('version_str', 'xla_client', 'xla_extension')
IMPORT_NAME jax._src.lib
IMPORT_FROM version_str
STORE_NAME __version__
IMPORT_FROM xla_client
STORE_NAME xla_client
IMPORT_FROM xla_extension
STORE_NAME xla_extension
POP_TOP
LOAD_CONST 0
LOAD_CONST ('xla_bridge',)
IMPORT_NAME jax.lib
IMPORT_FROM ... | from jax._src.lib import (
version_str as __version__,
xla_client as xla_client,
xla_extension as xla_extension,
)
from jax.lib import xla_bridge as xla_bridge
| data/jax-0.4.24/jax/lib/__init__.py | 106 | 63 | 329,005 |
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME gen_efficientnet
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME mobilenetv3
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('create_model',)
IMPORT_NAME model_factory
IMPORT_FROM create_model
STORE_NAME create_model
POP_TOP
LOAD_CONST 1
LOAD_CONST ('is_exportable', 'is_scripta... | from .gen_efficientnet import *
from .mobilenetv3 import *
from .model_factory import create_model
from .config import is_exportable, is_scriptable, set_exportable, set_scriptable
from .activations import *
| data/controlnet_aux-0.0.7/src/controlnet_aux/normalbae/nets/submodules/efficientnet_repo/geffnet/__init__.py | 175 | 63 | 153,543 |
LOAD_CONST 'Constants used by the JuiceNet component.'
STORE_NAME __doc__
LOAD_CONST 'juicenet'
STORE_NAME DOMAIN
LOAD_CONST 'juicenet_api'
STORE_NAME JUICENET_API
LOAD_CONST 'juicenet_coordinator'
STORE_NAME JUICENET_COORDINATOR
LOAD_CONST None
RETURN_VALUE | """Constants used by the JuiceNet component."""
DOMAIN = "juicenet"
JUICENET_API = "juicenet_api"
JUICENET_COORDINATOR = "juicenet_coordinator"
| data/homeassistant-2024.2.2/homeassistant/components/juicenet/const.py | 80 | 63 | 298,809 |
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 Sign at 0x7fab821a1780, file "f.py", line 6>
LOAD_CONST 'Sign'
MAKE_FUNCTION
LO... | import numpy as np
from onnx.reference.ops._op import OpRunUnaryNum
class Sign(OpRunUnaryNum):
def _run(self, x): # type: ignore
return (np.sign(x),)
| data/onnx-1.15.0/onnx/reference/ops/op_sign.py | 210 | 63 | 111,137 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME os.path
STORE_NAME os
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME sys
STORE_NAME sys
LOAD_CONST False
STORE_NAME invert
SETUP_LOOP to 84
LOAD_NAME sys
LOAD_ATTR argv
LOAD_CONST 1
LOAD_CONST None
BUILD_SLICE
BINARY_SUBSCR
GET_ITER
FOR_ITER to 82
STORE_NAME path
LOAD_NAME path
LOA... | import os.path, sys
invert = False
for path in sys.argv[1:]:
if path == "--not":
invert = True
elif not os.path.exists(path) ^ invert:
sys.exit(1)
| data/numpy-1.26.4/vendored-meson/meson/test cases/common/129 build by default/checkexists.py | 141 | 63 | 363,714 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME braintree
STORE_NAME braintree
LOAD_CONST 0
LOAD_CONST ('Resource',)
IMPORT_NAME braintree.resource
IMPORT_FROM Resource
STORE_NAME Resource
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object UnknownPaymentMethod at 0x7f8e2fe411e0, file "f.py", line 5>
LOAD_CONST 'UnknownPayment... | import braintree
from braintree.resource import Resource
class UnknownPaymentMethod(Resource):
def image_url(self):
return "https://assets.braintreegateway.com/payment_method_logo/unknown.png"
| data/braintree-4.26.0/braintree/unknown_payment_method.py | 229 | 63 | 327,668 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME GameKit
STORE_NAME GameKit
LOAD_CONST 0
LOAD_CONST ('TestCase',)
IMPORT_NAME PyObjCTools.TestSupport
IMPORT_FROM TestCase
STORE_NAME TestCase
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object TestGKEventListener at 0x7faa53e6fe40, file "f.py", line 5>
LOAD_CONST 'TestGKEventLis... | import GameKit # noqa: F401
from PyObjCTools.TestSupport import TestCase
class TestGKEventListener(TestCase):
def testProtocols(self):
self.assertProtocolExists("GKChallengeListener")
| data/pyobjc-framework-GameKit-10.1/PyObjCTest/test_gkeventlistener.py | 232 | 63 | 22,905 |
LOAD_CONST 0
LOAD_CONST ('Language', 'Parser')
IMPORT_NAME tree_sitter
IMPORT_FROM Language
STORE_NAME Language
IMPORT_FROM Parser
STORE_NAME Parser
POP_TOP
LOAD_NAME Language
LOAD_METHOD build_library
LOAD_CONST './build/dbtjinja.so'
LOAD_CONST './tree-sitter-dbt-jinja'
BUILD_LIST
CALL_METHOD
POP_TOP
LOAD_CONST Non... | from tree_sitter import Language, Parser # type: ignore
Language.build_library(
"./build/dbtjinja.so",
[
"./tree-sitter-dbt-jinja",
],
)
| data/dbt_extractor-0.5.1/build.py | 84 | 63 | 386,128 |
LOAD_CONST 'Module containing transpiler calibration passes.'
STORE_NAME __doc__
LOAD_CONST 1
LOAD_CONST ('PulseGates',)
IMPORT_NAME pulse_gate
IMPORT_FROM PulseGates
STORE_NAME PulseGates
POP_TOP
LOAD_CONST 1
LOAD_CONST ('RZXCalibrationBuilder', 'RZXCalibrationBuilderNoEcho')
IMPORT_NAME rzx_builder
IMPORT_FROM RZXC... | """Module containing transpiler calibration passes."""
from .pulse_gate import PulseGates
from .rzx_builder import RZXCalibrationBuilder, RZXCalibrationBuilderNoEcho
from .rx_builder import RXCalibrationBuilder
| data/qiskit-terra-0.46.0/qiskit/transpiler/passes/calibration/__init__.py | 171 | 63 | 430,815 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME sys
STORE_NAME sys
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME os
STORE_NAME os
LOAD_NAME sys
LOAD_ATTR argv
LOAD_CONST 1
BINARY_SUBSCR
STORE_NAME dirname
LOAD_NAME os
LOAD_ATTR path
LOAD_METHOD join
LOAD_NAME dirname
LOAD_CONST 'file.txt'
CALL_METHOD
STORE_NAME fname
LOAD_NAME ... | import sys, os
dirname = sys.argv[1]
fname = os.path.join(dirname, "file.txt")
os.makedirs(dirname, exist_ok=True)
open(fname, "w").close()
| data/numpy-1.26.4/vendored-meson/meson/test cases/common/8 install/gendir.py | 126 | 63 | 363,696 |
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 Tan at 0x7fae471296f0, file "f.py", line 6>
LOAD_CONST 'Tan'
MAKE_FUNCTION
LOAD... | import numpy as np
from onnx.reference.ops._op import OpRunUnaryNum
class Tan(OpRunUnaryNum):
def _run(self, x): # type: ignore
return (np.tan(x),)
| data/onnx-1.15.0/onnx/reference/ops/op_tan.py | 214 | 63 | 111,063 |
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 PageDiagnosticsResult at 0x7fab700e40c0, file "f.py", line 4>
LOAD_CONST 'PageDiagnosticsResult'
MAKE_FUNCTION
LOAD_CONST 'PageDiagnosticsR... | from office365.runtime.client_value import ClientValue
class PageDiagnosticsResult(ClientValue):
@property
def entity_type_name(self):
return "Microsoft.SharePoint.Publishing.Diagnostics.PageDiagnosticsResult"
| data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/publishing/diagnostics/page_result.py | 221 | 63 | 189,131 |
LOAD_CONST '\nPackage contains interfaces for using existing functionality in other packages\n\nRequires Packages to be installed\n'
STORE_NAME __doc__
LOAD_CONST 1
LOAD_CONST ('IdentityInterface', 'Rename', 'Select', 'Split', 'Merge', 'AssertEqual')
IMPORT_NAME base
IMPORT_FROM IdentityInterface
STORE_NAME IdentityIn... | """
Package contains interfaces for using existing functionality in other packages
Requires Packages to be installed
"""
from .base import IdentityInterface, Rename, Select, Split, Merge, AssertEqual
from .csv import CSVReader
from .wrappers import Function
| data/nipype-1.8.6/nipype/interfaces/utility/__init__.py | 172 | 63 | 139,763 |
LOAD_CONST 0
LOAD_CONST ('Optional',)
IMPORT_NAME typing
IMPORT_FROM Optional
STORE_NAME Optional
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object SourceProcessCodeMetadata at 0x7f8aa43cb150, file "f.py", line 4>
LOAD_CONST 'SourceProcessCodeMetadata'
MAKE_FUNCTION
LOAD_CONST 'SourceProcessCodeMetadata'
LOAD_NAME obje... | from typing import Optional
class SourceProcessCodeMetadata(object):
def __init__(self, *, path: str, process_class: Optional[str] = None, **kwargs):
self.path = path
self.process_class = process_class
| data/azure-ai-ml-1.13.0/azure/ai/ml/entities/_feature_set/source_process_code_metadata.py | 239 | 63 | 426,024 |
LOAD_CONST 0
LOAD_CONST ('Entity',)
IMPORT_NAME office365.sharepoint.entity
IMPORT_FROM Entity
STORE_NAME Entity
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object DesignPackageMenuContents at 0x7fab700e41e0, file "f.py", line 4>
LOAD_CONST 'DesignPackageMenuContents'
MAKE_FUNCTION
LOAD_CONST 'DesignPackageMenuContents'... | from office365.sharepoint.entity import Entity
class DesignPackageMenuContents(Entity):
@property
def entity_type_name(self):
return "Microsoft.SharePoint.Utilities.WebTemplateExtensions.DesignPackageMenuContents"
| data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/sitedesigns/design_package_menu_contents.py | 223 | 63 | 189,155 |
LOAD_NAME str
LOAD_NAME int
LOAD_NAME float
LOAD_NAME bool
BUILD_TUPLE
STORE_NAME SUPPORTED_TYPES_IN_SCHEMA
LOAD_CONST '*task*.py'
STORE_NAME DEFAULT_TASK_SEARCH_GLOB
LOAD_CONST 'robocorp.tasks'
STORE_NAME MODULE_ENTRY_POINT
LOAD_CONST None
RETURN_VALUE | SUPPORTED_TYPES_IN_SCHEMA = (str, int, float, bool)
DEFAULT_TASK_SEARCH_GLOB = "*task*.py"
MODULE_ENTRY_POINT = "robocorp.tasks"
| data/robocorp_tasks-2.9.1/src/robocorp/tasks/_constants.py | 78 | 63 | 45,162 |
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 Neg at 0x7fab82360e40, file "f.py", line 6>
LOAD_CONST 'Neg'
MAKE_FUNCTION
LOAD... | import numpy as np
from onnx.reference.ops._op import OpRunUnaryNum
class Neg(OpRunUnaryNum):
def _run(self, x): # type: ignore
return (np.negative(x),)
| data/onnx-1.15.0/onnx/reference/ops/op_neg.py | 210 | 63 | 111,221 |
LOAD_CONST 0
LOAD_CONST ('_proxy',)
IMPORT_NAME openstack.database.v1
IMPORT_FROM _proxy
STORE_NAME _proxy
POP_TOP
LOAD_CONST 0
LOAD_CONST ('service_description',)
IMPORT_NAME openstack
IMPORT_FROM service_description
STORE_NAME service_description
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object DatabaseService at 0... | from openstack.database.v1 import _proxy
from openstack import service_description
class DatabaseService(service_description.ServiceDescription):
"""The database service."""
supported_versions = {
"1": _proxy.Proxy,
}
| data/openstacksdk-2.1.0/openstack/database/database_service.py | 191 | 63 | 284,518 |
LOAD_CONST 0
LOAD_CONST ('keypath_util',)
IMPORT_NAME benedict.dicts.keypath
IMPORT_FROM keypath_util
STORE_NAME keypath_util
POP_TOP
LOAD_CONST 0
LOAD_CONST ('KeypathDict',)
IMPORT_NAME benedict.dicts.keypath.keypath_dict
IMPORT_FROM KeypathDict
STORE_NAME KeypathDict
POP_TOP
LOAD_CONST 'KeypathDict'
LOAD_CONST 'key... | from benedict.dicts.keypath import keypath_util
from benedict.dicts.keypath.keypath_dict import KeypathDict
__all__ = ["KeypathDict", "keypath_util"]
| data/python-benedict-0.33.1/benedict/dicts/keypath/__init__.py | 122 | 63 | 211,427 |
LOAD_CONST 131072
STORE_NAME MAX_MESSAGE_SIZE
LOAD_CONST 32
STORE_NAME MESSAGE_HEADER_SIZE
LOAD_NAME MAX_MESSAGE_SIZE
LOAD_NAME MESSAGE_HEADER_SIZE
BINARY_SUBTRACT
STORE_NAME MAX_SEGMENT_SIZE
LOAD_CONST None
RETURN_VALUE | MAX_MESSAGE_SIZE = 2**17
MESSAGE_HEADER_SIZE = 32 # this will be verified on 'Message'-class creation
MAX_SEGMENT_SIZE = MAX_MESSAGE_SIZE - MESSAGE_HEADER_SIZE
| data/pyhdb-0.3.4/pyhdb/protocol/constants/general.py | 70 | 63 | 441,541 |
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_queue
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME get_queues
IMPORT_STAR
LOAD_CONST 1
L... | from .. import _utilities
import typing
from .get_queue import *
from .get_queues import *
from .queue import *
from .queue_policy import *
from .redrive_allow_policy import *
from .redrive_policy import *
| data/pulumi_aws-6.22.2/pulumi_aws/sqs/__init__.py | 156 | 63 | 227,585 |
LOAD_CONST <code object to_string at 0x7fab6415b660, file "f.py", line 1>
LOAD_CONST 'to_string'
MAKE_FUNCTION
STORE_NAME to_string
LOAD_CONST None
RETURN_VALUE
LOAD_GLOBAL isinstance
LOAD_FAST s
LOAD_GLOBAL str
CALL_FUNCTION
POP_JUMP_IF_FALSE
LOAD_FAST s
RETURN_VALUE
LOAD_GLOBAL isinstance
LOAD_FAST s
LOAD_GLOBAL b... | def to_string(s):
if isinstance(s, str):
return s
elif isinstance(s, bytes):
return s.decode("utf-8", "ignore")
else:
return s # Not a string we care about
| data/redis-5.0.1/redis/commands/search/_util.py | 124 | 63 | 152,224 |
LOAD_CONST 0
LOAD_CONST ('_proxy',)
IMPORT_NAME openstack.network.v2
IMPORT_FROM _proxy
STORE_NAME _proxy
POP_TOP
LOAD_CONST 0
LOAD_CONST ('service_description',)
IMPORT_NAME openstack
IMPORT_FROM service_description
STORE_NAME service_description
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object NetworkService at 0x7... | from openstack.network.v2 import _proxy
from openstack import service_description
class NetworkService(service_description.ServiceDescription):
"""The network service."""
supported_versions = {
"2": _proxy.Proxy,
}
| data/openstacksdk-2.1.0/openstack/network/network_service.py | 191 | 63 | 284,721 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.