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 ('absolute_import',) IMPORT_NAME __future__ IMPORT_FROM absolute_import STORE_NAME absolute_import POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object ThreadLoopException at 0x7f8e447b48a0, file "f.py", line 4> LOAD_CONST 'ThreadLoopException' MAKE_FUNCTION LOAD_CONST 'ThreadLoopException' LOAD_NA...
from __future__ import absolute_import class ThreadLoopException(Exception): """Top-level library exception.""" pass class ThreadNotStartedError(ThreadLoopException): """Raised when calling submit before ThreadLoop.start() was called.""" pass
data/threadloop-1.0.2/threadloop/exceptions.py
273
68
421,283
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 VivaHomeTitleRegion at 0x7fab700ad930, file "f.py", line 4> LOAD_CONST 'VivaHomeTitleRegion' MAKE_FUNCTION LOAD_CONST 'VivaHomeTitleRegion'...
from office365.runtime.client_value import ClientValue class VivaHomeTitleRegion(ClientValue): def __init__(self, image_url=None): """ :param str image_url: """ self.ImageUrl = image_url
data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/viva/home_title_region.py
215
68
189,145
LOAD_CONST 0 LOAD_CONST ('Path',) IMPORT_NAME pathlib IMPORT_FROM Path STORE_NAME Path POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_NAME Path LOAD_NAME __file__ CALL_FUNCTION LOAD_METHOD absolute CALL_METHOD LOAD_ATTR parents LOAD_CONST 1 BINARY_SUBSCR STORE_NAME root LOAD_NAME sys LOAD_A...
from pathlib import Path import sys root = Path(__file__).absolute().parents[1] sys.path.insert(0, str(root)) from refman.main import main if __name__ == "__main__": raise SystemExit(main())
data/numpy-1.26.4/vendored-meson/meson/docs/genrefman.py
152
68
363,622
LOAD_CONST (4, 1, 0) STORE_NAME VERSION LOAD_CONST '.' LOAD_METHOD join LOAD_NAME map LOAD_NAME str LOAD_NAME VERSION CALL_FUNCTION CALL_METHOD STORE_NAME __version__ LOAD_CONST (None,) STORE_NAME ALL LOAD_CONST 'DELETE' LOAD_CONST 'PATCH' LOAD_CONST 'POST' LOAD_CONST 'PUT' BUILD_LIST STORE_NAME UNSAFE LOAD_CONST No...
VERSION = (4, 1, 0) __version__ = ".".join(map(str, VERSION)) ALL = (None,) # Sentinel value for all HTTP methods. UNSAFE = ["DELETE", "PATCH", "POST", "PUT"]
data/django-ratelimit-4.1.0/django_ratelimit/__init__.py
89
68
287,083
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME unittest STORE_NAME unittest LOAD_CONST 1 LOAD_CONST ('ColorTest',) IMPORT_NAME click IMPORT_FROM ColorTest STORE_NAME ColorTest POP_TOP LOAD_CONST 1 LOAD_CONST ('ParityTest',) IMPORT_NAME general IMPORT_FROM ParityTest STORE_NAME ParityTest POP_TOP LOAD_CONST 1 LOAD_CONST ('...
import unittest from .click import ColorTest # noqa: F401 from .general import ParityTest # noqa: F401 from .patch import PatchTest # noqa: F401 unittest.main()
data/moreorless-0.4.0/moreorless/tests/__main__.py
116
68
399,386
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 MigrationCredential at 0x7fab700e41e0, file "f.py", line 4> LOAD_CONST 'MigrationCredential' MAKE_FUNCTION LOAD_CONST 'MigrationCredential' LOAD_NAME Entity ...
from office365.sharepoint.entity import Entity class MigrationCredential(Entity): """""" @property def entity_type_name(self): return "Microsoft.Online.SharePoint.MigrationCenter.Service.MigrationCredential"
data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/migrationcenter/service/credential.py
232
68
189,689
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME unittest STORE_NAME unittest LOAD_CONST 0 LOAD_CONST ('install_tests_in_module_dict',) IMPORT_NAME multiprocess.tests IMPORT_FROM install_tests_in_module_dict STORE_NAME install_tests_in_module_dict POP_TOP LOAD_NAME install_tests_in_module_dict LOAD_NAME globals CALL_FUNCTION...
import unittest from multiprocess.tests import install_tests_in_module_dict install_tests_in_module_dict(globals(), "spawn", exclude_types=True) if __name__ == "__main__": unittest.main()
data/multiprocess-0.70.16/py3.11/multiprocess/tests/test_multiprocessing_spawn/test_misc.py
143
68
144,867
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 SiteDesignImage at 0x7fab700e4db0, file "f.py", line 4> LOAD_CONST 'SiteDesignImage' MAKE_FUNCTION LOAD_CONST 'SiteDesignImage' LOAD_NAME C...
from office365.runtime.client_value import ClientValue class SiteDesignImage(ClientValue): """""" @property def entity_type_name(self): return "Microsoft.SharePoint.Utilities.WebTemplateExtensions.SiteDesignImage"
data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/sitedesigns/image.py
226
68
189,159
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME unittest STORE_NAME unittest LOAD_CONST 0 LOAD_CONST ('install_tests_in_module_dict',) IMPORT_NAME multiprocess.tests IMPORT_FROM install_tests_in_module_dict STORE_NAME install_tests_in_module_dict POP_TOP LOAD_NAME install_tests_in_module_dict LOAD_NAME globals CALL_FUNCTION...
import unittest from multiprocess.tests import install_tests_in_module_dict install_tests_in_module_dict(globals(), "fork", exclude_types=True) if __name__ == "__main__": unittest.main()
data/multiprocess-0.70.16/py3.11/multiprocess/tests/test_multiprocessing_fork/test_misc.py
143
68
144,872
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME unittest STORE_NAME unittest LOAD_CONST 0 LOAD_CONST ('install_tests_in_module_dict',) IMPORT_NAME multiprocess.tests IMPORT_FROM install_tests_in_module_dict STORE_NAME install_tests_in_module_dict POP_TOP LOAD_NAME install_tests_in_module_dict LOAD_NAME globals CALL_FUNCTION...
import unittest from multiprocess.tests import install_tests_in_module_dict install_tests_in_module_dict(globals(), "spawn", exclude_types=True) if __name__ == "__main__": unittest.main()
data/multiprocess-0.70.16/py3.12/multiprocess/tests/test_multiprocessing_spawn/test_misc.py
143
68
144,913
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME unittest STORE_NAME unittest LOAD_CONST 0 LOAD_CONST ('install_tests_in_module_dict',) IMPORT_NAME multiprocess.tests IMPORT_FROM install_tests_in_module_dict STORE_NAME install_tests_in_module_dict POP_TOP LOAD_NAME install_tests_in_module_dict LOAD_NAME globals CALL_FUNCTION...
import unittest from multiprocess.tests import install_tests_in_module_dict install_tests_in_module_dict(globals(), "fork", exclude_types=True) if __name__ == "__main__": unittest.main()
data/multiprocess-0.70.16/py3.12/multiprocess/tests/test_multiprocessing_fork/test_misc.py
143
68
144,918
LOAD_BUILD_CLASS LOAD_CONST <code object Bar at 0x7fab82363390, file "f.py", line 1> LOAD_CONST 'Bar' MAKE_FUNCTION LOAD_CONST 'Bar' CALL_FUNCTION STORE_NAME Bar LOAD_BUILD_CLASS LOAD_CONST <code object PublicBar at 0x7fab823639c0, file "f.py", line 7> LOAD_CONST 'PublicBar' MAKE_FUNCTION LOAD_CONST 'PublicBar' CALL_F...
class Bar: """Bar class""" pass class PublicBar: """Public Bar class""" pass def foo(): """Foo function""" pass def public_foo(): """Public Foo function""" pass
data/sphinx-7.2.6/tests/roots/test-ext-autosummary-module_all/autosummary_dummy_package_all/extra_dummy_module.py
300
68
381,261
LOAD_CONST <code object main at 0x7f8e2fec3ae0, file "f.py", line 1> LOAD_CONST 'main' MAKE_FUNCTION STORE_NAME main LOAD_CONST None RETURN_VALUE LOAD_GLOBAL print LOAD_CONST 'TBA, additional tests for Singularity containers.' CALL_FUNCTION POP_TOP LOAD_GLOBAL print LOAD_CONST 'What would you like to see? Let us know...
def main(args, options, parser): print("TBA, additional tests for Singularity containers.") print("What would you like to see? Let us know!") print("https://www.github.com/singularityhub/singularity-cli/issues")
data/spython-0.3.13/spython/client/test.py
128
68
329,262
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 MigrationProperty at 0x7fab700e4390, file "f.py", line 4> LOAD_CONST 'MigrationProperty' MAKE_FUNCTION LOAD_CONST 'MigrationProperty' LOAD_...
from office365.runtime.client_value import ClientValue class MigrationProperty(ClientValue): """""" @property def entity_type_name(self): return "Microsoft.Online.SharePoint.MigrationCenter.Service.MigrationProperty"
data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/migrationcenter/service/property.py
227
68
189,688
LOAD_CONST '"\nPluggable Django App settings for test\n' STORE_NAME __doc__ LOAD_CONST <code object plugin_settings at 0x7fab5434b300, file "f.py", line 6> LOAD_CONST 'plugin_settings' MAKE_FUNCTION STORE_NAME plugin_settings LOAD_CONST None RETURN_VALUE LOAD_CONST 'mock' LOAD_CONST 'edx' LOAD_CONST ('url', 'token') ...
"""" Pluggable Django App settings for test """ def plugin_settings(settings): """ "Injects local settings into django settings""" settings.ANALYTICS_API_CLIENT = {"url": "mock", "token": "edx"}
data/edx-bulk-grades-1.0.2/bulk_grades/settings/test.py
118
68
145,967
LOAD_CONST 0 LOAD_CONST ('OpRun',) IMPORT_NAME onnx.reference.op_run IMPORT_FROM OpRun STORE_NAME OpRun POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object OptionalGetElement at 0x7fab821a5780, file "f.py", line 4> LOAD_CONST 'OptionalGetElement' MAKE_FUNCTION LOAD_CONST 'OptionalGetElement' LOAD_NAME OpRun CALL_FUNCTION...
from onnx.reference.op_run import OpRun class OptionalGetElement(OpRun): def _run(self, x): # type: ignore if x is None: raise ValueError("The requested optional input has no value.") return (x,)
data/onnx-1.15.0/onnx/reference/ops/op_optional_get_element.py
219
68
111,108
LOAD_CONST 0 LOAD_CONST ('unique',) IMPORT_NAME enum IMPORT_FROM unique STORE_NAME unique POP_TOP LOAD_CONST 5 LOAD_CONST ('StrEnum',) IMPORT_NAME _base_enum IMPORT_FROM StrEnum STORE_NAME StrEnum POP_TOP LOAD_NAME unique LOAD_BUILD_CLASS LOAD_CONST <code object CalendarAdjustment at 0x7fab7002b420, file "f.py", line...
from enum import unique from ....._base_enum import StrEnum @unique class CalendarAdjustment(StrEnum): FALSE = "False" NULL = "None" WEEKEND = "Weekend" CALENDAR = "Calendar"
data/refinitiv-data-1.6.0/refinitiv/data/content/ipa/curves/_enums/_calendar_adjustment.py
201
68
195,667
LOAD_CONST 0 LOAD_CONST ('pape',) IMPORT_NAME openid.extensions IMPORT_FROM pape STORE_NAME pape POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME unittest STORE_NAME unittest LOAD_BUILD_CLASS LOAD_CONST <code object PapeImportTestCase at 0x7fabdc1d0c00, file "f.py", line 6> LOAD_CONST 'PapeImportTestCase' MAKE_FUNCTI...
from openid.extensions import pape import unittest class PapeImportTestCase(unittest.TestCase): def test_version(self): from openid.extensions.draft import pape5 self.assert_(pape is pape5)
data/python-openid-2.2.5/openid/test/test_pape.py
269
68
84,453
LOAD_CONST 0 LOAD_CONST ('unique',) IMPORT_NAME enum IMPORT_FROM unique STORE_NAME unique POP_TOP LOAD_CONST 5 LOAD_CONST ('StrEnum',) IMPORT_NAME _base_enum IMPORT_FROM StrEnum STORE_NAME StrEnum POP_TOP LOAD_NAME unique LOAD_BUILD_CLASS LOAD_CONST <code object ZcCurvesOutputs at 0x7fab7002b420, file "f.py", line 6>...
from enum import unique from ....._base_enum import StrEnum @unique class ZcCurvesOutputs(StrEnum): CONSTITUENTS = "Constituents" DETAILED_CURVE_POINT = "DetailedCurvePoint"
data/refinitiv-data-1.6.0/refinitiv/data/content/ipa/curves/_enums/_zc_curves_outputs.py
205
68
195,673
LOAD_CONST True STORE_NAME IS_RELEASE LOAD_CONST 1 LOAD_CONST ('tab_bar',) IMPORT_NAME TabBar IMPORT_FROM tab_bar STORE_NAME tab_bar POP_TOP LOAD_CONST 1 LOAD_CONST ('TabBarItemData',) IMPORT_NAME TabBar IMPORT_FROM TabBarItemData STORE_NAME TabBarItemData POP_TOP LOAD_CONST 1 LOAD_CONST ('bouncing_image',) IMPORT_N...
IS_RELEASE = True from .TabBar import tab_bar from .TabBar import TabBarItemData from .BouncingImage import bouncing_image from .StepperBar import stepper_bar from .CookieManager import CookieManager from .Router import Router
data/extra_streamlit_components-0.1.70/extra_streamlit_components/__init__.py
197
68
165,333
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME numpy STORE_NAME np LOAD_CONST 0 LOAD_CONST ('OpRunBinary',) IMPORT_NAME onnx.reference.ops._op IMPORT_FROM OpRunBinary STORE_NAME OpRunBinary POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object BitwiseAnd at 0x7f8e447b2c90, file "f.py", line 6> LOAD_CONST 'BitwiseAnd' MAKE_FUNCT...
import numpy as np from onnx.reference.ops._op import OpRunBinary class BitwiseAnd(OpRunBinary): def _run(self, x, y): # type: ignore return (np.bitwise_and(x, y),)
data/onnxsim-0.4.35/third_party/onnx-optimizer/third_party/onnx/onnx/reference/ops/op_bitwise_and.py
220
68
114,167
LOAD_CONST 'Contains exception class for reporting XML parsing errors.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('absolute_import',) IMPORT_NAME __future__ IMPORT_FROM absolute_import STORE_NAME absolute_import POP_TOP LOAD_CONST 0 LOAD_CONST ('division',) IMPORT_NAME __future__ IMPORT_FROM division STORE_NAME div...
"""Contains exception class for reporting XML parsing errors.""" from __future__ import absolute_import from __future__ import division from __future__ import unicode_literals class AppEngineConfigException(Exception): """Generic exception class for App Engine application configuration.""" pass
data/appengine-python-standard-1.1.6/src/google/appengine/tools/app_engine_config_exception.py
231
68
115,497
LOAD_CONST 1 LOAD_CONST ('_version',) IMPORT_NAME IMPORT_FROM _version STORE_NAME _version POP_TOP LOAD_CONST 0 LOAD_CONST ('SnowflakeCredentials',) IMPORT_NAME prefect_snowflake.credentials IMPORT_FROM SnowflakeCredentials STORE_NAME SnowflakeCredentials POP_TOP LOAD_CONST 0 LOAD_CONST ('SnowflakeConnector',) IMPORT...
from . import _version from prefect_snowflake.credentials import SnowflakeCredentials # noqa from prefect_snowflake.database import SnowflakeConnector # noqa __version__ = _version.get_versions()["version"]
data/prefect-snowflake-0.27.3/prefect_snowflake/__init__.py
139
68
187,773
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME numpy STORE_NAME np LOAD_NAME np LOAD_METHOD AxisError LOAD_CONST 'test' CALL_METHOD POP_TOP LOAD_NAME np LOAD_ATTR AxisError LOAD_CONST 1 LOAD_CONST 2 LOAD_CONST ('ndim',) CALL_FUNCTION POP_TOP LOAD_NAME np LOAD_ATTR AxisError LOAD_CONST 1 LOAD_CONST 2 LOAD_CONST 'error' LOA...
import numpy as np np.AxisError("test") np.AxisError(1, ndim=2) np.AxisError(1, ndim=2, msg_prefix="error") np.AxisError(1, ndim=2, msg_prefix=None)
data/numpy-1.26.4/numpy/typing/tests/data/pass/warnings_and_errors.py
137
68
364,465
LOAD_CONST 0 LOAD_CONST ('LinearRegression',) IMPORT_NAME pl_bolts.models.regression.linear_regression IMPORT_FROM LinearRegression STORE_NAME LinearRegression POP_TOP LOAD_CONST 0 LOAD_CONST ('LogisticRegression',) IMPORT_NAME pl_bolts.models.regression.logistic_regression IMPORT_FROM LogisticRegression STORE_NAME Lo...
from pl_bolts.models.regression.linear_regression import LinearRegression from pl_bolts.models.regression.logistic_regression import LogisticRegression __all__ = [ "LinearRegression", "LogisticRegression", ]
data/lightning-bolts-0.7.0/src/pl_bolts/models/regression/__init__.py
116
68
294,145
LOAD_CONST 0 LOAD_CONST ('Atoms',) IMPORT_NAME ase IMPORT_FROM Atoms STORE_NAME Atoms POP_TOP LOAD_CONST 0 LOAD_CONST ('write',) IMPORT_NAME ase.io IMPORT_FROM write STORE_NAME write POP_TOP LOAD_CONST <code object test_ag at 0x7fa6f5c244b0, file "f.py", line 5> LOAD_CONST 'test_ag' MAKE_FUNCTION STORE_NAME test_ag L...
from ase import Atoms from ase.io import write def test_ag(cli, testdir): write("x.json", Atoms("X")) cli.shell('ase -T gui --terminal -n "id=1" x.json')
data/ase-3.22.1/ase/test/cli/test_ag.py
168
68
45,996
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7faa5dedb780, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAME AAZCommandGroup CALL_FUNCTION STORE_NAME __CMDGroup LOAD_CONST '__CMDGroup' BUIL...
from azure.cli.core.aaz import * class __CMDGroup(AAZCommandGroup): """Manage Azure Relay Service namespaces, WCF relays, hybrid connections, and rules.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/appservice/aaz/latest/relay/__cmd_group.py
173
68
375,519
LOAD_CONST 0 LOAD_CONST ('keyword',) IMPORT_NAME robot.api.deco IMPORT_FROM keyword STORE_NAME keyword POP_TOP LOAD_CONST 1 LOAD_CONST ('ElementNotFound', 'LibraryContext', 'MultipleElementsFound', 'TimeoutException') IMPORT_NAME context IMPORT_FROM ElementNotFound STORE_NAME ElementNotFound IMPORT_FROM LibraryContext...
from robot.api.deco import keyword from .context import ( ElementNotFound, LibraryContext, MultipleElementsFound, TimeoutException, ) from .document import DocumentKeywords from .finder import FinderKeywords from .model import ModelKeywords
data/rpaframework_pdf-7.3.1/src/RPA/PDF/keywords/__init__.py
185
68
346,414
LOAD_CONST 'Errors for the Mikrotik 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 CannotConnect at 0x7fab8022ce40, file "f.py", line 6> LO...
"""Errors for the Mikrotik component.""" from homeassistant.exceptions import HomeAssistantError class CannotConnect(HomeAssistantError): """Unable to connect to the hub.""" class LoginError(HomeAssistantError): """Component got logged out."""
data/homeassistant-2024.2.2/homeassistant/components/mikrotik/errors.py
267
68
295,638
LOAD_CONST 1 LOAD_CONST ('is_cloud_environment',) IMPORT_NAME is_cloud_environment IMPORT_FROM is_cloud_environment STORE_NAME is_cloud_environment POP_TOP LOAD_CONST 1 LOAD_CONST ('SchemaInferrer',) IMPORT_NAME schema_inferrer IMPORT_FROM SchemaInferrer STORE_NAME SchemaInferrer POP_TOP LOAD_CONST 1 LOAD_CONST ('Air...
from .is_cloud_environment import is_cloud_environment from .schema_inferrer import SchemaInferrer from .traced_exception import AirbyteTracedException __all__ = ["AirbyteTracedException", "SchemaInferrer", "is_cloud_environment"]
data/airbyte-cdk-0.64.0/airbyte_cdk/utils/__init__.py
150
68
51,822
LOAD_CONST 3 LOAD_CONST ('Gmpv208TestCase',) IMPORT_NAME gmpv208 IMPORT_FROM Gmpv208TestCase STORE_NAME Gmpv208TestCase POP_TOP LOAD_CONST 1 LOAD_CONST ('GmpGetAggregatesTestMixin',) IMPORT_NAME aggregates IMPORT_FROM GmpGetAggregatesTestMixin STORE_NAME GmpGetAggregatesTestMixin POP_TOP LOAD_BUILD_CLASS LOAD_CONST <...
from ...gmpv208 import Gmpv208TestCase from .aggregates import GmpGetAggregatesTestMixin class Gmpv208GetAggregatesTestCase(GmpGetAggregatesTestMixin, Gmpv208TestCase): pass
data/python_gvm-24.1.0/tests/protocols/gmpv208/system/test_aggregates.py
237
68
371,858
LOAD_CONST 'AUTOGENERATED. DO NOT EDIT.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('deserialize_keras_object',) IMPORT_NAME tf_keras.src.saving.legacy.serialization IMPORT_FROM deserialize_keras_object STORE_NAME deserialize_keras_object POP_TOP LOAD_CONST 0 LOAD_CONST ('serialize_keras_object',) IMPORT_NAME tf_ker...
"""AUTOGENERATED. DO NOT EDIT.""" from tf_keras.src.saving.legacy.serialization import deserialize_keras_object from tf_keras.src.saving.legacy.serialization import serialize_keras_object
data/tf_keras-nightly-2.17.0.dev2024022110/tf_keras/utils/legacy/__init__.py
137
68
164,728
LOAD_BUILD_CLASS LOAD_CONST <code object ValidationException at 0x7fab640fa540, file "f.py", line 1> LOAD_CONST 'ValidationException' MAKE_FUNCTION LOAD_CONST 'ValidationException' LOAD_NAME Exception CALL_FUNCTION STORE_NAME ValidationException LOAD_BUILD_CLASS LOAD_CONST <code object ValidationsException at 0x7fab64...
class ValidationException(Exception): def __init__(self, value: str): self.value = value class ValidationsException(Exception): def __init__(self, invalid: dict, valid: dict): self.valid = valid self.invalid = invalid
data/refinitiv-data-1.6.0/refinitiv/data/delivery/_stream/_validator_exceptions.py
351
68
195,923
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME time STORE_NAME time LOAD_CONST 0 LOAD_CONST None IMPORT_NAME signal STORE_NAME signal LOAD_NAME signal LOAD_METHOD signal LOAD_NAME signal LOAD_ATTR SIGTERM LOAD_NAME signal LOAD_ATTR SIG_IGN CALL_METHOD POP_TOP LOAD_CONST 0 STORE_NAME counter SETUP_LOOP to 72 LOAD_NAME ti...
import time import signal signal.signal(signal.SIGTERM, signal.SIG_IGN) counter = 0 while 1: time.sleep(0.01) print("more spewage %s" % counter) counter += 1
data/supervisor-4.2.5/supervisor/tests/fixtures/unkillable_spew.py
134
68
190,983
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 Atanh at 0x7f8ece8a8b70, file "f.py", line 6> LOAD_CONST 'Atanh' MAKE_FUNCTION ...
import numpy as np from onnx.reference.ops._op import OpRunUnaryNum class Atanh(OpRunUnaryNum): def _run(self, x): # type: ignore return (np.arctanh(x),)
data/onnxsim-0.4.35/third_party/onnx-optimizer/third_party/onnx/onnx/reference/ops/op_atanh.py
225
68
114,183
LOAD_CONST 0 LOAD_CONST ('OpRun',) IMPORT_NAME onnx.reference.op_run IMPORT_FROM OpRun STORE_NAME OpRun POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object OptionalGetElement at 0x7f8e447b2c00, file "f.py", line 4> LOAD_CONST 'OptionalGetElement' MAKE_FUNCTION LOAD_CONST 'OptionalGetElement' LOAD_NAME OpRun CALL_FUNCTION...
from onnx.reference.op_run import OpRun class OptionalGetElement(OpRun): def _run(self, x): # type: ignore if x is None: raise ValueError("The requested optional input has no value.") return (x,)
data/onnxsim-0.4.35/third_party/onnx-optimizer/third_party/onnx/onnx/reference/ops/op_optional_get_element.py
221
68
114,190
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME numpy STORE_NAME np LOAD_CONST 0 LOAD_CONST ('OpRunBinary',) IMPORT_NAME onnx.reference.ops._op IMPORT_FROM OpRunBinary STORE_NAME OpRunBinary POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Xor at 0x7f8ece8a8f60, file "f.py", line 6> LOAD_CONST 'Xor' MAKE_FUNCTION LOAD_CONST...
import numpy as np from onnx.reference.ops._op import OpRunBinary class Xor(OpRunBinary): def _run(self, x, y): # type: ignore return (np.logical_xor(x, y),)
data/onnxsim-0.4.35/third_party/onnx-optimizer/third_party/onnx/onnx/reference/ops/op_xor.py
214
68
114,215
LOAD_CONST 1 LOAD_CONST ('LogConfig', 'Ulimit') IMPORT_NAME containers IMPORT_FROM LogConfig STORE_NAME LogConfig IMPORT_FROM Ulimit STORE_NAME Ulimit POP_TOP LOAD_CONST 1 LOAD_CONST ('ContainerSpec', 'DriverConfig', 'Mount', 'Resources', 'RestartPolicy', 'TaskTemplate', 'UpdateConfig') IMPORT_NAME services IMPORT_FRO...
from .containers import LogConfig, Ulimit from .services import ( ContainerSpec, DriverConfig, Mount, Resources, RestartPolicy, TaskTemplate, UpdateConfig, ) from .swarm import SwarmSpec, SwarmExternalCA
data/docker-py-1.10.6/docker/types/__init__.py
181
68
196,222
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME numpy STORE_NAME np LOAD_CONST 0 LOAD_CONST ('OpRun',) IMPORT_NAME onnx.reference.op_run IMPORT_FROM OpRun STORE_NAME OpRun POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Size at 0x7fab70078390, file "f.py", line 6> LOAD_CONST 'Size' MAKE_FUNCTION LOAD_CONST 'Size' LOAD_NAME...
import numpy as np from onnx.reference.op_run import OpRun class Size(OpRun): def _run(self, data): # type: ignore return (np.array(data.size, dtype=np.int64),)
data/onnxoptimizer-0.3.13/third_party/onnx/onnx/reference/ops/op_size.py
216
68
85,691
LOAD_CONST 'Errors for media source.' 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 MediaSourceError at 0x7fab80112390, file "f.py", line 6> LOAD_CONS...
"""Errors for media source.""" from homeassistant.exceptions import HomeAssistantError class MediaSourceError(HomeAssistantError): """Base class for media source errors.""" class Unresolvable(MediaSourceError): """When media ID is not resolvable."""
data/homeassistant-2024.2.2/homeassistant/components/media_source/error.py
277
68
296,558
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 '/keyword-weights/' LOAD_NAME dict LOAD_NAME str LOAD_NAME float BUILD_TUPLE BINARY_SUBSCR LOAD_CONST ('response_model',) CALL_F...
from fastapi import FastAPI app = FastAPI() @app.get("/keyword-weights/", response_model=dict[str, float]) async def read_keyword_weights(): return {"foo": 2.3, "bar": 3.4}
data/fastapi-0.109.2/docs_src/extra_models/tutorial005_py39.py
162
68
142,419
LOAD_CONST 0 LOAD_CONST ('BaseSettings',) IMPORT_NAME pydantic_settings IMPORT_FROM BaseSettings STORE_NAME BaseSettings POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Settings at 0x7fab5434b0c0, file "f.py", line 4> LOAD_CONST 'Settings' MAKE_FUNCTION LOAD_CONST 'Settings' LOAD_NAME BaseSettings CALL_FUNCTION STORE...
from pydantic_settings import BaseSettings class Settings(BaseSettings): app_name: str = "Awesome API" admin_email: str items_per_user: int = 50 class Config: env_file = ".env"
data/fastapi-0.109.2/docs_src/settings/app03_an_py39/config.py
293
68
142,424
LOAD_NAME print LOAD_CONST 1 LOAD_ATTR imag CALL_FUNCTION POP_TOP LOAD_NAME print LOAD_NAME int LOAD_ATTR __name__ CALL_FUNCTION POP_TOP LOAD_NAME print LOAD_CONST 1 LOAD_ATTR __class__ CALL_FUNCTION POP_TOP LOAD_NAME print LOAD_NAME getattr LOAD_CONST 1 LOAD_CONST 'real' CALL_FUNCTION CALL_FUNCTION POP_TOP LOAD_NA...
print((1).imag) print(int.__name__) print((1).__class__) print(getattr(1, "real")) print(getattr(1, "real", None)) print(hasattr(1, "real")) print((0.0).real)
data/Nuitka-2.0.3/tests/optimizations/Attributes.py
141
68
148,208
LOAD_CONST 0 LOAD_CONST ('BaseSettings',) IMPORT_NAME pydantic_settings IMPORT_FROM BaseSettings STORE_NAME BaseSettings POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Settings at 0x7fab5434b660, file "f.py", line 4> LOAD_CONST 'Settings' MAKE_FUNCTION LOAD_CONST 'Settings' LOAD_NAME BaseSettings CALL_FUNCTION STORE...
from pydantic_settings import BaseSettings class Settings(BaseSettings): app_name: str = "Awesome API" admin_email: str items_per_user: int = 50 class Config: env_file = ".env"
data/fastapi-0.109.2/docs_src/settings/app03/config.py
294
68
142,429
LOAD_CONST 'The module is needed to allow the following import `import modin.pandas.errors`.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME pandas.errors IMPORT_STAR LOAD_CONST 0 LOAD_CONST ('__all__',) IMPORT_NAME pandas.errors IMPORT_FROM __all__ STORE_NAME __all__ POP_TOP LOAD_CONST None RETURN_VAL...
"""The module is needed to allow the following import `import modin.pandas.errors`.""" from pandas.errors import * # noqa: F403, F401 from pandas.errors import __all__ # noqa: F401
data/modin-0.27.0/modin/pandas/errors/__init__.py
84
68
165,483
LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object SetRelation at 0x7f8a954cd8a0, file "f.py", line 4> LOAD_CONST 'SetRelation' MAKE_FUNCTION LOAD_CONST 'SetRelation' CALL_FUNCTION STORE_NAME SetRelation LOAD_C...
from __future__ import annotations class SetRelation: """ An enum of possible relationships between two sets. """ SUBSET = "subset" DISJOINT = "disjoint" OVERLAPPING = "overlapping"
data/poetry-1.7.1/src/poetry/mixology/set_relation.py
178
68
331,551
LOAD_CONST 3 LOAD_CONST ('Language',) IMPORT_NAME language IMPORT_FROM Language STORE_NAME Language POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object MultiLanguage at 0x7fab5434bae0, file "f.py", line 4> LOAD_CONST 'MultiLanguage' MAKE_FUNCTION LOAD_CONST 'MultiLanguage' LOAD_NAME Language CALL_FUNCTION STORE_NAME Mult...
from ...language import Language class MultiLanguage(Language): """Language class to be used for models that support multiple languages. This module allows models to specify their language ID as 'xx'. """ lang = "xx" __all__ = ["MultiLanguage"]
data/spacy-3.7.4/spacy/lang/xx/__init__.py
173
68
147,852
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME numpy STORE_NAME np LOAD_CONST 0 LOAD_CONST ('OpRunBinary',) IMPORT_NAME onnx.reference.ops._op IMPORT_FROM OpRunBinary STORE_NAME OpRunBinary POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object BitwiseOr at 0x7f8ece8a89c0, file "f.py", line 6> LOAD_CONST 'BitwiseOr' MAKE_FUNCTIO...
import numpy as np from onnx.reference.ops._op import OpRunBinary class BitwiseOr(OpRunBinary): def _run(self, x, y): # type: ignore return (np.bitwise_or(x, y),)
data/onnxsim-0.4.35/third_party/onnx-optimizer/third_party/onnx/onnx/reference/ops/op_bitwise_or.py
220
68
114,312
LOAD_CONST ' pygtk standalone basic test.\n\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('print_function',) IMPORT_NAME __future__ IMPORT_FROM print_function STORE_NAME print_function POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME warnings STORE_NAME warnings LOAD_NAME warnings LOAD_METHOD filterwarnings LOAD_CO...
""" pygtk standalone basic test. """ from __future__ import print_function import warnings warnings.filterwarnings("ignore", "") import gtk import pygtk pygtk.require("2.0") print("OK")
data/Nuitka-2.0.3/tests/standalone/GtkUsing.py
153
68
148,234
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 Identity at 0x7f8e2ff250c0, file "f.py", line 4> LOAD_CONST 'Identity' MAKE_FUNCTION LOAD_CONST 'Identity' LOAD_NAME OpRunUnaryNum CALL_FUNCT...
from onnx.reference.ops._op import OpRunUnaryNum class Identity(OpRunUnaryNum): def _run(self, a): # type: ignore if a is None: return (None,) return (a.copy(),)
data/onnxsim-0.4.35/third_party/onnx-optimizer/third_party/onnx/onnx/reference/ops/op_identity.py
213
68
114,303
LOAD_CONST 'Optional tests with 3rd party CommonMark parser' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST None IMPORT_NAME unittest STORE_NAME unittest SETUP_EXCEPT to 26 LOAD_CONST 0 LOAD_CONST None IMPORT_NAME docutils.parsers.recommonmark_wrapper STORE_NAME docutils POP_BLOCK JUMP_FORWARD to 70 DUP_TOP LOAD_NAME I...
"""Optional tests with 3rd party CommonMark parser""" import unittest try: import docutils.parsers.recommonmark_wrapper # noqa: F401 except ImportError as err: raise unittest.SkipTest(err)
data/docutils-0.20.1/test/test_parsers/test_recommonmark/__init__.py
153
68
83,161
LOAD_CONST 1 LOAD_CONST ('ColumnSelector',) IMPORT_NAME column_selector IMPORT_FROM ColumnSelector STORE_NAME ColumnSelector POP_TOP LOAD_CONST 1 LOAD_CONST ('ExhaustiveFeatureSelector',) IMPORT_NAME exhaustive_feature_selector IMPORT_FROM ExhaustiveFeatureSelector STORE_NAME ExhaustiveFeatureSelector POP_TOP LOAD_CO...
from .column_selector import ColumnSelector from .exhaustive_feature_selector import ExhaustiveFeatureSelector from .sequential_feature_selector import SequentialFeatureSelector __all__ = ["ColumnSelector", "SequentialFeatureSelector", "ExhaustiveFeatureSelector"]
data/mlxtend-0.23.1/mlxtend/feature_selection/__init__.py
145
68
196,382
LOAD_CONST 0 LOAD_CONST ('security_groups_port_filtering',) IMPORT_NAME neutron_lib.api.definitions IMPORT_FROM security_groups_port_filtering STORE_NAME security_groups_port_filtering POP_TOP LOAD_CONST 0 LOAD_CONST ('base',) IMPORT_NAME neutron_lib.tests.unit.api.definitions IMPORT_FROM base STORE_NAME base POP_TOP ...
from neutron_lib.api.definitions import security_groups_port_filtering from neutron_lib.tests.unit.api.definitions import base class SecurityGroupsPortFilteringDefinitionTestCase(base.DefinitionBaseTestCase): extension_module = security_groups_port_filtering
data/neutron-lib-3.10.0/neutron_lib/tests/unit/api/definitions/test_security_groups_port_filtering.py
220
68
384,965
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME numpy STORE_NAME np LOAD_CONST 0 LOAD_CONST ('OpRun',) IMPORT_NAME onnx.reference.op_run IMPORT_FROM OpRun STORE_NAME OpRun POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Size at 0x7f8ece8a8420, file "f.py", line 6> LOAD_CONST 'Size' MAKE_FUNCTION LOAD_CONST 'Size' LOAD_NAME...
import numpy as np from onnx.reference.op_run import OpRun class Size(OpRun): def _run(self, data): # type: ignore return (np.array(data.size, dtype=np.int64),)
data/onnxsim-0.4.35/third_party/onnx-optimizer/third_party/onnx/onnx/reference/ops/op_size.py
216
68
114,275
LOAD_CONST 'For a detailed explanation of CA certificates in Azure IoT Hub,\n see https://docs.microsoft.com/azure/iot-hub/iot-hub-x509ca-overview ' STORE_NAME certificate_help LOAD_CONST '[system]' STORE_NAME SYSTEM_ASSIGNED_IDENTITY LOAD_CONST None RETURN_VALUE
certificate_help = """For a detailed explanation of CA certificates in Azure IoT Hub, see https://docs.microsoft.com/azure/iot-hub/iot-hub-x509ca-overview """ SYSTEM_ASSIGNED_IDENTITY = "[system]"
data/azure-cli-2.57.0/azure/cli/command_modules/iot/_constants.py
77
68
375,167
LOAD_CONST 'Tavily Search API toolkit.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('TavilyAnswer', 'TavilySearchResults') IMPORT_NAME langchain_community.tools.tavily_search.tool IMPORT_FROM TavilyAnswer STORE_NAME TavilyAnswer IMPORT_FROM TavilySearchResults STORE_NAME TavilySearchResults POP_TOP LOAD_CONST 'Tavily...
"""Tavily Search API toolkit.""" from langchain_community.tools.tavily_search.tool import ( TavilyAnswer, TavilySearchResults, ) __all__ = ["TavilySearchResults", "TavilyAnswer"]
data/langchain_community-0.0.21/langchain_community/tools/tavily_search/__init__.py
114
68
15,412
LOAD_CONST 0 LOAD_CONST ('subnet_onboard',) IMPORT_NAME neutron_lib.api.definitions IMPORT_FROM subnet_onboard STORE_NAME subnet_onboard POP_TOP LOAD_CONST 0 LOAD_CONST ('base',) IMPORT_NAME neutron_lib.tests.unit.api.definitions IMPORT_FROM base STORE_NAME base POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Onboar...
from neutron_lib.api.definitions import subnet_onboard from neutron_lib.tests.unit.api.definitions import base class OnboardSubnetDefinitionTestCase(base.DefinitionBaseTestCase): extension_module = subnet_onboard extension_attributes = ()
data/neutron-lib-3.10.0/neutron_lib/tests/unit/api/definitions/test_subnet_onboard.py
210
68
384,890
LOAD_CONST 1 LOAD_CONST ('launch',) IMPORT_NAME _launch IMPORT_FROM launch STORE_NAME launch POP_TOP LOAD_CONST 1 LOAD_CONST ('launch_add',) IMPORT_NAME _launch_add IMPORT_FROM launch_add STORE_NAME launch_add POP_TOP LOAD_CONST 1 LOAD_CONST ('LaunchAgent',) IMPORT_NAME agent.agent IMPORT_FROM LaunchAgent STORE_NAME ...
from ._launch import launch from ._launch_add import launch_add from .agent.agent import LaunchAgent from .utils import load_wandb_config __all__ = ["LaunchAgent", "launch", "launch_add", "load_wandb_config"]
data/wandb-0.16.3/wandb/sdk/launch/__init__.py
165
68
361,206
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 app LOAD_METHOD get LOAD_CONST '/items/' CALL_METHOD LOAD_NAME Header LOAD_CONST None LOAD_CONST ('default',) ...
from fastapi import FastAPI, Header app = FastAPI() @app.get("/items/") async def read_items(x_token: list[str] | None = Header(default=None)): return {"X-Token values": x_token}
data/fastapi-0.109.2/docs_src/header_params/tutorial003_py310.py
174
68
142,698
LOAD_CONST 'IntrinsicsResolver' LOAD_CONST 'is_intrinsics' BUILD_LIST STORE_NAME __all__ LOAD_CONST 0 LOAD_CONST ('IntrinsicsResolver',) IMPORT_NAME samtranslator.intrinsics.resolver IMPORT_FROM IntrinsicsResolver STORE_NAME IntrinsicsResolver POP_TOP LOAD_CONST 0 LOAD_CONST ('is_intrinsic',) IMPORT_NAME samtranslato...
__all__ = ["IntrinsicsResolver", "is_intrinsics"] from samtranslator.intrinsics.resolver import IntrinsicsResolver from samtranslator.model.intrinsics import is_intrinsic as is_intrinsics
data/aws-sam-translator-1.85.0/samtranslator/public/intrinsics.py
121
68
217,019
LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST 0 LOAD_CONST ('Install',) IMPORT_NAME poetry.installation.operations.install IMPORT_FROM Install STORE_NAME Install POP_TOP LOAD_CONST 0 LOAD_CONST ('Uninstall',) IMPORT_NAME poetry.instal...
from __future__ import annotations from poetry.installation.operations.install import Install from poetry.installation.operations.uninstall import Uninstall from poetry.installation.operations.update import Update __all__ = ["Install", "Uninstall", "Update"]
data/poetry-1.7.1/src/poetry/installation/operations/__init__.py
149
68
331,475
LOAD_CONST '1.2.5' STORE_NAME __version__ LOAD_CONST 'background_task.apps.BackgroundTasksAppConfig' STORE_NAME default_app_config LOAD_CONST <code object background at 0x7fab6415b4b0, file "f.py", line 6> LOAD_CONST 'background' MAKE_FUNCTION STORE_NAME background LOAD_CONST None RETURN_VALUE LOAD_CONST 0 LOAD_CONS...
__version__ = "1.2.5" default_app_config = "background_task.apps.BackgroundTasksAppConfig" def background(*arg, **kw): from background_task.tasks import tasks return tasks.background(*arg, **kw)
data/django-background-tasks-1.2.5/background_task/__init__.py
130
68
152,867
LOAD_CONST 0 LOAD_CONST ('entrypoint',) IMPORT_NAME entrypoint2 IMPORT_FROM entrypoint STORE_NAME entrypoint POP_TOP LOAD_CONST '3.2' STORE_NAME __version__ LOAD_NAME entrypoint LOAD_CONST (4, False, 7) LOAD_CONST <code object f at 0x7f8e2fe14810, file "f.py", line 6> LOAD_CONST 'f' MAKE_FUNCTION CALL_FUNCTION STORE...
from entrypoint2 import entrypoint __version__ = "3.2" @entrypoint def f(one, two=4, three=False, hi=7): """description one: par1 two: par2 """ return one
data/entrypoint2-1.1/tests/example1.py
110
68
394,313
LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME __cmd_group IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME _delete IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME _list IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME _list_instance_public_ips IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME _...
from .__cmd_group import * from ._delete import * from ._list import * from ._list_instance_public_ips import * from ._list_instances import * from ._list_skus import * from ._perform_maintenance import *
data/azure-cli-2.57.0/azure/cli/command_modules/vm/aaz/profile_2019_03_01_hybrid/vmss/__init__.py
141
68
376,422
LOAD_CONST 'AUTOGENERATED. DO NOT EDIT.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('deserialize_keras_object',) IMPORT_NAME tf_keras.src.saving.legacy.serialization IMPORT_FROM deserialize_keras_object STORE_NAME deserialize_keras_object POP_TOP LOAD_CONST 0 LOAD_CONST ('serialize_keras_object',) IMPORT_NAME tf_ker...
"""AUTOGENERATED. DO NOT EDIT.""" from tf_keras.src.saving.legacy.serialization import deserialize_keras_object from tf_keras.src.saving.legacy.serialization import serialize_keras_object
data/tf_keras-nightly-2.17.0.dev2024022110/tf_keras/api/_v2/keras/utils/legacy/__init__.py
137
68
165,245
LOAD_CONST <code object facts_ifd_style at 0x7faa7c1f6d20, file "f.py", line 1> LOAD_CONST 'facts_ifd_style' MAKE_FUNCTION STORE_NAME facts_ifd_style LOAD_CONST None RETURN_VALUE LOAD_FAST facts LOAD_CONST 'personality' BINARY_SUBSCR STORE_FAST persona LOAD_FAST persona LOAD_CONST 'SWITCH' COMPARE_OP == POP_JUMP_IF_F...
def facts_ifd_style(junos, facts): persona = facts["personality"] if persona == "SWITCH": facts["ifd_style"] = "SWITCH" else: facts["ifd_style"] = "CLASSIC"
data/junos-eznc-2.7.0/lib/jnpr/junos/ofacts/ifd_style.py
146
68
209,206
LOAD_CONST 0 LOAD_CONST ('Callable', 'TypeVar') IMPORT_NAME typing IMPORT_FROM Callable STORE_NAME Callable IMPORT_FROM TypeVar STORE_NAME TypeVar POP_TOP LOAD_CONST 0 LOAD_CONST ('ParamSpec',) IMPORT_NAME typing_extensions IMPORT_FROM ParamSpec STORE_NAME ParamSpec POP_TOP LOAD_NAME ParamSpec LOAD_CONST 'T_ParamSpec...
from typing import Callable, TypeVar from typing_extensions import ParamSpec T_ParamSpec = ParamSpec("T_ParamSpec") T_Retval = TypeVar("T_Retval") Callback = Callable[T_ParamSpec, T_Retval]
data/realtime-1.0.2/realtime/types.py
137
68
362,091
LOAD_CONST '\nCustom exception used by Local Lambda execution\n' STORE_NAME __doc__ LOAD_BUILD_CLASS LOAD_CONST <code object FunctionNotFound at 0x7f8ab684b150, file "f.py", line 6> LOAD_CONST 'FunctionNotFound' MAKE_FUNCTION LOAD_CONST 'FunctionNotFound' LOAD_NAME Exception CALL_FUNCTION STORE_NAME FunctionNotFound ...
""" Custom exception used by Local Lambda execution """ class FunctionNotFound(Exception): """ Raised when the requested Lambda function is not found """ class ResourceNotFound(Exception): """ Raised when the requested resource is not found """
data/aws-sam-cli-1.109.0/samcli/local/lambdafn/exceptions.py
245
68
431,992
LOAD_CONST 0 LOAD_CONST ('ChargePoint',) IMPORT_NAME ocpp.charge_point IMPORT_FROM ChargePoint STORE_NAME cp POP_TOP LOAD_CONST 0 LOAD_CONST ('call', 'call_result') IMPORT_NAME ocpp.v20 IMPORT_FROM call STORE_NAME call IMPORT_FROM call_result STORE_NAME call_result POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Cha...
from ocpp.charge_point import ChargePoint as cp from ocpp.v20 import call, call_result class ChargePoint(cp): _call = call _call_result = call_result _ocpp_version = "2.0"
data/ocpp-0.26.0/ocpp/v20/__init__.py
203
68
131,170
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'capacity' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab802b9660, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAME AAZCommand...
from azure.cli.core.aaz import * @register_command_group( "capacity", ) class __CMDGroup(AAZCommandGroup): """Manage capacity.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/vm/aaz/latest/capacity/__cmd_group.py
178
68
376,557
LOAD_CONST 'Model tasks are ComposerModels with forward passes and logging built-in for many common deep learning tasks.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('ComposerClassifier',) IMPORT_NAME composer.models.tasks.classification IMPORT_FROM ComposerClassifier STORE_NAME ComposerClassifier POP_TOP LOAD_CONST ...
"""Model tasks are ComposerModels with forward passes and logging built-in for many common deep learning tasks.""" from composer.models.tasks.classification import ( ComposerClassifier as ComposerClassifier, ) __all__ = ["ComposerClassifier"]
data/mosaicml-0.19.1/composer/models/tasks/__init__.py
93
68
309,048
LOAD_CONST 0 LOAD_CONST ('FastAPI',) IMPORT_NAME fastapi IMPORT_FROM FastAPI STORE_NAME FastAPI POP_TOP LOAD_CONST 0 LOAD_CONST ('ORJSONResponse',) IMPORT_NAME fastapi.responses IMPORT_FROM ORJSONResponse STORE_NAME ORJSONResponse POP_TOP LOAD_NAME FastAPI LOAD_NAME ORJSONResponse LOAD_CONST ('default_response_class'...
from fastapi import FastAPI from fastapi.responses import ORJSONResponse app = FastAPI(default_response_class=ORJSONResponse) @app.get("/items/") async def read_items(): return [{"item_id": "Foo"}]
data/fastapi-0.109.2/docs_src/custom_response/tutorial010.py
172
68
142,691
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_NAME print LOAD_CONST 'This must be Python3 which no longer needs __init__.py to accept a package.' CALL_FUNCTION POP_TOP LOAD_NAME print LOAD_CONST 'The parent path is' LOAD_NAME sys LOAD_ATTR modules LOAD_CONST 'some_package.sub_package' BINARY_SUBSCR...
import sys print("This must be Python3 which no longer needs __init__.py to accept a package.") print("The parent path is", sys.modules["some_package.sub_package"].__path__) def s(): pass print(s)
data/Nuitka-2.0.3/tests/programs/package_missing_init/some_package/sub_package/some_sub_module.py
148
68
148,323
LOAD_CONST 0 LOAD_CONST ('List',) IMPORT_NAME typing IMPORT_FROM List STORE_NAME List POP_TOP LOAD_CONST 0 LOAD_CONST ('PY39PLUS', '_listLike') IMPORT_NAME entrypoint2 IMPORT_FROM PY39PLUS STORE_NAME PY39PLUS IMPORT_FROM _listLike STORE_NAME _listLike POP_TOP LOAD_CONST <code object test_listLike at 0x7f8e44712c90, f...
from typing import List from entrypoint2 import PY39PLUS, _listLike def test_listLike(): assert _listLike(List[str], str) if PY39PLUS: assert _listLike(list[str], str)
data/entrypoint2-1.1/tests/test_func.py
202
68
394,320
LOAD_CONST 1 LOAD_CONST ('Compressor', 'Decompressor') IMPORT_NAME lz4 IMPORT_FROM Compressor STORE_NAME BaseCompressor IMPORT_FROM Decompressor STORE_NAME BaseDecompressor POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Compressor at 0x7fab82131780, file "f.py", line 4> LOAD_CONST 'Compressor' MAKE_FUNCTION LOAD_CON...
from .lz4 import Compressor as BaseCompressor, Decompressor as BaseDecompressor class Compressor(BaseCompressor): mode = "high_compression" class Decompressor(BaseDecompressor): pass
data/clickhouse-driver-0.2.7/clickhouse_driver/compression/lz4hc.py
262
68
305,081
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME dpath.options STORE_NAME dpath LOAD_CONST 1 LOAD_CONST ('AbstractSource',) IMPORT_NAME abstract_source IMPORT_FROM AbstractSource STORE_NAME AbstractSource POP_TOP LOAD_CONST 1 LOAD_CONST ('BaseConfig',) IMPORT_NAME config IMPORT_FROM BaseConfig STORE_NAME BaseConfig POP_TOP ...
import dpath.options from .abstract_source import AbstractSource from .config import BaseConfig from .source import Source dpath.options.ALLOW_EMPTY_STRING_KEYS = True __all__ = ["AbstractSource", "BaseConfig", "Source"]
data/airbyte-cdk-0.64.0/airbyte_cdk/sources/__init__.py
145
68
51,845
LOAD_CONST 0 LOAD_CONST ('Path',) IMPORT_NAME pathlib IMPORT_FROM Path STORE_NAME Path POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST 0 LOAD_CONST ('iread',) IMPORT_NAME ase.io IMPORT_FROM iread STORE_NAME iread POP_TOP LOAD_CONST <code object test_iread_path at 0x7fa6f36a1420, ...
from pathlib import Path import pytest from ase.io import iread def test_iread_path(): path = Path("hello") iterator = iread(path) with pytest.raises(FileNotFoundError): next(iterator)
data/ase-3.22.1/ase/test/fio/test_iread_path.py
208
68
46,120
LOAD_CONST 0 LOAD_CONST ('absolute_import', 'division', 'print_function') IMPORT_NAME __future__ IMPORT_FROM absolute_import STORE_NAME absolute_import IMPORT_FROM division STORE_NAME division IMPORT_FROM print_function STORE_NAME print_function POP_TOP LOAD_NAME type STORE_NAME __metaclass__ LOAD_CONST 0 LOAD_CONST ...
from __future__ import absolute_import, division, print_function __metaclass__ = type from ansible_collections.community.general.plugins.modules import opkg from .helper import Helper Helper.from_module(opkg, __name__)
data/ansible-9.2.0/ansible_collections/community/general/tests/unit/plugins/modules/test_opkg.py
154
68
275,235
LOAD_CONST 0 LOAD_CONST ('ChargePoint',) IMPORT_NAME ocpp.charge_point IMPORT_FROM ChargePoint STORE_NAME cp POP_TOP LOAD_CONST 0 LOAD_CONST ('call', 'call_result') IMPORT_NAME ocpp.v16 IMPORT_FROM call STORE_NAME call IMPORT_FROM call_result STORE_NAME call_result POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Cha...
from ocpp.charge_point import ChargePoint as cp from ocpp.v16 import call, call_result class ChargePoint(cp): _call = call _call_result = call_result _ocpp_version = "1.6"
data/ocpp-0.26.0/ocpp/v16/__init__.py
203
68
131,179
LOAD_CONST 0 LOAD_CONST ('Form', 'Schema') IMPORT_NAME ninja IMPORT_FROM Form STORE_NAME Form IMPORT_FROM Schema STORE_NAME Schema POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Item at 0x7faac02bed20, file "f.py", line 4> LOAD_CONST 'Item' MAKE_FUNCTION LOAD_CONST 'Item' LOAD_NAME Schema CALL_FUNCTION STORE_NAME It...
from ninja import Form, Schema class Item(Schema): name: str description: str = None price: float quantity: int @api.post("/items") def create(request, item: Form[Item]): return item
data/django_ninja-1.1.0/docs/src/tutorial/form/code01.py
275
68
88,636
LOAD_CONST 0 LOAD_CONST ('FastAPI', 'Query') IMPORT_NAME fastapi IMPORT_FROM FastAPI STORE_NAME FastAPI IMPORT_FROM Query STORE_NAME Query POP_TOP LOAD_NAME FastAPI CALL_FUNCTION STORE_NAME app LOAD_NAME app LOAD_METHOD get LOAD_CONST '/items/' CALL_METHOD LOAD_NAME Query LOAD_CONST None LOAD_CONST ('default',) CALL...
from fastapi import FastAPI, Query app = FastAPI() @app.get("/items/") async def read_items(q: list[str] | None = Query(default=None)): query_items = {"q": q} return query_items
data/fastapi-0.109.2/docs_src/query_params_str_validations/tutorial011_py310.py
175
68
142,651
LOAD_CONST 0 LOAD_CONST ('analyze_kintervals',) IMPORT_NAME ase.geometry.dimensionality.interval_analysis IMPORT_FROM analyze_kintervals STORE_NAME analyze_dimensionality POP_TOP LOAD_CONST 0 LOAD_CONST ('isolate_components',) IMPORT_NAME ase.geometry.dimensionality.isolation IMPORT_FROM isolate_components STORE_NAME ...
from ase.geometry.dimensionality.interval_analysis import ( analyze_kintervals as analyze_dimensionality, ) from ase.geometry.dimensionality.isolation import isolate_components __all__ = ["analyze_dimensionality", "isolate_components"]
data/ase-3.22.1/ase/geometry/dimensionality/__init__.py
113
68
46,356
LOAD_CONST 0 LOAD_CONST ('FastAPI',) IMPORT_NAME fastapi IMPORT_FROM FastAPI STORE_NAME FastAPI POP_TOP LOAD_CONST 0 LOAD_CONST ('FileResponse',) IMPORT_NAME fastapi.responses IMPORT_FROM FileResponse STORE_NAME FileResponse POP_TOP LOAD_CONST 'large-video-file.mp4' STORE_NAME some_file_path LOAD_NAME FastAPI CALL_F...
from fastapi import FastAPI from fastapi.responses import FileResponse some_file_path = "large-video-file.mp4" app = FastAPI() @app.get("/") async def main(): return FileResponse(some_file_path)
data/fastapi-0.109.2/docs_src/custom_response/tutorial009.py
162
68
142,689
LOAD_CONST '1.8.11' STORE_NAME __version__ LOAD_CONST 1 LOAD_CONST ('components',) IMPORT_NAME IMPORT_FROM components STORE_NAME components POP_TOP LOAD_CONST 1 LOAD_CONST ('containers',) IMPORT_NAME IMPORT_FROM containers STORE_NAME containers POP_TOP LOAD_CONST 1 LOAD_CONST ('dsl',) IMPORT_NAME IMPORT_FROM dsl STO...
__version__ = "1.8.11" from . import components from . import containers from . import dsl from . import auth from ._client import Client from ._config import * from ._local_client import LocalClient from ._runners import *
data/kfp-2.7.0/kfp/deprecated/__init__.py
194
68
13,040
LOAD_CONST 0 LOAD_CONST ('FastAPI',) IMPORT_NAME fastapi IMPORT_FROM FastAPI STORE_NAME FastAPI POP_TOP LOAD_CONST 0 LOAD_CONST ('RedirectResponse',) IMPORT_NAME fastapi.responses IMPORT_FROM RedirectResponse STORE_NAME RedirectResponse POP_TOP LOAD_NAME FastAPI CALL_FUNCTION STORE_NAME app LOAD_NAME app LOAD_ATTR g...
from fastapi import FastAPI from fastapi.responses import RedirectResponse app = FastAPI() @app.get("/fastapi", response_class=RedirectResponse) async def redirect_fastapi(): return "https://fastapi.tiangolo.com"
data/fastapi-0.109.2/docs_src/custom_response/tutorial006b.py
171
68
142,688
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME string STORE_NAME string LOAD_NAME string LOAD_METHOD maketrans LOAD_NAME string LOAD_ATTR ascii_lowercase LOAD_NAME string LOAD_ATTR ascii_uppercase CALL_METHOD STORE_NAME _ascii_trans_table LOAD_CONST <code object ascii_upper at 0x7fab40da1660, file "f.py", line 7> LOAD_CONS...
import string _ascii_trans_table = string.maketrans(string.ascii_lowercase, string.ascii_uppercase) def ascii_upper(s): return s.translate(_ascii_trans_table)
data/PyQt5-5.15.10/pyuic/uic/port_v2/ascii_upper.py
138
69
391,794
LOAD_CONST <code object _to_int at 0x7fadb5811c00, file "f.py", line 1> LOAD_CONST '_to_int' MAKE_FUNCTION STORE_NAME _to_int LOAD_CONST '2.9.2' STORE_NAME __version__ LOAD_NAME tuple LOAD_CONST <code object <genexpr> at 0x7fab8013b030, file "f.py", line 9> LOAD_CONST '<genexpr>' MAKE_FUNCTION LOAD_NAME __version__ L...
def _to_int(s): try: return int(s) except ValueError: return s __version__ = "2.9.2" version_info = tuple(_to_int(s) for s in __version__.split("."))
data/onnxoptimizer-0.3.13/third_party/onnx/third_party/pybind11/pybind11/_version.py
230
69
86,049
LOAD_CONST 0 LOAD_CONST ('BIC',) IMPORT_NAME schwifty IMPORT_FROM BIC STORE_NAME BIC POP_TOP LOAD_CONST 0 LOAD_CONST ('registry',) IMPORT_NAME schwifty IMPORT_FROM registry STORE_NAME registry POP_TOP LOAD_CONST <code object test_validate_bics at 0x7fab8237f930, file "f.py", line 5> LOAD_CONST 'test_validate_bics' MA...
from schwifty import BIC from schwifty import registry def test_validate_bics(): for bic in (bank["bic"] for bank in registry.get("bank") if bank["bic"]): BIC(bic, allow_invalid=False)
data/schwifty-2024.1.1.post0/tests/test_registry.py
289
69
58,118
LOAD_CONST 1 LOAD_CONST ('BDist',) IMPORT_NAME bdist IMPORT_FROM BDist STORE_NAME BDist POP_TOP LOAD_CONST 1 LOAD_CONST ('Develop',) IMPORT_NAME develop IMPORT_FROM Develop STORE_NAME Develop POP_TOP LOAD_CONST 1 LOAD_CONST ('Distribution',) IMPORT_NAME distribution IMPORT_FROM Distribution STORE_NAME Distribution PO...
from .bdist import BDist from .develop import Develop from .distribution import Distribution from .index import Index from .installed import Installed from .sdist import SDist from .sdist import UnpackedSDist from .utils import get_metadata from .wheel import Wheel
data/pkginfo-1.9.6/pkginfo/__init__.py
239
69
322,338
LOAD_CONST 0 LOAD_CONST ('Memory',) IMPORT_NAME haystack.agents.memory.base IMPORT_FROM Memory STORE_NAME Memory POP_TOP LOAD_CONST 0 LOAD_CONST ('NoMemory',) IMPORT_NAME haystack.agents.memory.no_memory IMPORT_FROM NoMemory STORE_NAME NoMemory POP_TOP LOAD_CONST 0 LOAD_CONST ('ConversationMemory',) IMPORT_NAME hayst...
from haystack.agents.memory.base import Memory from haystack.agents.memory.no_memory import NoMemory from haystack.agents.memory.conversation_memory import ConversationMemory from haystack.agents.memory.conversation_summary_memory import ConversationSummaryMemory
data/farm_haystack-1.24.1/haystack/agents/memory/__init__.py
152
69
367,155
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME textwrap STORE_NAME textwrap LOAD_CONST 0 LOAD_CONST None IMPORT_NAME github3 STORE_NAME github3 LOAD_NAME github3 LOAD_METHOD issue LOAD_CONST 'kennethreitz' LOAD_CONST 'requests' LOAD_CONST 868 CALL_METHOD STORE_NAME i SETUP_LOOP to 66 LOAD_NAME textwrap LOAD_ATTR wrap LOAD...
import textwrap import github3 i = github3.issue("kennethreitz", "requests", 868) for line in textwrap.wrap(i.body_text, 78, replace_whitespace=False): print(line)
data/github3.py-4.0.1/docs/source/examples/source/wrap_text.py
141
69
292,042
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'servicebus namespace' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab70055f60, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAM...
from azure.cli.core.aaz import * @register_command_group( "servicebus namespace", ) class __CMDGroup(AAZCommandGroup): """servicebus namespace""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/servicebus/aaz/latest/servicebus/namespace/__cmd_group.py
179
69
375,793
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME networkx.utils.misc IMPORT_STAR LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME networkx.utils.decorators IMPORT_STAR LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME networkx.utils.random_sequence IMPORT_STAR LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME networkx.utils.union_find IMPORT...
from networkx.utils.misc import * from networkx.utils.decorators import * from networkx.utils.random_sequence import * from networkx.utils.union_find import * from networkx.utils.rcm import * from networkx.utils.heaps import *
data/networkx-3.2.1/networkx/utils/__init__.py
138
69
130,556
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'servicebus queue' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab821975d0, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAME AA...
from azure.cli.core.aaz import * @register_command_group( "servicebus queue", ) class __CMDGroup(AAZCommandGroup): """servicebus queue""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/servicebus/aaz/latest/servicebus/queue/__cmd_group.py
179
69
375,741
LOAD_CONST 0 LOAD_CONST ('dataclass',) IMPORT_NAME dataclasses IMPORT_FROM dataclass STORE_NAME dataclass POP_TOP LOAD_NAME dataclass LOAD_BUILD_CLASS LOAD_CONST <code object DefaultFormats at 0x7faa5f1b6d20, file "f.py", line 4> LOAD_CONST 'DefaultFormats' MAKE_FUNCTION LOAD_CONST 'DefaultFormats' CALL_FUNCTION CALL_...
from dataclasses import dataclass @dataclass class DefaultFormats: mismatched_rows = ["red"] matched_rows = ["blue"] mismatched_cells = ["red", "underline"] matched_cells = ["blue"]
data/chispa-0.10.0/chispa/default_formats.py
194
69
243,633
LOAD_CONST 0 LOAD_CONST ('MutableSequence', 'Sequence', 'Tuple', 'Union') IMPORT_NAME typing IMPORT_FROM MutableSequence STORE_NAME MutableSequence IMPORT_FROM Sequence STORE_NAME Sequence IMPORT_FROM Tuple STORE_NAME Tuple IMPORT_FROM Union STORE_NAME Union POP_TOP LOAD_NAME Union LOAD_NAME int LOAD_NAME float BUILD_...
from typing import MutableSequence, Sequence, Tuple, Union Number = Union[int, float] ImageSequence = Sequence[Number] MutableImageSequence = MutableSequence[Number] RGBTuple = Union[Tuple[Number, Number, Number], Sequence[Number]]
data/pixelmatch-0.3.0/pixelmatch/types.py
151
69
68,808
LOAD_CONST False STORE_NAME __test__ LOAD_NAME __name__ LOAD_CONST '__main__' COMPARE_OP == POP_JUMP_IF_FALSE LOAD_CONST 0 LOAD_CONST ('tpool',) IMPORT_NAME eventlet IMPORT_FROM tpool STORE_NAME tpool POP_TOP LOAD_CONST <code object do at 0x7fab41668e40, file "f.py", line 6> LOAD_CONST 'do' MAKE_FUNCTION STORE_NAME ...
__test__ = False if __name__ == "__main__": from eventlet import tpool def do(): print("should not get here") try: tpool.execute(do) except AssertionError: print("pass")
data/eventlet-0.35.1/tests/isolated/env_tpool_negative.py
194
69
361,874
LOAD_CONST 0 LOAD_CONST ('ExtendedEnum',) IMPORT_NAME dbt_semantic_interfaces.enum_extension IMPORT_FROM ExtendedEnum STORE_NAME ExtendedEnum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object ConversionCalculationType at 0x7fab82097a50, file "f.py", line 4> LOAD_CONST 'ConversionCalculationType' MAKE_FUNCTION LOAD_CONS...
from dbt_semantic_interfaces.enum_extension import ExtendedEnum class ConversionCalculationType(ExtendedEnum): """Types of calculations for a conversion metric.""" CONVERSIONS = "conversions" CONVERSION_RATE = "conversion_rate"
data/dbt_semantic_interfaces-0.4.3/dbt_semantic_interfaces/type_enums/conversion_calculation_type.py
192
69
105,185
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'account' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab82197f60, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAME AAZCommandG...
from azure.cli.core.aaz import * @register_command_group( "account", ) class __CMDGroup(AAZCommandGroup): """Manage Azure subscription information.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/resource/aaz/profile_2019_03_01_hybrid/account/__cmd_group.py
179
69
375,432
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object OnenotePatchActionType at 0x7fab70027420, file "f.py", line 4> LOAD_CONST 'OnenotePatchActionType' MAKE_FUNCTION LOAD_CONST 'OnenotePatchActionType' LOAD_NAME str LOAD_NAME Enum CALL_FUN...
from enum import Enum class OnenotePatchActionType(str, Enum): Replace = ("Replace",) Append = ("Append",) Delete = ("Delete",) Insert = ("Insert",) Prepend = ("Prepend",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/onenote_patch_action_type.py
199
69
259,973