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_BUILD_CLASS LOAD_CONST <code object ColumnTypes at 0x7fab640fa5d0, file "f.py", line 1> LOAD_CONST 'ColumnTypes' MAKE_FUNCTION LOAD_CONST 'ColumnTypes' CALL_FUNCTION STORE_NAME ColumnTypes LOAD_CONST None RETURN_VALUE LOAD_NAME __name__ STORE_NAME __module__ LOAD_CONST 'ColumnTypes' STORE_NAME __qualname__ LOAD_...
class ColumnTypes: text = "text" """Single line text.""" note = "note" """Multiline text.""" choice = "choice" """Choice column""" multichoice = "multichoice" """Multichoice column."""
data/Office365-REST-Python-Client-2.5.5/office365/onedrive/columns/types.py
128
71
188,564
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_CONST 0 LOAD_CONST None IMPORT_NAME register STORE_NAME register LOAD_CONST 0 LOAD_CONST None IMPORT_NAME rlcompleter2 STORE_NAME rlcompleter2 LOAD_NAME rlcompleter2 LOAD_METHOD setup CALL_METHOD POP_TOP SETUP_EXCEPT to 48 LOAD_NAME sys LOAD_ATTR arg...
import sys import register import rlcompleter2 rlcompleter2.setup() try: hostport = sys.argv[1] except BaseException: hostport = ":8888" gw = register.ServerGateway(hostport)
data/execnet-2.0.2/src/execnet/script/xx.py
164
71
244,183
LOAD_CONST 'Module contains typing aliases.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('Any', 'Dict', 'List', 'Optional', 'Tuple', 'Union') IMPORT_NAME typing IMPORT_FROM Any STORE_NAME Any IMPORT_FROM Dict STORE_NAME Dict IMPORT_FROM List STORE_NAME List IMPORT_FROM Optional STORE_NAME Optional IMPORT_FROM Tuple ST...
"""Module contains typing aliases.""" from typing import Any, Dict, List, Optional, Tuple, Union SCORE_INDICES = Tuple[float, Optional[List[int]]] HAYSTACKS = List[Union[str, Dict[str, Any]]]
data/pfzy-0.3.4/pfzy/types.py
163
71
398,158
LOAD_CONST 0 LOAD_CONST ('NamedTuple',) IMPORT_NAME typing IMPORT_FROM NamedTuple STORE_NAME NamedTuple POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Instruction at 0x7fab541051e0, file "f.py", line 4> LOAD_CONST 'Instruction' MAKE_FUNCTION LOAD_CONST 'Instruction' LOAD_NAME NamedTuple CALL_FUNCTION STORE_NAME Inst...
from typing import NamedTuple class Instruction(NamedTuple): i_in1: int i_in2: int i_out: int connection_mode: str has_weight: bool path_weight: float path_shape: tuple
data/e3nn-0.5.1/e3nn/o3/_tensor_product/_instruction.py
261
71
187,954
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME dash STORE_NAME dash LOAD_CONST 0 LOAD_CONST ('html', 'dcc', 'Input', 'Output', 'State') IMPORT_NAME dash IMPORT_FROM html STORE_NAME html IMPORT_FROM dcc STORE_NAME dcc IMPORT_FROM Input STORE_NAME Input IMPORT_FROM Output STORE_NAME Output IMPORT_FROM State STORE_NAME State P...
import dash from dash import html, dcc, Input, Output, State from dash.exceptions import PreventUpdate import dash_bootstrap_components as dbc from .dashboard_components import * from .dashboards import ExplainerTabsLayout, ExplainerPageLayout from . import to_html
data/explainerdashboard-0.4.5/explainerdashboard/custom.py
226
71
287,435
LOAD_CONST 0 LOAD_CONST ('dedent',) IMPORT_NAME textwrap IMPORT_FROM dedent STORE_NAME dedent POP_TOP LOAD_CONST -1 STORE_NAME HEADER_ROW LOAD_NAME dedent LOAD_CONST " dependency packages for {0} not found.\n you can install the dependencies with 'pip install pytablewriter[{0}]'\n " CALL_FUNCTION STORE_NAME import_e...
from textwrap import dedent HEADER_ROW = -1 import_error_msg_template = dedent( """\ dependency packages for {0} not found. you can install the dependencies with 'pip install pytablewriter[{0}]' """ )
data/pytablewriter-1.2.0/pytablewriter/writer/_common.py
91
71
156,162
LOAD_CONST 'AUTOGENERATED. DO NOT EDIT.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('Xception',) IMPORT_NAME tf_keras.src.applications.xception IMPORT_FROM Xception STORE_NAME Xception POP_TOP LOAD_CONST 0 LOAD_CONST ('decode_predictions',) IMPORT_NAME tf_keras.src.applications.xception IMPORT_FROM decode_prediction...
"""AUTOGENERATED. DO NOT EDIT.""" from tf_keras.src.applications.xception import Xception from tf_keras.src.applications.xception import decode_predictions from tf_keras.src.applications.xception import preprocess_input
data/tf_keras-2.15.0/tf_keras/api/_v2/keras/applications/xception/__init__.py
146
71
354,110
LOAD_CONST 0 LOAD_CONST ('rfc1905',) IMPORT_NAME pysnmp.proto IMPORT_FROM rfc1905 STORE_NAME rfc1905 POP_TOP LOAD_NAME rfc1905 LOAD_ATTR noSuchObject STORE_NAME noSuchObject LOAD_NAME rfc1905 LOAD_ATTR noSuchInstance STORE_NAME noSuchInstance LOAD_NAME rfc1905 LOAD_ATTR endOfMibView DUP_TOP STORE_NAME endOfMibView S...
from pysnmp.proto import rfc1905 noSuchObject = rfc1905.noSuchObject noSuchInstance = rfc1905.noSuchInstance endOfMibView = endOfMib = rfc1905.endOfMibView
data/pysnmp-4.4.12/pysnmp/smi/exval.py
115
71
222,258
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME typer STORE_NAME typer LOAD_NAME typer LOAD_ATTR Typer LOAD_CONST False LOAD_CONST ('pretty_exceptions_short',) CALL_FUNCTION STORE_NAME app LOAD_NAME app LOAD_METHOD command CALL_METHOD LOAD_CONST ('morty',) LOAD_NAME str LOAD_CONST ('name',) BUILD_CONST_KEY_MAP LOAD_CONST <...
import typer app = typer.Typer(pretty_exceptions_short=False) @app.command() def main(name: str = "morty"): print(name + 3) if __name__ == "__main__": app()
data/typer-0.9.0/docs_src/exceptions/tutorial003.py
169
71
224,521
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("/", response_class=FileResponse) async def main(): return some_file_path
data/fastapi-0.109.2/docs_src/custom_response/tutorial009b.py
168
71
142,684
LOAD_CONST 0 LOAD_CONST ('dataclass',) IMPORT_NAME dataclasses IMPORT_FROM dataclass STORE_NAME dataclass POP_TOP LOAD_CONST 0 LOAD_CONST ('AI21BaseModelMixin',) IMPORT_NAME ai21.models.ai21_base_model_mixin IMPORT_FROM AI21BaseModelMixin STORE_NAME AI21BaseModelMixin POP_TOP LOAD_NAME dataclass LOAD_BUILD_CLASS LOAD...
from dataclasses import dataclass from ai21.models.ai21_base_model_mixin import AI21BaseModelMixin @dataclass class SummarizeResponse(AI21BaseModelMixin): id: str summary: str
data/ai21-2.0.4/ai21/models/responses/summarize_response.py
238
71
370,685
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_CONST <code object test_vcr_import_deprecation at 0x7fab82343420, file "f.py", line 4> LOAD_CONST 'test_vcr_import_deprecation' MAKE_FUNCTION STORE_NAME test_vcr_import_deprecation LOAD_CONST None RETURN_VALUE LOAD_CONST 'vcr' LOAD_GLOBAL sys LOAD_ATTR ...
import sys def test_vcr_import_deprecation(recwarn): if "vcr" in sys.modules: del sys.modules["vcr"] import vcr # noqa: F401 assert len(recwarn) == 0
data/vcrpy-6.0.1/tests/unit/test_vcr_import.py
168
71
205,486
LOAD_CONST '1.0.3' STORE_NAME __version__ LOAD_CONST 'ApplicationMaster' LOAD_CONST 'HistoryServer' LOAD_CONST 'NodeManager' LOAD_CONST 'ResourceManager' BUILD_LIST STORE_NAME __all__ LOAD_CONST 1 LOAD_CONST ('ApplicationMaster',) IMPORT_NAME application_master IMPORT_FROM ApplicationMaster STORE_NAME ApplicationMast...
__version__ = "1.0.3" __all__ = ["ApplicationMaster", "HistoryServer", "NodeManager", "ResourceManager"] from .application_master import ApplicationMaster from .history_server import HistoryServer from .node_manager import NodeManager from .resource_manager import ResourceManager
data/yarn-api-client-1.0.3/yarn_api_client/__init__.py
159
71
340,465
LOAD_CONST '\nGCP provides a set of services for Google Cloud Platform provider.\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('Node',) IMPORT_NAME diagrams IMPORT_FROM Node STORE_NAME Node POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object _GCP at 0x7fab70246db0, file "f.py", line 8> LOAD_CONST '_GCP' MAKE_FUNCTION L...
""" GCP provides a set of services for Google Cloud Platform provider. """ from diagrams import Node class _GCP(Node): _provider = "gcp" _icon_dir = "resources/gcp" fontcolor = "#2d3436"
data/diagrams-0.23.4/diagrams/gcp/__init__.py
180
71
205,904
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME numpy STORE_NAME np LOAD_CONST 0 LOAD_CONST ('OpRunBinaryComparison',) IMPORT_NAME onnx.reference.ops._op IMPORT_FROM OpRunBinaryComparison STORE_NAME OpRunBinaryComparison POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object GreaterOrEqual at 0x7fab821a5030, file "f.py", line 6> ...
import numpy as np from onnx.reference.ops._op import OpRunBinaryComparison class GreaterOrEqual(OpRunBinaryComparison): def _run(self, a, b): # type: ignore return (np.greater_equal(a, b),)
data/onnx-1.15.0/onnx/reference/ops/op_greater_or_equal.py
229
71
111,237
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST 0 LOAD_CONST None IMPORT_NAME kernels STORE_NAME kernels LOAD_NAME pytest LOAD_ATTR mark LOAD_ATTR skip LOAD_CONST 'Unable to generate any tests for kernel' LOAD_CONST ('reason',) CALL_FUNCTION LOAD_CONST <code object test_pyawkward_Index_no...
import pytest import kernels @pytest.mark.skip(reason="Unable to generate any tests for kernel") def test_pyawkward_Index_nones_as_index_64_1(): raise NotImplementedError("Unable to generate any tests for kernel")
data/awkward-cpp-29/tests-spec/test_pyawkward_Index_nones_as_index_64.py
190
71
220,695
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME gevent STORE_NAME gevent LOAD_CONST 0 LOAD_CONST ('testing',) IMPORT_NAME gevent IMPORT_FROM testing STORE_NAME greentest POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Test at 0x7faac000c780, file "f.py", line 6> LOAD_CONST 'Test' MAKE_FUNCTION LOAD_CONST 'Test' LOAD_NAME g...
import gevent from gevent import testing as greentest class Test(greentest.TestCase): def test(self): gevent.sleep() gevent.idle() if __name__ == "__main__": greentest.main()
data/gevent-24.2.1/src/gevent/tests/test__issue639.py
237
71
447,905
LOAD_CONST 1 LOAD_CONST ('Inline',) IMPORT_NAME Link IMPORT_FROM Inline STORE_NAME Inline POP_TOP LOAD_CONST 1 LOAD_CONST ('TextUtils',) IMPORT_NAME TextUtils IMPORT_FROM TextUtils STORE_NAME TextUtils POP_TOP LOAD_CONST 1 LOAD_CONST ('Html', 'SizeBadFormat') IMPORT_NAME Html IMPORT_FROM Html STORE_NAME Html IMPORT_F...
from .Link import Inline from .TextUtils import TextUtils from .Html import Html, SizeBadFormat from .MDList import MDList from .MDList import MDCheckbox from mdutils.tools import Header, Table, TableOfContents, Link, Html, MDList, MDCheckbox
data/mdutils-1.6.0/mdutils/tools/__init__.py
246
71
398,742
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME socket STORE_NAME socket LOAD_CONST <code object get_open_port at 0x7fab41cb4b70, file "f.py", line 4> LOAD_CONST 'get_open_port' MAKE_FUNCTION STORE_NAME get_open_port LOAD_CONST None RETURN_VALUE LOAD_GLOBAL socket LOAD_METHOD socket CALL_METHOD STORE_FAST s LOAD_FAST s LOA...
import socket def get_open_port(): s = socket.socket() s.bind(("", 0)) # Bind to a free port provided by the host. retval = s.getsockname()[1] s.close() return retval
data/spyne-2.14.0/spyne/test/interop/server/__init__.py
141
71
223,765
LOAD_CONST 0 LOAD_CONST ('DataFrame', 'Series') IMPORT_NAME pandas IMPORT_FROM DataFrame STORE_NAME DataFrame IMPORT_FROM Series STORE_NAME Series POP_TOP LOAD_CONST 0 LOAD_CONST ('List', 'Union', 'Any') IMPORT_NAME typing IMPORT_FROM List STORE_NAME List IMPORT_FROM Union STORE_NAME Union IMPORT_FROM Any STORE_NAME A...
from pandas import DataFrame, Series from typing import List, Union, Any from numpy.typing import NDArray Number = Union[int, float] OneDimArray = Union[List[Number], NDArray, Series] TwoDimArray = Union[NDArray, DataFrame]
data/dython-0.7.5/dython/typing.py
177
71
91,274
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 Exp at 0x7fab821a15d0, file "f.py", line 6> LOAD_CONST 'Exp' MAKE_FUNCTION LOAD...
import numpy as np from onnx.reference.ops._op import OpRunUnaryNum class Exp(OpRunUnaryNum): def _run(self, x): # type: ignore return (np.exp(x).astype(x.dtype),)
data/onnx-1.15.0/onnx/reference/ops/op_exp.py
223
71
111,217
LOAD_BUILD_CLASS LOAD_CONST <code object SanicMeta at 0x7fab81f0bc00, file "f.py", line 1> LOAD_CONST 'SanicMeta' MAKE_FUNCTION LOAD_CONST 'SanicMeta' LOAD_NAME type CALL_FUNCTION STORE_NAME SanicMeta LOAD_CONST None RETURN_VALUE LOAD_NAME __name__ STORE_NAME __module__ LOAD_CONST 'SanicMeta' STORE_NAME __qualname__ ...
class SanicMeta(type): @classmethod def __prepare__(metaclass, name, bases, **kwds): cls = super().__prepare__(metaclass, name, bases, **kwds) cls["__slots__"] = () return cls
data/sanic-23.12.1/sanic/base/meta.py
230
71
186,705
LOAD_CONST 1 LOAD_CONST ('BaseClientParser',) IMPORT_NAME IMPORT_FROM BaseClientParser STORE_NAME BaseClientParser POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Library at 0x7f8af04b8390, file "f.py", line 4> LOAD_CONST 'Library' MAKE_FUNCTION LOAD_CONST 'Library' LOAD_NAME BaseClientParser CALL_FUNCTION STORE_NAME...
from . import BaseClientParser class Library(BaseClientParser): fixture_files = [ "local/client/libraries.yml", "upstream/client/libraries.yml", ] __all__ = [ "Library", ]
data/device_detector-5.0.1/device_detector/parser/client/library.py
165
71
336,759
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os STORE_NAME os LOAD_BUILD_CLASS LOAD_CONST <code object Settings at 0x7fab4107c6f0, file "f.py", line 4> LOAD_CONST 'Settings' MAKE_FUNCTION LOAD_CONST 'Settings' CALL_FUNCTION STORE_NAME Settings LOAD_NAME Settings CALL_FUNCTION STORE_NAME settings LOAD_CONST None RETURN_VA...
import os class Settings: def __init__(self): this_dir = os.path.dirname(os.path.realpath(__file__)) self.templates_dir = os.path.join(this_dir, "templates") settings = Settings()
data/mkdocs_jupyter-0.24.6/src/mkdocs_jupyter/config.py
227
71
144,384
LOAD_CONST 0 LOAD_CONST ('setup',) IMPORT_NAME setuptools IMPORT_FROM setup STORE_NAME setup POP_TOP LOAD_NAME setup LOAD_CONST 'flake8-assertive' LOAD_CONST 'flake8>=3.0.0' BUILD_LIST LOAD_CONST 'flake8>=3.0.0' BUILD_LIST LOAD_CONST 'tests' LOAD_CONST ('name', 'install_requires', 'tests_require', 'test_suite') CA...
from setuptools import setup setup( name="flake8-assertive", install_requires=["flake8>=3.0.0"], tests_require=["flake8>=3.0.0"], test_suite="tests", )
data/flake8-assertive-2.1.0/setup.py
106
71
118,032
LOAD_CONST 1 LOAD_CONST ('FlaskCookieService',) IMPORT_NAME cookie IMPORT_FROM FlaskCookieService STORE_NAME FlaskCookieService POP_TOP LOAD_CONST 1 LOAD_CONST ('FlaskOIDCLogin',) IMPORT_NAME oidc_login IMPORT_FROM FlaskOIDCLogin STORE_NAME FlaskOIDCLogin POP_TOP LOAD_CONST 1 LOAD_CONST ('FlaskMessageLaunch',) IMPORT...
from .cookie import FlaskCookieService from .oidc_login import FlaskOIDCLogin from .message_launch import FlaskMessageLaunch from .request import FlaskRequest from .session import FlaskSessionService from .launch_data_storage.cache import FlaskCacheDataStorage
data/PyLTI1p3-2.0.0/pylti1p3/contrib/flask/__init__.py
214
71
131,132
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME doctest STORE_NAME doctest LOAD_CONST <code object make_sure_gc_is_disabled at 0x7f8e2ff254b0, file "f.py", line 4> LOAD_CONST 'make_sure_gc_is_disabled' MAKE_FUNCTION STORE_NAME make_sure_gc_is_disabled LOAD_CONST <code object test_suite at 0x7f8e2ff25d20, file "f.py", line 1...
import doctest def make_sure_gc_is_disabled(): """ >>> import gc >>> gc.get_threshold()[0] 0 """ def test_suite(): return doctest.DocTestSuite()
data/zope.testrunner-6.3.1/src/zope/testrunner/tests/testrunner-ex/gc0.py
167
71
115,763
LOAD_CONST '\n webapp2_extras.appengine.auth\n =============================\n\n Authentication and authorization utilities.\n\n :copyright: 2011 by tipfy.org.\n :license: Apache Sotware License, see LICENSE for details.\n' STORE_NAME __doc__ LOAD_CONST None RETURN_VALUE
""" webapp2_extras.appengine.auth ============================= Authentication and authorization utilities. :copyright: 2011 by tipfy.org. :license: Apache Sotware License, see LICENSE for details. """
data/webapp2-2.5.2/webapp2_extras/appengine/auth/__init__.py
80
71
113,829
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 Log at 0x7f8ece8a8ed0, file "f.py", line 6> LOAD_CONST 'Log' MAKE_FUNCTION LOAD...
import numpy as np from onnx.reference.ops._op import OpRunUnaryNum class Log(OpRunUnaryNum): def _run(self, x): # type: ignore return (np.log(x).astype(x.dtype),)
data/onnxsim-0.4.35/third_party/onnx-optimizer/third_party/onnx/onnx/reference/ops/op_log.py
221
71
114,233
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME branca.colormap IMPORT_FROM colormap STORE_NAME colormap POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME branca.element IMPORT_FROM element STORE_NAME element POP_TOP SETUP_EXCEPT to 42 LOAD_CONST 1 LOAD_CONST ('__version__',) IMPORT_NAME _version IMPORT_FROM __version__ STO...
import branca.colormap as colormap import branca.element as element try: from ._version import __version__ except ImportError: __version__ = "unknown" __all__ = [ "colormap", "element", ]
data/branca-0.7.1/branca/__init__.py
159
71
384,364
LOAD_CONST '\nTest html <frame> tag parsing.\n' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('LinkCheckTest',) IMPORT_NAME IMPORT_FROM LinkCheckTest STORE_NAME LinkCheckTest POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object TestFrames at 0x7fab703f0ae0, file "f.py", line 7> LOAD_CONST 'TestFrames' MAKE_FUNCTION LOAD_CO...
""" Test html <frame> tag parsing. """ from . import LinkCheckTest class TestFrames(LinkCheckTest): """ Test link checking of HTML framesets. """ def test_frames(self): self.file_test("frames.html")
data/LinkChecker-10.4.0/tests/checker/test_frames.py
238
71
169,144
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 Round at 0x7f8ece8a88a0, file "f.py", line 6> LOAD_CONST 'Round' MAKE_FUNCTION ...
import numpy as np from onnx.reference.ops._op import OpRunUnaryNum class Round(OpRunUnaryNum): def _run(self, x): # type: ignore return (np.round(x).astype(x.dtype),)
data/onnxsim-0.4.35/third_party/onnx-optimizer/third_party/onnx/onnx/reference/ops/op_round.py
227
71
114,232
LOAD_CONST 0 LOAD_CONST ('denoms',) IMPORT_NAME eth_utils IMPORT_FROM denoms STORE_NAME denoms POP_TOP LOAD_CONST 0 LOAD_CONST ('units',) IMPORT_NAME eth_utils.units IMPORT_FROM units STORE_NAME units POP_TOP LOAD_CONST <code object test_all_units_are_on_denoms_object at 0x7fab8227a780, file "f.py", line 9> LOAD_CONS...
from eth_utils import ( denoms, ) from eth_utils.units import ( units, ) def test_all_units_are_on_denoms_object(): for name in units.keys(): assert hasattr(denoms, name)
data/eth-utils-3.0.0/tests/currency-utils/test_denoms_obj.py
202
71
237,243
LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST 0 LOAD_CONST ('cythonize',) IMPORT_NAME Cython.Build IMPORT_FROM cythonize STORE_NAME cythonize POP_TOP LOAD_CONST 0 LOAD_CONST ('setup',) IMPORT_NAME setuptools IMPORT_FROM setup STORE_NA...
from __future__ import annotations from Cython.Build import cythonize from setuptools import setup setup( name="sample_extension", version="0.1.0", ext_modules=cythonize("src/sample_extension.pyx"), )
data/auditwheel-6.0.0/tests/integration/sample_extension/setup.py
144
71
133,317
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 'x-aperture-labs-portal' LOAD_CONST 'blue' BUILD_MAP LOAD_CONST ('openapi_extra',) CALL_FUNCTION LOAD_CONST...
from fastapi import FastAPI app = FastAPI() @app.get("/items/", openapi_extra={"x-aperture-labs-portal": "blue"}) async def read_items(): return [{"item_id": "portal-gun"}]
data/fastapi-0.109.2/docs_src/path_operation_advanced_configuration/tutorial005.py
157
71
142,555
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST 0 LOAD_CONST None IMPORT_NAME kernels STORE_NAME kernels LOAD_NAME pytest LOAD_ATTR mark LOAD_ATTR skip LOAD_CONST 'Unable to generate any tests for kernel' LOAD_CONST ('reason',) CALL_FUNCTION LOAD_CONST <code object test_pyawkward_reduce_a...
import pytest import kernels @pytest.mark.skip(reason="Unable to generate any tests for kernel") def test_pyawkward_reduce_argmax_int8_64_1(): raise NotImplementedError("Unable to generate any tests for kernel")
data/awkward-cpp-29/tests-spec/test_pyawkward_reduce_argmax_int8_64.py
192
71
220,733
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 Round at 0x7fab821a54b0, file "f.py", line 6> LOAD_CONST 'Round' MAKE_FUNCTION ...
import numpy as np from onnx.reference.ops._op import OpRunUnaryNum class Round(OpRunUnaryNum): def _run(self, x): # type: ignore return (np.round(x).astype(x.dtype),)
data/onnx-1.15.0/onnx/reference/ops/op_round.py
226
71
111,151
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 True STORE_NAME enable_meta_de...
extensions = ["sphinxext.opengraph"] master_doc = "index" exclude_patterns = ["_build"] html_theme = "basic" ogp_site_url = "http://example.org/en/latest/" enable_meta_description = True
data/sphinxext-opengraph-0.9.1/tests/roots/test-meta-name-description/conf.py
91
71
346,015
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(), "forkserver", only_type="processes") if __name__ == "__main__": unittest.main()
data/multiprocess-0.70.16/py3.12/multiprocess/tests/test_multiprocessing_forkserver/test_processes.py
146
71
144,906
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(), "forkserver", only_type="processes") if __name__ == "__main__": unittest.main()
data/multiprocess-0.70.16/py3.13/multiprocess/tests/test_multiprocessing_forkserver/test_processes.py
146
71
144,769
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(), "forkserver", only_type="threads") if __name__ == "__main__": unittest.main()
data/multiprocess-0.70.16/py3.12/multiprocess/tests/test_multiprocessing_forkserver/test_threads.py
146
71
144,907
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(), "forkserver", only_type="threads") if __name__ == "__main__": unittest.main()
data/multiprocess-0.70.16/py3.13/multiprocess/tests/test_multiprocessing_forkserver/test_threads.py
146
71
144,770
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 Log at 0x7fab821a5660, file "f.py", line 6> LOAD_CONST 'Log' MAKE_FUNCTION LOAD...
import numpy as np from onnx.reference.ops._op import OpRunUnaryNum class Log(OpRunUnaryNum): def _run(self, x): # type: ignore return (np.log(x).astype(x.dtype),)
data/onnx-1.15.0/onnx/reference/ops/op_log.py
223
71
111,152
LOAD_CONST 'A setuptools based setup module.\n\nSee:\nhttps://packaging.python.org/en/latest/distributing.html\nhttps://github.com/pypa/sampleproject\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('setup',) IMPORT_NAME setuptools IMPORT_FROM setup STORE_NAME setup POP_TOP LOAD_NAME __name__ LOAD_CONST '__main__' COMP...
"""A setuptools based setup module. See: https://packaging.python.org/en/latest/distributing.html https://github.com/pypa/sampleproject """ from setuptools import setup if __name__ == "__main__": setup()
data/asttokens-2.4.1/setup.py
110
71
348,139
LOAD_CONST 'rolandh' STORE_NAME __author__ LOAD_CONST 0 STORE_NAME INFORMATION LOAD_CONST 1 STORE_NAME OK LOAD_CONST 2 STORE_NAME WARNING LOAD_CONST 3 STORE_NAME ERROR LOAD_CONST 4 STORE_NAME CRITICAL LOAD_CONST 5 STORE_NAME INTERACTION LOAD_CONST 'INFORMATION' LOAD_CONST 'OK' LOAD_CONST 'WARNING' LOAD_CONST 'ER...
__author__ = "rolandh" INFORMATION = 0 OK = 1 WARNING = 2 ERROR = 3 CRITICAL = 4 INTERACTION = 5 STATUSCODE = ["INFORMATION", "OK", "WARNING", "ERROR", "CRITICAL", "INTERACTION"]
data/pysaml2-7.5.0/src/saml2test/status.py
117
71
131,382
LOAD_CONST 'linebot.deprecations module.' STORE_NAME __doc__ LOAD_BUILD_CLASS LOAD_CONST <code object LineBotSdkDeprecationWarning at 0x7fa6ed4e58a0, file "f.py", line 4> LOAD_CONST 'LineBotSdkDeprecationWarning' MAKE_FUNCTION LOAD_CONST 'LineBotSdkDeprecationWarning' LOAD_NAME DeprecationWarning CALL_FUNCTION STORE_N...
"""linebot.deprecations module.""" class LineBotSdkDeprecationWarning(DeprecationWarning): """My DeprecationWarning""" class LineBotSdkDeprecatedIn30(LineBotSdkDeprecationWarning): """deprecated in 3.0"""
data/line-bot-sdk-3.9.0/linebot/deprecations.py
299
71
48,713
LOAD_CONST 1 LOAD_CONST ('DeveloperTokenClient',) IMPORT_NAME developer_token_client IMPORT_FROM DeveloperTokenClient STORE_NAME DeveloperTokenClient POP_TOP LOAD_CONST 1 LOAD_CONST ('LoggingClient',) IMPORT_NAME logging_client IMPORT_FROM LoggingClient STORE_NAME LoggingClient POP_TOP LOAD_BUILD_CLASS LOAD_CONST <co...
from .developer_token_client import DeveloperTokenClient from .logging_client import LoggingClient class DevelopmentClient(LoggingClient, DeveloperTokenClient): """ Client subclass that uses developer token auth and logs requests and responses. Great for use in development! """
data/boxsdk-3.9.2/boxsdk/client/development_client.py
200
71
231,026
LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST 0 LOAD_CONST ('openssl',) IMPORT_NAME cryptography.hazmat.bindings._rust IMPORT_FROM openssl STORE_NAME rust_openssl POP_TOP LOAD_CONST 'Poly1305' BUILD_LIST STORE_NAME __all__ LOAD_NAME ...
from __future__ import annotations from cryptography.hazmat.bindings._rust import openssl as rust_openssl __all__ = ["Poly1305"] Poly1305 = rust_openssl.poly1305.Poly1305
data/cryptography-42.0.4/src/cryptography/hazmat/primitives/poly1305.py
114
71
400,862
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'afd profile' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab70055270, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAME AAZComm...
from azure.cli.core.aaz import * @register_command_group( "afd profile", ) class __CMDGroup(AAZCommandGroup): """Manage AFD profiles.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/cdn/aaz/latest/afd/profile/__cmd_group.py
181
71
375,259
LOAD_CONST 0 LOAD_CONST ('azure_audit_info',) IMPORT_NAME prowler.providers.azure.lib.audit_info.audit_info IMPORT_FROM azure_audit_info STORE_NAME azure_audit_info POP_TOP LOAD_CONST 0 LOAD_CONST ('IAM',) IMPORT_NAME prowler.providers.azure.services.iam.iam_service IMPORT_FROM IAM STORE_NAME IAM POP_TOP LOAD_NAME IA...
from prowler.providers.azure.lib.audit_info.audit_info import azure_audit_info from prowler.providers.azure.services.iam.iam_service import IAM iam_client = IAM(azure_audit_info)
data/prowler-3.14.0/prowler/providers/azure/services/iam/iam_client.py
127
71
183,528
LOAD_CONST ('dumps', 'dump') STORE_NAME __all__ LOAD_CONST '1.0.0' STORE_NAME __version__ LOAD_CONST 0 LOAD_CONST ('dump', 'dumps') IMPORT_NAME pdm.backend._vendor.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 pdm.backend._vendor.tomli_w._writer import dump, dumps
data/pdm_backend-2.1.8/src/pdm/backend/_vendor/tomli_w/__init__.py
80
71
132,236
LOAD_CONST 1 LOAD_CONST ('_Saas',) IMPORT_NAME IMPORT_FROM _Saas STORE_NAME _Saas POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object _Communication at 0x7fab81fc6e40, file "f.py", line 4> LOAD_CONST '_Communication' MAKE_FUNCTION LOAD_CONST '_Communication' LOAD_NAME _Saas CALL_FUNCTION STORE_NAME _Communication LOAD_B...
from . import _Saas class _Communication(_Saas): _type = "communication" _icon_dir = "resources/saas/communication" class Twilio(_Communication): _icon = "twilio.png"
data/diagrams-0.23.4/diagrams/saas/communication.py
267
71
206,106
LOAD_CONST 'You can configure this length in the server with the ARGILLA_METADATA_FIELD_LENGTH environment variable. Note that, setting this too high may lead to Elastic performance issues.' STORE_NAME ARGILLA_METADATA_FIELD_WARNING_MESSAGE LOAD_CONST None RETURN_VALUE
ARGILLA_METADATA_FIELD_WARNING_MESSAGE = ( "You can configure this length in the server with the ARGILLA_METADATA_FIELD_LENGTH " "environment variable. Note that, setting this too high may lead to Elastic performance issues." )
data/argilla-1.24.0/src/argilla/_messages.py
69
71
249,093
LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST 1 LOAD_CONST ('AssistantFile',) IMPORT_NAME assistant_file IMPORT_FROM AssistantFile STORE_NAME AssistantFile POP_TOP LOAD_CONST 1 LOAD_CONST ('FileListParams',) IMPORT_NAME file_list_para...
from __future__ import annotations from .assistant_file import AssistantFile as AssistantFile from .file_list_params import FileListParams as FileListParams from .file_create_params import FileCreateParams as FileCreateParams from .file_delete_response import FileDeleteResponse as FileDeleteResponse
data/openai-1.12.0/src/openai/types/beta/assistants/__init__.py
155
71
63,713
LOAD_CONST 1 LOAD_CONST ('utils',) IMPORT_NAME IMPORT_FROM utils STORE_NAME utils POP_TOP LOAD_CONST 1 LOAD_CONST ('GradSampleModule',) IMPORT_NAME grad_sample IMPORT_FROM GradSampleModule STORE_NAME GradSampleModule POP_TOP LOAD_CONST 1 LOAD_CONST ('PrivacyEngine',) IMPORT_NAME privacy_engine IMPORT_FROM PrivacyEngi...
from . import utils from .grad_sample import GradSampleModule from .privacy_engine import PrivacyEngine from .version import __version__ __all__ = [ "PrivacyEngine", "GradSampleModule", "utils", "__version__", ]
data/opacus-1.4.1/opacus/__init__.py
150
71
302,574
LOAD_CONST <code object generator_function at 0x7fab4107c150, file "f.py", line 1> LOAD_CONST 'generator_function' MAKE_FUNCTION STORE_NAME generator_function LOAD_CONST <code object normal_function at 0x7fab4107c0c0, file "f.py", line 9> LOAD_CONST 'normal_function' MAKE_FUNCTION STORE_NAME normal_function LOAD_NAME...
def generator_function(): import ErrorRaising x = (lambda: ErrorRaising.raiseException() for z in range(3)) next(x)() def normal_function(): y = generator_function() y() normal_function()
data/Nuitka-2.0.3/tests/programs/main_raises2/ErrorInFunctionMain.py
353
71
148,318
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'servicebus topic subscription' 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' ...
from azure.cli.core.aaz import * @register_command_group( "servicebus topic subscription", ) class __CMDGroup(AAZCommandGroup): """servicebus topic subscription""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/servicebus/aaz/latest/servicebus/topic/subscription/__cmd_group.py
181
71
375,777
LOAD_CONST 0 LOAD_CONST ('print_function', 'unicode_literals') IMPORT_NAME __future__ IMPORT_FROM print_function STORE_NAME print_function IMPORT_FROM unicode_literals STORE_NAME unicode_literals POP_TOP LOAD_CONST 1 LOAD_CONST ('LogtailHandler',) IMPORT_NAME handler IMPORT_FROM LogtailHandler STORE_NAME LogtailHandle...
from __future__ import print_function, unicode_literals from .handler import LogtailHandler from .helpers import LogtailContext, DEFAULT_CONTEXT from .formatter import LogtailFormatter __version__ = "0.2.10" context = DEFAULT_CONTEXT
data/logtail-python-0.2.10/logtail/__init__.py
186
71
16,015
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 TestGKAchievementViewController at 0x7faa528b0300, file "f.py", line 5> LOAD_CONST 'Te...
import GameKit # noqa: F401 from PyObjCTools.TestSupport import TestCase class TestGKAchievementViewController(TestCase): def testProtocols(self): self.assertProtocolExists("GKAchievementViewControllerDelegate")
data/pyobjc-framework-GameKit-10.1/PyObjCTest/test_gkachievementviewcontroller.py
266
71
22,891
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME json STORE_NAME json LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os.path STORE_NAME os LOAD_NAME os LOAD_ATTR path LOAD_METHOD dirname LOAD_NAME os LOAD_ATTR path LOAD_METHOD realpath LOAD_NAME __file__ CALL_METHOD CALL_METHOD STORE_NAME path LOAD_CONST <code object load at 0x7f...
import json import os.path path = os.path.dirname(os.path.realpath(__file__)) def load(action): with open(os.path.join(path, f"{action}.json")) as fp: return json.load(fp)
data/python-designateclient-6.0.0/designateclient/tests/osc/resources/__init__.py
178
71
84,486
LOAD_CONST 'Azure IoT Hub Device SDK Models\n\nThis package provides object models for use within the Azure IoT Hub Device SDK.\n' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('Message',) IMPORT_NAME message IMPORT_FROM Message STORE_NAME Message POP_TOP LOAD_CONST 1 LOAD_CONST ('MethodRequest', 'MethodResponse') IMPO...
"""Azure IoT Hub Device SDK Models This package provides object models for use within the Azure IoT Hub Device SDK. """ from .message import Message # noqa: F401 from .methods import MethodRequest, MethodResponse # noqa: F401
data/azure-iot-device-2.13.0/azure-iot-device/azure/iot/device/iothub/models/__init__.py
104
71
16,151
LOAD_CONST 0 LOAD_CONST ('VERSION',) IMPORT_NAME shopify.version IMPORT_FROM VERSION STORE_NAME VERSION POP_TOP LOAD_CONST 0 LOAD_CONST ('Session', 'ValidationException') IMPORT_NAME shopify.session IMPORT_FROM Session STORE_NAME Session IMPORT_FROM ValidationException STORE_NAME ValidationException POP_TOP LOAD_CONS...
from shopify.version import VERSION from shopify.session import Session, ValidationException from shopify.resources import * from shopify.limits import Limits from shopify.api_version import * from shopify.api_access import * from shopify.collection import PaginatedIterator
data/ShopifyAPI-12.4.0/shopify/__init__.py
194
71
216,660
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME Security STORE_NAME Security 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 TestSecProtocolObject at 0x7f8e2fc18030, file "f.py", line 5> LOAD_CONST 'TestSecPro...
import Security from PyObjCTools.TestSupport import TestCase class TestSecProtocolObject(TestCase): def test_functions(self): self.assertFalse(hasattr(Security, "sec_retain")) self.assertFalse(hasattr(Security, "sec_release"))
data/pyobjc-framework-Security-10.1/PyObjCTest/test_secprotocolobject.py
262
71
335,692
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME warnings STORE_NAME warnings LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME code_gen IMPORT_STAR LOAD_NAME warnings LOAD_ATTR warn LOAD_CONST 'astor.codegen module is deprecated. Please import astor.code_gen module instead.' LOAD_NAME DeprecationWarning LOAD_CONST 2 LOAD_CONST ...
import warnings from .code_gen import * # NOQA warnings.warn( "astor.codegen module is deprecated. Please import " "astor.code_gen module instead.", DeprecationWarning, stacklevel=2, )
data/sealights-python-agent-1.5.5/python_agent/packages/astor/codegen.py
92
71
157,052
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'monitor action-group' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab4130cf60, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAM...
from azure.cli.core.aaz import * @register_command_group( "monitor action-group", ) class __CMDGroup(AAZCommandGroup): """Manage action groups.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/monitor/aaz/latest/monitor/action_group/__cmd_group.py
180
71
375,065
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'eventhubs namespace' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab82132a50, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAME...
from azure.cli.core.aaz import * @register_command_group( "eventhubs namespace", ) class __CMDGroup(AAZCommandGroup): """eventhub namespace""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/eventhubs/aaz/profile_2019_03_01_hybrid/eventhubs/namespace/__cmd_group.py
181
71
374,716
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME importlib STORE_NAME importlib LOAD_CONST 0 LOAD_CONST None IMPORT_NAME unittest STORE_NAME unittest LOAD_CONST <code object import_or_skip at 0x7fab40da1270, file "f.py", line 5> LOAD_CONST 'import_or_skip' MAKE_FUNCTION STORE_NAME import_or_skip LOAD_CONST None RETURN_VALUE ...
import importlib import unittest def import_or_skip(name): try: return importlib.import_module(name) except ImportError: # pragma: no cover raise unittest.SkipTest(f"Unable to import {name}")
data/zipp-3.17.0/tests/_support.py
180
71
391,000
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 contact IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME contact_channel IMPORT_STAR LOAD_CONST ...
from .. import _utilities import typing from .contact import * from .contact_channel import * from .get_contact import * from .get_contact_channel import * from .get_plan import * from .plan import * from ._inputs import * from . import outputs
data/pulumi_aws-6.22.2/pulumi_aws/ssmcontacts/__init__.py
191
71
227,728
LOAD_CONST 1 LOAD_CONST ('Bunch', 'TileProvider') IMPORT_NAME lib IMPORT_FROM Bunch STORE_NAME Bunch IMPORT_FROM TileProvider STORE_NAME TileProvider POP_TOP LOAD_CONST 1 LOAD_CONST ('providers',) IMPORT_NAME providers IMPORT_FROM providers STORE_NAME providers POP_TOP LOAD_CONST 0 LOAD_CONST ('version', 'PackageNotF...
from .lib import Bunch, TileProvider # noqa from .providers import providers # noqa from importlib.metadata import version, PackageNotFoundError import contextlib with contextlib.suppress(PackageNotFoundError): __version__ = version("xyzservices")
data/xyzservices-2023.10.1/xyzservices/__init__.py
172
71
76,511
LOAD_CONST 'step' STORE_NAME INDEX LOAD_CONST 'rev' STORE_NAME REVISION LOAD_CONST 'filename' STORE_NAME FILENAME LOAD_CONST 'field' STORE_NAME FIELD LOAD_CONST 'revisions' STORE_NAME REVISIONS LOAD_CONST 'anchor_definitions' STORE_NAME ANCHOR_DEFINITIONS LOAD_CONST 'type' STORE_NAME TYPE_KEY LOAD_CONST 'src' ST...
INDEX = "step" REVISION = "rev" FILENAME = "filename" FIELD = "field" REVISIONS = "revisions" ANCHOR_DEFINITIONS = "anchor_definitions" TYPE_KEY = "type" SRC = "src"
data/dvc-3.47.0/dvc/render/__init__.py
99
71
317,992
LOAD_CONST 0 LOAD_CONST ('SkipTest',) IMPORT_NAME nose.exc IMPORT_FROM SkipTest STORE_NAME SkipTest POP_TOP LOAD_CONST <code object test_ok at 0x7f8af15c2ed0, file "f.py", line 4> LOAD_CONST 'test_ok' MAKE_FUNCTION STORE_NAME test_ok LOAD_CONST <code object test_err at 0x7f8af15c2c00, file "f.py", line 8> LOAD_CONST ...
from nose.exc import SkipTest def test_ok(): pass def test_err(): raise Exception("oh no") def test_fail(): assert False, "bye" def test_skip(): raise SkipTest("not me")
data/nose-1.3.7/functional_tests/doc_tests/test_xunit_plugin/support/test_skip.py
301
71
401,812
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'eventhubs namespace' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab415056f0, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAME...
from azure.cli.core.aaz import * @register_command_group( "eventhubs namespace", ) class __CMDGroup(AAZCommandGroup): """Eventhub namespace.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/__cmd_group.py
181
71
374,774
LOAD_CONST '\nHelper objects for unit testing.\n' STORE_NAME __doc__ LOAD_CONST (0, 1) LOAD_CONST <code object count at 0x7fab700dbc00, file "f.py", line 6> LOAD_CONST 'count' MAKE_FUNCTION STORE_NAME count LOAD_CONST None RETURN_VALUE LOAD_FAST start STORE_FAST n SETUP_LOOP to 24 LOAD_FAST n YIELD_VALUE POP_TOP L...
""" Helper objects for unit testing. """ def count(start=0, step=1): """ Local implementation of `itertools.count()` to allow v2.6 compatibility. """ n = start while True: yield n n += step
data/python-pptx-0.6.23/tests/unitutil/__init__.py
114
71
215,425
LOAD_CONST '`kedro_viz.api.rest.requests` defines REST request types.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('BaseModel',) IMPORT_NAME pydantic IMPORT_FROM BaseModel STORE_NAME BaseModel POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object S3DeployerConfiguration at 0x7fab8231b150, file "f.py", line 6> LOAD_CONST '...
"""`kedro_viz.api.rest.requests` defines REST request types.""" from pydantic import BaseModel class S3DeployerConfiguration(BaseModel): """Credentials for S3 Deployer.""" region: str bucket_name: str
data/kedro-viz-7.1.0/kedro_viz/api/rest/requests.py
225
71
132,361
LOAD_CONST '\nFlytekit ShellTask\n=========================================\n.. currentmodule:: flytekit.extras.tasks\n\n.. autosummary::\n :template: custom.rst\n :toctree: generated/\n\n ~shell.ShellTask\n ~shell.OutputLocation\n' STORE_NAME __doc__ LOAD_CONST None RETURN_VALUE
""" Flytekit ShellTask ========================================= .. currentmodule:: flytekit.extras.tasks .. autosummary:: :template: custom.rst :toctree: generated/ ~shell.ShellTask ~shell.OutputLocation """
data/flytekit-1.10.7/flytekit/extras/tasks/__init__.py
86
71
52,396
LOAD_CONST 'AUTOGENERATED. DO NOT EDIT.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('Xception',) IMPORT_NAME tf_keras.src.applications.xception IMPORT_FROM Xception STORE_NAME Xception POP_TOP LOAD_CONST 0 LOAD_CONST ('decode_predictions',) IMPORT_NAME tf_keras.src.applications.xception IMPORT_FROM decode_prediction...
"""AUTOGENERATED. DO NOT EDIT.""" from tf_keras.src.applications.xception import Xception from tf_keras.src.applications.xception import decode_predictions from tf_keras.src.applications.xception import preprocess_input
data/tf_keras-2.15.0/tf_keras/applications/xception/__init__.py
146
71
353,594
LOAD_CONST '\ncopyright (c) 2016-2017 Earth Advantage.\nAll rights reserved\n..codeauthor::Paul Munday <paul@paulmunday.net>\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('Config',) IMPORT_NAME yamlconf.config IMPORT_FROM Config STORE_NAME Config POP_TOP LOAD_CONST 0 LOAD_CONST ('ConfigError',) IMPORT_NAME yamlconf....
""" copyright (c) 2016-2017 Earth Advantage. All rights reserved ..codeauthor::Paul Munday <paul@paulmunday.net> """ from yamlconf.config import Config from yamlconf.exceptions import ConfigError
data/yaml-config-0.1.5/yamlconf/__init__.py
118
71
236,876
LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME mmfusion IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME transformermodel IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME mmfusionnlg IMPORT_STAR SETUP_EXCEPT to 38 LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME fairseqmmmodel IMPORT_STAR POP_BLOCK JUMP_FORWARD t...
from .mmfusion import * from .transformermodel import * from .mmfusionnlg import * try: from .fairseqmmmodel import * except ImportError: pass try: from .expmmfusion import * except ImportError: pass
data/fairseq-0.12.2/fairseq/examples/MMPT/mmpt/models/__init__.py
188
71
120,304
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 LocalAuthenticationEmbeddedUI STORE_NAME LocalAuthenticationEmbeddedUI LOAD_BUILD_CLASS LOAD_CONST <code object TestCallableMetadata at 0x7fab80162db0, fi...
from PyObjCTools.TestSupport import TestCase import LocalAuthenticationEmbeddedUI class TestCallableMetadata(TestCase): def test_callable_metadata_is_sane(self): self.assertCallableMetadataIsSane(LocalAuthenticationEmbeddedUI)
data/pyobjc-framework-LocalAuthenticationEmbeddedUI-10.1/PyObjCTest/test_localauthenticationembeddedui.py
266
71
132,323
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'monitor activity-log' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab416c65d0, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAM...
from azure.cli.core.aaz import * @register_command_group( "monitor activity-log", ) class __CMDGroup(AAZCommandGroup): """Manage activity logs.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/monitor/aaz/latest/monitor/activity_log/__cmd_group.py
181
71
374,998
LOAD_CONST 0 LOAD_CONST ('Any',) IMPORT_NAME typing IMPORT_FROM Any STORE_NAME Any POP_TOP LOAD_NAME Any LOAD_CONST None LOAD_CONST ('ipython', 'return') BUILD_CONST_KEY_MAP LOAD_CONST <code object load_ipython_extension at 0x7fae2f37aae0, file "f.py", line 4> LOAD_CONST 'load_ipython_extension' MAKE_FUNCTION STORE_NA...
from typing import Any def load_ipython_extension(ipython: Any) -> None: from .flamegraph import FlamegraphMagics ipython.register_magics(FlamegraphMagics) __all__ = ["load_ipython_extension"]
data/memray-1.11.0/src/memray/_ipython/__init__.py
180
71
390,389
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object PrinterProcessingState at 0x7fab70027420, file "f.py", line 4> LOAD_CONST 'PrinterProcessingState' MAKE_FUNCTION LOAD_CONST 'PrinterProcessingState' LOAD_NAME str LOAD_NAME Enum CALL_FUN...
from enum import Enum class PrinterProcessingState(str, Enum): Unknown = ("unknown",) Idle = ("idle",) Processing = ("processing",) Stopped = ("stopped",) UnknownFutureValue = ("unknownFutureValue",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/printer_processing_state.py
193
71
261,058
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 TestGKAchievementViewController at 0x7faa51b82300, file "f.py", line 5> LOAD_CONST 'Te...
import GameKit # noqa: F401 from PyObjCTools.TestSupport import TestCase class TestGKAchievementViewController(TestCase): def testProtocols(self): self.assertProtocolExists("GKChallengesViewControllerDelegate")
data/pyobjc-framework-GameKit-10.1/PyObjCTest/test_gkchallengesviewcontroller.py
266
71
22,897
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST <code object test_prefect_1_import_warning at 0x7fae2f346540, file "f.py", line 4> LOAD_CONST 'test_prefect_1_import_warning' MAKE_FUNCTION STORE_NAME test_prefect_1_import_warning LOAD_CONST None RETURN_VALUE LOAD_GLOBAL pytest LOAD_METHOD ...
import pytest def test_prefect_1_import_warning(): with pytest.raises(ImportError): with pytest.warns(UserWarning, match="Attempted import of 'prefect.Client"): from prefect import Client # noqa
data/prefect-2.15.0/tests/test_import_interceptor.py
205
71
105,772
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'sig gallery-application' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7faa5ec3b5d0, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_...
from azure.cli.core.aaz import * @register_command_group( "sig gallery-application", ) class __CMDGroup(AAZCommandGroup): """Manage gallery application.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/vm/aaz/latest/sig/gallery_application/__cmd_group.py
180
71
376,542
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'vm' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab822ea780, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAME AAZCommandGroup ...
from azure.cli.core.aaz import * @register_command_group( "vm", ) class __CMDGroup(AAZCommandGroup): """Manage Linux or Windows virtual machines.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/vm/aaz/latest/vm/__cmd_group.py
180
71
376,606
LOAD_CONST (1, 3, 9) STORE_NAME VERSION LOAD_CONST 0 LOAD_CONST None IMPORT_NAME django STORE_NAME django LOAD_NAME django LOAD_ATTR VERSION LOAD_CONST (3, 2) COMPARE_OP < POP_JUMP_IF_FALSE LOAD_CONST 'django_q.apps.DjangoQConfig' STORE_NAME default_app_config LOAD_CONST 'conf' LOAD_CONST 'cluster' LOAD_CONST 'mode...
VERSION = (1, 3, 9) import django if django.VERSION < (3, 2): default_app_config = "django_q.apps.DjangoQConfig" __all__ = ["conf", "cluster", "models", "tasks"]
data/django-q-1.3.9/django_q/__init__.py
111
71
232,246
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'disk-access' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab82132300, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAME AAZComm...
from azure.cli.core.aaz import * @register_command_group( "disk-access", ) class __CMDGroup(AAZCommandGroup): """Manage disk access resources.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/vm/aaz/latest/disk_access/__cmd_group.py
181
71
376,641
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'vm' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7faa763f7ae0, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAME AAZCommandGroup ...
from azure.cli.core.aaz import * @register_command_group( "vm", ) class __CMDGroup(AAZCommandGroup): """Manage Linux or Windows virtual machines.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/vm/aaz/profile_2020_09_01_hybrid/vm/__cmd_group.py
180
71
376,749
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'disk-access' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab82132390, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAME AAZComm...
from azure.cli.core.aaz import * @register_command_group( "disk-access", ) class __CMDGroup(AAZCommandGroup): """Manage disk access resources.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/vm/aaz/profile_2020_09_01_hybrid/disk_access/__cmd_group.py
181
71
376,781
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'vm' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7faa5ec3bae0, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAME AAZCommandGroup ...
from azure.cli.core.aaz import * @register_command_group( "vm", ) class __CMDGroup(AAZCommandGroup): """Manage Linux or Windows virtual machines.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/vm/aaz/profile_2018_03_01_hybrid/vm/__cmd_group.py
179
71
376,866
LOAD_CONST 0 LOAD_CONST ('ListAccessor', 'StructAccessor') IMPORT_NAME pandas.core.arrays.arrow.accessors IMPORT_FROM ListAccessor STORE_NAME ListAccessor IMPORT_FROM StructAccessor STORE_NAME StructAccessor POP_TOP LOAD_CONST 0 LOAD_CONST ('ArrowExtensionArray',) IMPORT_NAME pandas.core.arrays.arrow.array IMPORT_FROM...
from pandas.core.arrays.arrow.accessors import ( ListAccessor, StructAccessor, ) from pandas.core.arrays.arrow.array import ArrowExtensionArray __all__ = ["ArrowExtensionArray", "StructAccessor", "ListAccessor"]
data/pandas-2.2.0/pandas/core/arrays/arrow/__init__.py
128
71
171,314
LOAD_CONST '\nUsage reporting for Lambda service\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('UsageCounter', 'UsageSetCounter') IMPORT_NAME localstack.utils.analytics.usage IMPORT_FROM UsageCounter STORE_NAME UsageCounter IMPORT_FROM UsageSetCounter STORE_NAME UsageSetCounter POP_TOP LOAD_NAME UsageCounter LOAD_CO...
""" Usage reporting for Lambda service """ from localstack.utils.analytics.usage import UsageCounter, UsageSetCounter hotreload = UsageCounter("lambda:hotreload", aggregations=["sum"]) runtime = UsageSetCounter("lambda:invokedruntime")
data/localstack-core-3.1.0/localstack/services/lambda_/usage.py
132
71
225,619
LOAD_CONST 0 LOAD_CONST ('base',) IMPORT_NAME QcloudApi.modules IMPORT_FROM base STORE_NAME base POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Sts at 0x7f8e2ff25390, file "f.py", line 4> LOAD_CONST 'Sts' MAKE_FUNCTION LOAD_CONST 'Sts' LOAD_NAME base LOAD_ATTR Base CALL_FUNCTION STORE_NAME Sts LOAD_CONST None RETURN...
from QcloudApi.modules import base class Sts(base.Base): """Security Token Service. document: https://cloud.tencent.com/document/product/598 """ requestHost = "sts.api.qcloud.com"
data/tencentcloud-sdk-python-3.0.1092/QcloudApi/modules/sts.py
177
71
119,778
LOAD_CONST <code object test_foo at 0x7fab425bfc00, file "f.py", line 1> LOAD_CONST 'test_foo' MAKE_FUNCTION STORE_NAME test_foo LOAD_CONST <code object test_bar at 0x7fab425bf660, file "f.py", line 7> LOAD_CONST 'test_bar' MAKE_FUNCTION STORE_NAME test_bar LOAD_CONST <code object test_baz at 0x7fab425bf030, file "f....
def test_foo(): from dummy.dummy import foo foo() def test_bar(): from dummy.dummy import bar bar() def test_baz(): from dummy.dummy import baz baz()
data/pycobertura-3.3.1/tests/dummy.uncovered.addcode/test_dummy.py
273
71
353,417
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object ExpiryOptionType at 0x7f8e447b2c00, file "f.py", line 4> LOAD_CONST 'ExpiryOptionType' MAKE_FUNCTION LOAD_CONST 'ExpiryOptionType' LOAD_NAME Enum CALL_FUNCTION STORE_NAME ExpiryOptionTyp...
from enum import Enum class ExpiryOptionType(Enum): never_expire = "NeverExpire" relative_to_now = "RelativeToNow" relative_to_creation_date = "RelativeToCreationDate" absolute = "Absolute"
data/azure-datalake-store-0.0.53/azure/datalake/store/enums.py
188
71
121,892
LOAD_CONST <code object test_foo at 0x7fab425bfc00, file "f.py", line 1> LOAD_CONST 'test_foo' MAKE_FUNCTION STORE_NAME test_foo LOAD_CONST <code object test_bar at 0x7fab425bf5d0, file "f.py", line 7> LOAD_CONST 'test_bar' MAKE_FUNCTION STORE_NAME test_bar LOAD_CONST <code object test_baz at 0x7fab425bf030, file "f....
def test_foo(): from dummy.dummy import foo foo() def test_bar(): from dummy.dummy import bar bar() def test_baz(): from dummy.dummy import baz baz()
data/pycobertura-3.3.1/tests/dummy.uncovered/test_dummy.py
273
71
353,415
LOAD_CONST 2 LOAD_CONST ('iso_register',) IMPORT_NAME registry_tools IMPORT_FROM iso_register STORE_NAME iso_register POP_TOP LOAD_CONST 1 LOAD_CONST ('UnitedStates',) IMPORT_NAME core IMPORT_FROM UnitedStates STORE_NAME UnitedStates POP_TOP LOAD_NAME iso_register LOAD_CONST 'US-MN' CALL_FUNCTION LOAD_BUILD_CLASS LOA...
from ..registry_tools import iso_register from .core import UnitedStates @iso_register("US-MN") class Minnesota(UnitedStates): """Minnesota""" include_thanksgiving_friday = True include_columbus_day = False
data/workalendar-17.0.0/workalendar/usa/minnesota.py
208
71
132,068
LOAD_CONST 1 LOAD_CONST ('ApiBase',) IMPORT_NAME base IMPORT_FROM ApiBase STORE_NAME ApiBase POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME logging STORE_NAME logging LOAD_NAME logging LOAD_METHOD getLogger LOAD_NAME __name__ CALL_METHOD STORE_NAME logger LOAD_BUILD_CLASS LOAD_CONST <code object TaxGroups at 0x7fa...
from .base import ApiBase import logging logger = logging.getLogger(__name__) class TaxGroups(ApiBase): def __init__(self, ns_client): ApiBase.__init__(self, ns_client=ns_client, type_name="TaxGroup")
data/netsuitesdk-2.21.0/netsuitesdk/api/tax_groups.py
249
71
442,962
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pydash STORE_NAME _ LOAD_NAME int LOAD_NAME int LOAD_NAME list LOAD_CONST ('row', 'index', 'col') BUILD_CONST_KEY_MAP LOAD_CONST <code object typed_function at 0x7fae471296f0, file "f.py", line 4> LOAD_CONST 'typed_function' MAKE_FUNCTION STORE_NAME typed_function LOAD_CONST <...
import pydash as _ def typed_function(row: int, index: int, col: list): return row + 1 def test_annotated_iteratee(): assert _.map_([1, 2], typed_function) == [2, 3]
data/pydash-7.0.7/tests/test_annotations.py
221
71
183,866