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 ('DEVNULL',) IMPORT_NAME asyncio.subprocess IMPORT_FROM DEVNULL STORE_NAME DEVNULL POP_TOP LOAD_CONST 0 LOAD_CONST ('PIPE',) IMPORT_NAME asyncio.subprocess IMPORT_FROM PIPE STORE_NAME PIPE POP_TOP LOAD_CONST 0 LOAD_CONST ('Process',) IMPORT_NAME asyncio.subprocess IMPORT_FROM Process STORE_NAM...
from asyncio.subprocess import DEVNULL from asyncio.subprocess import PIPE from asyncio.subprocess import Process from asyncio.subprocess import STDOUT from asyncio.subprocess import SubprocessStreamProtocol _ = (DEVNULL, PIPE, STDOUT, Process, SubprocessStreamProtocol)
data/pytest-subprocess-1.5.0/pytest_subprocess/asyncio_subprocess.py
190
79
113,545
LOAD_CONST 0 LOAD_CONST ('Generator',) IMPORT_NAME typing IMPORT_FROM Generator STORE_NAME Generator POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST 1 LOAD_CONST ('FakeProcess',) IMPORT_NAME IMPORT_FROM FakeProcess STORE_NAME FakeProcess POP_TOP LOAD_NAME pytest LOAD_ATTR fixture...
from typing import Generator import pytest from . import FakeProcess @pytest.fixture def fp() -> Generator[FakeProcess, None, None]: """Fake subprocess calls.""" with FakeProcess() as process: yield process fake_process = fp
data/pytest-subprocess-1.5.0/pytest_subprocess/fixtures.py
206
79
113,540
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_NAME sys LOAD_ATTR path LOAD_METHOD insert LOAD_CONST 0 LOAD_CONST '..' CALL_METHOD POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME DNS STORE_NAME DNS LOAD_NAME DNS LOAD_METHOD ParseResolvConf CALL_METHOD POP_TOP LOAD_NAME DNS LOAD_ATTR Request LOAD_...
import sys sys.path.insert(0, "..") import DNS DNS.ParseResolvConf() r = DNS.Request(qtype="srv") res = r.req("_ldap._tcp.openldap.org") res.show() print(res.answers)
data/py3dns-4.0.0/tests/testsrv.py
146
79
58,296
LOAD_CONST 0 LOAD_CONST ('app',) IMPORT_NAME kubectl_ng.cli IMPORT_FROM app STORE_NAME app POP_TOP LOAD_CONST 0 LOAD_CONST ('CliRunner',) IMPORT_NAME typer.testing IMPORT_FROM CliRunner STORE_NAME CliRunner POP_TOP LOAD_NAME CliRunner CALL_FUNCTION STORE_NAME runner LOAD_CONST <code object test_version at 0x7f8a954c...
from kubectl_ng.cli import app from typer.testing import CliRunner runner = CliRunner() def test_version(): result = runner.invoke(app, ["api-versions"]) assert result.exit_code == 0 assert "apps/v1" in result.stdout
data/kr8s-0.13.3/examples/kubectl-ng/kubectl_ng/tests/test_api_versions.py
206
79
332,914
LOAD_CONST '\nCopyright (c) 2015 Red Hat, Inc\nAll rights reserved.\n\nThis software may be modified and distributed under the terms\nof the BSD license. See the LICENSE file for details.\n' STORE_NAME __doc__ LOAD_CONST 'Dockerfile' STORE_NAME DOCKERFILE_FILENAME LOAD_CONST 'COMMENT' STORE_NAME COMMENT_INSTRUCTION L...
""" Copyright (c) 2015 Red Hat, Inc All rights reserved. This software may be modified and distributed under the terms of the BSD license. See the LICENSE file for details. """ DOCKERFILE_FILENAME = "Dockerfile" COMMENT_INSTRUCTION = "COMMENT"
data/dockerfile-parse-2.0.1/dockerfile_parse/constants.py
98
79
208,806
LOAD_CONST 1 LOAD_CONST ('DataPlane',) IMPORT_NAME dataplane IMPORT_FROM DataPlane STORE_NAME DataPlane POP_TOP LOAD_CONST 1 LOAD_CONST ('ModelRepositoryHandlers',) IMPORT_NAME model_repository IMPORT_FROM ModelRepositoryHandlers STORE_NAME ModelRepositoryHandlers POP_TOP LOAD_CONST 1 LOAD_CONST ('get_custom_handlers...
from .dataplane import DataPlane from .model_repository import ModelRepositoryHandlers from .custom import get_custom_handlers, custom_handler __all__ = [ "DataPlane", "ModelRepositoryHandlers", "get_custom_handlers", "custom_handler", ]
data/mlserver-1.3.5/mlserver/handlers/__init__.py
162
79
361,632
LOAD_CONST 1 LOAD_CONST ('Boxes', 'BoxMode', 'pairwise_iou') IMPORT_NAME boxes IMPORT_FROM Boxes STORE_NAME Boxes IMPORT_FROM BoxMode STORE_NAME BoxMode IMPORT_FROM pairwise_iou STORE_NAME pairwise_iou POP_TOP LOAD_CONST 1 LOAD_CONST ('Instances',) IMPORT_NAME instances IMPORT_FROM Instances STORE_NAME Instances POP_T...
from .boxes import Boxes, BoxMode, pairwise_iou from .instances import Instances from .masks import BitMasks, PolygonMasks, polygons_to_bitmask from .image_list import ImageList from .keypoints import Keypoints from .beziers import Beziers
data/gluoncv-0.10.5.post0/gluoncv/torch/data/structures/__init__.py
251
79
207,396
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_NAME __name__ LOAD_CONST '__main__' COMPARE_OP == POP_JUMP_IF_FALSE LOAD_NAME sys LOAD_ATTR stderr LOAD_METHOD write LOAD_CONST 'Using `python -m semgrep` to run Semgrep is deprecated as of 1.38.0. Please simply run `semgrep` instead.\n' CALL_METHOD PO...
import sys if __name__ == "__main__": sys.stderr.write( "Using `python -m semgrep` to run Semgrep is deprecated as of 1.38.0. Please simply run `semgrep` instead.\n" ) sys.exit(2)
data/semgrep-1.61.1/src/semgrep/__main__.py
109
79
116,960
LOAD_CONST 0 LOAD_CONST ('Enum', 'auto') IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum IMPORT_FROM auto STORE_NAME auto POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object SessionCxnType at 0x7fab7002b420, file "f.py", line 4> LOAD_CONST 'SessionCxnType' MAKE_FUNCTION LOAD_CONST 'SessionCxnType' LOAD_NAME Enum CALL_F...
from enum import Enum, auto class SessionCxnType(Enum): DEPLOYED = auto() REFINITIV_DATA = auto() REFINITIV_DATA_AND_DEPLOYED = auto() DESKTOP = auto() NONE = auto()
data/refinitiv-data-1.6.0/refinitiv/data/_core/session/_session_cxn_type.py
212
79
195,155
LOAD_CONST 'Module containing cnot-phase circuits' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('synth_cz_depth_line_mr',) IMPORT_NAME cz_depth_lnn IMPORT_FROM synth_cz_depth_line_mr STORE_NAME synth_cz_depth_line_mr POP_TOP LOAD_CONST 1 LOAD_CONST ('synth_cx_cz_depth_line_my',) IMPORT_NAME cx_cz_depth_lnn IMPORT_FROM...
"""Module containing cnot-phase circuits""" from .cz_depth_lnn import synth_cz_depth_line_mr from .cx_cz_depth_lnn import synth_cx_cz_depth_line_my from .cnot_phase_synth import synth_cnot_phase_aam
data/qiskit-1.0.0/qiskit/synthesis/linear_phase/__init__.py
197
79
283,194
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME graphql STORE_NAME graphql LOAD_CONST <code object get_root_type at 0x7fae2f397150, file "f.py", line 4> LOAD_CONST 'get_root_type' MAKE_FUNCTION STORE_NAME get_root_type LOAD_CONST None RETURN_VALUE LOAD_GLOBAL graphql LOAD_ATTR __version__ LOAD_METHOD startswith LOAD_CONST '...
import graphql def get_root_type(info): if graphql.__version__.startswith("2"): return getattr(info.schema, f"get_{info.operation.operation}_type")() return getattr(info.schema, f"{info.operation.operation.value}_type")
data/django_graphql_jwt-0.4.0/graphql_jwt/_compat.py
176
79
300,648
LOAD_CONST 0 LOAD_CONST ('symbols',) IMPORT_NAME sympy.core.symbol IMPORT_FROM symbols STORE_NAME symbols POP_TOP LOAD_CONST 0 LOAD_CONST ('exp',) IMPORT_NAME sympy.functions.elementary.exponential IMPORT_FROM exp STORE_NAME exp POP_TOP LOAD_NAME symbols LOAD_CONST 'x,y' CALL_FUNCTION UNPACK_SEQUENCE STORE_NAME x STO...
from sympy.core.symbol import symbols from sympy.functions.elementary.exponential import exp x, y = symbols("x,y") e = exp(2 * x) q = exp(3 * x) def timeit_exp_subs(): e.subs(q, y)
data/sympy-1.12/sympy/functions/elementary/benchmarks/bench_exp.py
204
79
229,447
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME dataclasses STORE_NAME dataclasses LOAD_CONST 0 LOAD_CONST ('Any', 'Callable', 'List', 'Optional', 'Union') IMPORT_NAME typing IMPORT_FROM Any STORE_NAME Any IMPORT_FROM Callable STORE_NAME Callable IMPORT_FROM List STORE_NAME List IMPORT_FROM Optional STORE_NAME Optional IMPOR...
import dataclasses from typing import Any, Callable, List, Optional, Union from onnx import ModelProto, NodeProto @dataclasses.dataclass class TestItem: func: Callable[..., Any] proto: List[Optional[Union[ModelProto, NodeProto]]]
data/onnxoptimizer-0.3.13/third_party/onnx/onnx/backend/test/runner/item.py
291
79
85,759
LOAD_CONST 0 LOAD_CONST ('Literal',) IMPORT_NAME typing_extensions IMPORT_FROM Literal STORE_NAME Literal POP_TOP LOAD_CONST 2 LOAD_CONST ('BaseModel',) IMPORT_NAME _models IMPORT_FROM BaseModel STORE_NAME BaseModel POP_TOP LOAD_CONST 1 LOAD_CONST ('ContentBlock',) IMPORT_NAME content_block IMPORT_FROM ContentBlock S...
from typing_extensions import Literal from .._models import BaseModel from .content_block import ContentBlock __all__ = ["ContentBlockStartEvent"] class ContentBlockStartEvent(BaseModel): content_block: ContentBlock index: int type: Literal["content_block_start"]
data/anthropic-0.16.0/src/anthropic/types/content_block_start_event.py
264
79
222,011
LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST 1 LOAD_CONST ('hopper',) IMPORT_NAME helper IMPORT_FROM hopper STORE_NAME hopper POP_TOP LOAD_CONST <code object test_sanity at 0x7fab8234a9c0, file "f.py", line 5> LOAD_CONST 'test_sanity...
from __future__ import annotations from .helper import hopper def test_sanity(): im = hopper() type_repr = repr(type(im.getim())) assert "PyCapsule" in type_repr assert isinstance(im.im.id, int)
data/pillow-10.2.0/Tests/test_image_getim.py
208
79
142,939
LOAD_CONST 'This program is self-checking!' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST 1 BUILD_LIST BUILD_TUPLE LOAD_CONST 2 LOAD_CONST 3 BUILD_LIST BUILD_TUPLE BUILD_LIST STORE_NAME x SETUP_LOOP to 58 LOAD_NAME range LOAD_CONST 0 LOAD_CONST 1 CALL_FUNCTION GET_ITER FOR_ITER to 56 STORE_NAME i LOAD_CONST <code objec...
"""This program is self-checking!""" x = [(0, [1]), (2, [3])] for i in range(0, 1): y = {key: val[i - 1] for (key, val) in x} assert y == {0: 1, 2: 3}
data/uncompyle6-3.9.0/test/simple_source/bug38/00_bug_dict_comp.py
218
79
441,965
LOAD_CONST 0 LOAD_CONST ('settings',) IMPORT_NAME django.conf IMPORT_FROM settings STORE_NAME settings POP_TOP LOAD_CONST 0 LOAD_CONST ('AppConf',) IMPORT_NAME appconf IMPORT_FROM AppConf STORE_NAME AppConf POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object PinaxInvitationsAppConf at 0x7f8ab6bd5d20, file "f.py", line 6...
from django.conf import settings # noqa from appconf import AppConf class PinaxInvitationsAppConf(AppConf): DEFAULT_EXPIRATION = 168 DEFAULT_INVITE_ALLOCATION = 0 class Meta: prefix = "pinax_invitations"
data/pinax-invitations-8.0.0/pinax/invitations/conf.py
294
79
426,989
LOAD_BUILD_CLASS LOAD_CONST <code object SharedCredentials at 0x7f8e44ccfc00, file "f.py", line 1> LOAD_CONST 'SharedCredentials' MAKE_FUNCTION LOAD_CONST 'SharedCredentials' CALL_FUNCTION STORE_NAME SharedCredentials LOAD_CONST None RETURN_VALUE LOAD_NAME __name__ STORE_NAME __module__ LOAD_CONST 'SharedCredentials' ...
class SharedCredentials: def __init__(self, id, host_name): self.id = id self.host_name = host_name def sign(self, request): request.parameters["key"] = self.id request.referer = "https://" + self.host_name
data/smartystreets_python_sdk-4.14.0/smartystreets_python_sdk/shared_credentials.py
272
79
422,962
LOAD_CONST 'Django application configuration.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('AppConfig',) IMPORT_NAME django.apps IMPORT_FROM AppConfig STORE_NAME AppConfig POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Select2AppConfig at 0x7f8e447b2e40, file "f.py", line 6> LOAD_CONST 'Select2AppConfig' MAKE_FUNCT...
"""Django application configuration.""" from django.apps import AppConfig class Select2AppConfig(AppConfig): """Django application configuration.""" name = "django_select2" verbose_name = "Select2" def ready(self): from . import conf # noqa
data/django_select2-8.1.2/django_select2/apps.py
260
79
113,214
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME context STORE_NAME context LOAD_CONST 0 LOAD_CONST None IMPORT_NAME paho.mqtt.publish IMPORT_FROM mqtt ROT_TWO POP_TOP IMPORT_FROM publish STORE_NAME publish POP_TOP LOAD_CONST 'paho/test/single/ô' STORE_NAME topic LOAD_CONST 'bôô' STORE_NAME payload LOAD_NAME publish LOAD_A...
import context # Ensures paho is in PYTHONPATH import paho.mqtt.publish as publish topic = "paho/test/single/ô" payload = "bôô" publish.single(topic, payload, hostname="mqtt.eclipseprojects.io")
data/paho_mqtt-2.0.0/examples/publish_utf8-27.py
118
79
273,234
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 GameController STORE_NAME GameController LOAD_BUILD_CLASS LOAD_CONST <code object GCSyntheticDeviceKeys at 0x7fab82053300, file "f.py", line 7> LOAD_CONST...
from PyObjCTools.TestSupport import ( TestCase, ) import GameController class GCSyntheticDeviceKeys(TestCase): def test_constants(self): self.assertEqual( GameController.kIOHIDGCSyntheticDeviceKey, b"GCSyntheticDevice" )
data/pyobjc-framework-GameController-10.1/PyObjCTest/test_gcsyntheticdevicekeys.py
261
79
316,183
LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME default IMPORT_STAR LOAD_CONST 'transliterate.tests.data' STORE_NAME __title__ LOAD_CONST 'Artur Barseghyan' STORE_NAME __author__ LOAD_CONST '2013-2018 Artur Barseghyan' STORE_NAME __copyright__ LOAD_CONST 'GPL 2.0/LGPL 2.1' STORE_NAME __license__ LOAD_CONST None RETURN_V...
from .default import * __title__ = "transliterate.tests.data" __author__ = "Artur Barseghyan" __copyright__ = "2013-2018 Artur Barseghyan" __license__ = "GPL 2.0/LGPL 2.1"
data/transliterate-1.10.2/src/transliterate/tests/data/__init__.py
103
79
143,534
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME jedi STORE_NAME jedi LOAD_CONST 0 LOAD_CONST ('debug',) IMPORT_NAME jedi IMPORT_FROM debug STORE_NAME debug POP_TOP LOAD_CONST <code object test_simple at 0x7f8c5d0fdc00, file "f.py", line 5> LOAD_CONST 'test_simple' MAKE_FUNCTION STORE_NAME test_simple LOAD_CONST None RETURN_...
import jedi from jedi import debug def test_simple(): jedi.set_debug_function() debug.speed("foo") debug.dbg("bar") debug.warning("baz") jedi.set_debug_function(None, False, False, False)
data/jedi-0.19.1/test/test_debug.py
196
79
420,911
LOAD_CONST 'Helpers for cross compatibility across dependency versions.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('Callable', 'Iterable') IMPORT_NAME typing IMPORT_FROM Callable STORE_NAME Callable IMPORT_FROM Iterable STORE_NAME Iterable POP_TOP LOAD_CONST 0 LOAD_CONST ('Element',) IMPORT_NAME docutils.nodes IMPO...
"""Helpers for cross compatibility across dependency versions.""" from typing import Callable, Iterable from docutils.nodes import Element def findall(node: Element) -> Callable[..., Iterable[Element]]: """Iterate through""" return getattr(node, "findall", node.traverse)
data/myst_parser-2.0.0/myst_parser/_compat.py
188
79
192,732
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME typer STORE_NAME typer LOAD_NAME typer LOAD_ATTR Argument LOAD_CONST 'World' LOAD_CONST True LOAD_CONST ('hidden',) CALL_FUNCTION BUILD_TUPLE LOAD_NAME str LOAD_CONST ('name',) BUILD_CONST_KEY_MAP LOAD_CONST <code object main at 0x7fab641e7030, file "f.py", line 4> LOAD_CONST '...
import typer def main(name: str = typer.Argument("World", hidden=True)): """ Say hi to NAME very gently, like Dirk. """ print(f"Hello {name}") if __name__ == "__main__": typer.run(main)
data/typer-0.9.0/docs_src/arguments/help/tutorial008.py
158
79
224,560
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME factory STORE_NAME factory LOAD_CONST 0 LOAD_CONST ('DjangoModelFactory',) IMPORT_NAME factory.django IMPORT_FROM DjangoModelFactory STORE_NAME DjangoModelFactory POP_TOP LOAD_CONST 1 LOAD_CONST ('Secret',) IMPORT_NAME models IMPORT_FROM Secret STORE_NAME Secret POP_TOP LOAD_...
import factory from factory.django import DjangoModelFactory from .models import Secret class SecretFactory(DjangoModelFactory): """DjangoModelFactory for object Secret.""" name = factory.Faker("name") text = factory.Faker("bs") class Meta: model = Secret
data/django-extensions-3.2.3/tests/testapp/factories.py
308
79
300,193
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'servicebus namespace private-link-resource' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7faa53250ed0, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST ...
from azure.cli.core.aaz import * @register_command_group( "servicebus namespace private-link-resource", ) class __CMDGroup(AAZCommandGroup): """Manage servicebus namespace private link resources.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/servicebus/aaz/latest/servicebus/namespace/private_link_resource/__cmd_group.py
188
79
375,816
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'servicebus namespace authorization-rule keys' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab70055ed0, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONS...
from azure.cli.core.aaz import * @register_command_group( "servicebus namespace authorization-rule keys", ) class __CMDGroup(AAZCommandGroup): """servicebus namespace authorization-rule keys""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/servicebus/aaz/latest/servicebus/namespace/authorization_rule/keys/__cmd_group.py
188
79
375,804
LOAD_CONST 'Placeholder docstring' 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 ('RLEstimator', 'RLFramework', 'RLToolkit', 'TOOLKIT_FRAMEWORK_VERSION_MAP') IMPORT_NAME sagemaker.rl.estimat...
"""Placeholder docstring""" from __future__ import absolute_import from sagemaker.rl.estimator import ( # noqa: F401 RLEstimator, RLFramework, RLToolkit, TOOLKIT_FRAMEWORK_VERSION_MAP, )
data/sagemaker-2.208.0/src/sagemaker/rl/__init__.py
165
79
318,717
LOAD_CONST 0 LOAD_CONST ('OrderedDict',) IMPORT_NAME collections IMPORT_FROM OrderedDict STORE_NAME OrderedDict POP_TOP LOAD_CONST 1 LOAD_CONST ('OperationsTransport',) IMPORT_NAME base IMPORT_FROM OperationsTransport STORE_NAME OperationsTransport POP_TOP LOAD_CONST 1 LOAD_CONST ('OperationsRestTransport',) IMPORT_N...
from collections import OrderedDict from .base import OperationsTransport from .rest import OperationsRestTransport _transport_registry = OrderedDict() _transport_registry["rest"] = OperationsRestTransport __all__ = ( "OperationsTransport", "OperationsRestTransport", )
data/google-api-core-2.17.1/google/api_core/operations_v1/transports/__init__.py
150
79
328,364
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 SPO3rdPartyAADPermissionGrant at 0x7fab82236db0, file "f.py", line 4> LOAD_CONST 'SPO3rdPartyAADPermissionGrant' MAKE_FUNCTION LOAD_CONST 'SPO3rdPartyAADPerm...
from office365.sharepoint.entity import Entity class SPO3rdPartyAADPermissionGrant(Entity): @property def entity_type_name(self): return "Microsoft.Online.SharePoint.TenantAdministration.Internal.SPO3rdPartyAADPermissionGrant"
data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/tenant/administration/internal/permission_grant.py
273
79
189,364
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys 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_NAME sys LOAD_ATTR path LOAD_METHOD append LOAD_NAME str LOAD_NAME Path LOAD_NAME __file__ ...
import sys from pathlib import Path import pytest sys.path.append(str(Path(__file__).parent)) @pytest.fixture() def app(): from proj323 import faust faust.app = faust.create_app() return faust.app
data/faust-streaming-0.10.22/tests/regression/i323/conftest.py
201
79
77,242
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME contextlib STORE_NAME contextlib LOAD_BUILD_CLASS LOAD_CONST <code object suppress at 0x7fab54105ae0, file "f.py", line 4> LOAD_CONST 'suppress' MAKE_FUNCTION LOAD_CONST 'suppress' LOAD_NAME contextlib LOAD_ATTR suppress LOAD_NAME contextlib LOAD_ATTR ContextDecorator CALL_FUNC...
import contextlib class suppress(contextlib.suppress, contextlib.ContextDecorator): """ A version of contextlib.suppress with decorator support. >>> @suppress(KeyError) ... def key_error(): ... {}[''] >>> key_error() """
data/importlib_metadata-7.0.1/tests/_context.py
177
79
185,816
LOAD_CONST '\nThis module exists only to simplify retrieving the version number of chardet\nfrom within setup.py and from chardet subpackages.\n\n:author: Dan Blanchard (dan.blanchard@gmail.com)\n' STORE_NAME __doc__ LOAD_CONST '4.0.0' STORE_NAME __version__ LOAD_NAME __version__ LOAD_METHOD split LOAD_CONST '.' CALL...
""" This module exists only to simplify retrieving the version number of chardet from within setup.py and from chardet subpackages. :author: Dan Blanchard (dan.blanchard@gmail.com) """ __version__ = "4.0.0" VERSION = __version__.split(".")
data/oci-2.122.0/src/oci/_vendor/chardet/version.py
103
79
182,387
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME json STORE_NAME json LOAD_CONST 2 LOAD_CONST ('ShopifyResource',) IMPORT_NAME base IMPORT_FROM ShopifyResource STORE_NAME ShopifyResource POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object MarketingEvent at 0x7fab41d24d20, file "f.py", line 5> LOAD_CONST 'MarketingEvent' MAKE_FU...
import json from ..base import ShopifyResource class MarketingEvent(ShopifyResource): def add_engagements(self, engagements): engagements_json = json.dumps({"engagements": engagements}) return self.post("engagements", engagements_json.encode())
data/ShopifyAPI-12.4.0/shopify/resources/marketing_event.py
257
79
216,689
LOAD_CONST 0 LOAD_CONST ('Entity',) IMPORT_NAME office365.entity IMPORT_FROM Entity STORE_NAME Entity POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object BookingAppointment at 0x7fab640fae40, file "f.py", line 4> LOAD_CONST 'BookingAppointment' MAKE_FUNCTION LOAD_CONST 'BookingAppointment' LOAD_NAME Entity CALL_FUNCTION ...
from office365.entity import Entity class BookingAppointment(Entity): """ Represents a business in Microsoft Bookings. This is the top level object in the Microsoft Bookings API. It contains business information and related business objects such as appointments, customers, services, and staff members....
data/Office365-REST-Python-Client-2.5.5/office365/booking/appointment.py
192
79
188,930
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pyarrow STORE_NAME pa LOAD_NAME pa LOAD_ATTR timestamp LOAD_CONST 'ns' LOAD_CONST 'UTC' LOAD_CONST ('tz',) CALL_FUNCTION LOAD_CONST 'datetime64[ns, UTC]' BUILD_TUPLE BUILD_LIST STORE_NAME cases SETUP_LOOP to 66 LOAD_NAME cases GET_ITER FOR_ITER to 64 UNPACK_SEQUENCE STORE_NAME...
import pyarrow as pa cases = [ (pa.timestamp("ns", tz="UTC"), "datetime64[ns, UTC]"), ] for arrow_type, pandas_type in cases: assert str(arrow_type.to_pandas_dtype()) == pandas_type
data/pyarrow-15.0.0/pyarrow/tests/arrow_7980.py
140
79
94,533
LOAD_CONST 0 LOAD_CONST ('absolute_import',) IMPORT_NAME __future__ IMPORT_FROM absolute_import STORE_NAME absolute_import POP_TOP LOAD_CONST 1 LOAD_CONST ('get_current_span',) IMPORT_NAME request_context IMPORT_FROM get_current_span STORE_NAME get_current_span POP_TOP LOAD_CONST 1 LOAD_CONST ('span_in_context',) IMP...
from __future__ import absolute_import from .request_context import get_current_span # noqa from .request_context import span_in_context # noqa from .request_context import span_in_stack_context # noqa from .local_span import traced_function # noqa
data/opentracing_instrumentation-3.3.1/opentracing_instrumentation/__init__.py
182
79
128,846
LOAD_CONST 0 LOAD_CONST ('_AutomaticOptimization',) IMPORT_NAME lightning.pytorch.loops.optimization.automatic IMPORT_FROM _AutomaticOptimization STORE_NAME _AutomaticOptimization POP_TOP LOAD_CONST 0 LOAD_CONST ('_ManualOptimization',) IMPORT_NAME lightning.pytorch.loops.optimization.manual IMPORT_FROM _ManualOptimiz...
from lightning.pytorch.loops.optimization.automatic import ( _AutomaticOptimization, ) # noqa: F401 from lightning.pytorch.loops.optimization.manual import ( _ManualOptimization, ) # noqa: F401
data/lightning-2.2.0.post0/src/lightning/pytorch/loops/optimization/__init__.py
104
79
121,680
LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME __cmd_group IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME _create 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_advertised_ro...
from .__cmd_group import * from ._create import * from ._delete import * from ._list import * from ._list_advertised_routes import * from ._list_learned_routes import * from ._show import * from ._update import * from ._wait import *
data/azure-cli-2.57.0/azure/cli/command_modules/network/aaz/latest/network/routeserver/peering/__init__.py
172
79
377,987
LOAD_CONST 0 LOAD_CONST ('setup',) IMPORT_NAME setuptools IMPORT_FROM setup STORE_NAME setup POP_TOP LOAD_NAME setup LOAD_CONST 'example' LOAD_CONST '21.12' LOAD_CONST 'Apache Software License' LOAD_CONST 'example' BUILD_LIST LOAD_CONST 'console_scripts' LOAD_CONST 'example = example:main' LOAD_CONST 'Example=exa...
from setuptools import setup setup( name="example", version="21.12", license="Apache Software License", packages=["example"], entry_points={ "console_scripts": ["example = example:main", "Example=example:main"], }, )
data/importlib_metadata-7.0.1/prepare/example/setup.py
117
79
185,823
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_CONST 1 LOAD_CONST ('ChalkFactory',) IMPORT_NAME chalk_factory IMPORT_FROM ChalkFactory STORE_NAME ChalkFactory POP_TOP LOAD_CONST 1 LOAD_CONST ('detect_color_support',) IMPORT_NAME supports_color IMPORT_FROM detect_color_support STORE_NAME detect_color...
import sys from .chalk_factory import ChalkFactory from .supports_color import detect_color_support def create_chalk() -> ChalkFactory: mode = detect_color_support(sys.stdout) return ChalkFactory(mode) chalk = create_chalk()
data/yachalk-0.1.5/yachalk/chalk_instance.py
196
79
361,426
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys 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_NAME sys LOAD_ATTR path LOAD_METHOD append LOAD_NAME str LOAD_NAME Path LOAD_NAME __file__ ...
import sys from pathlib import Path import pytest sys.path.append(str(Path(__file__).parent)) @pytest.fixture() def app(): from proj324 import faust faust.app = faust.create_app() return faust.app
data/faust-streaming-0.10.22/tests/regression/i324/conftest.py
201
79
77,236
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'servicebus topic authorization-rule keys' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab823bed20, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '_...
from azure.cli.core.aaz import * @register_command_group( "servicebus topic authorization-rule keys", ) class __CMDGroup(AAZCommandGroup): """servicebus topic authorization-rule keys""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/servicebus/aaz/latest/servicebus/topic/authorization_rule/keys/__cmd_group.py
187
79
375,770
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'servicebus queue authorization-rule keys' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab64192270, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '_...
from azure.cli.core.aaz import * @register_command_group( "servicebus queue authorization-rule keys", ) class __CMDGroup(AAZCommandGroup): """servicebus queue authorization-rule keys""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/servicebus/aaz/latest/servicebus/queue/authorization_rule/keys/__cmd_group.py
189
79
375,752
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object EducationFeedbackResourceOutcomeStatus at 0x7fae471296f0, file "f.py", line 4> LOAD_CONST 'EducationFeedbackResourceOutcomeStatus' MAKE_FUNCTION LOAD_CONST 'EducationFeedbackResourceOutc...
from enum import Enum class EducationFeedbackResourceOutcomeStatus(str, Enum): NotPublished = ("notPublished",) PendingPublish = ("pendingPublish",) Published = ("published",) FailedPublish = ("failedPublish",) UnknownFutureValue = ("unknownFutureValue",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/education_feedback_resource_outcome_status.py
212
79
259,611
LOAD_CONST 0 LOAD_CONST ('TextFileReader', 'TextParser', 'read_csv', 'read_fwf', 'read_table') IMPORT_NAME pandas.io.parsers.readers IMPORT_FROM TextFileReader STORE_NAME TextFileReader IMPORT_FROM TextParser STORE_NAME TextParser IMPORT_FROM read_csv STORE_NAME read_csv IMPORT_FROM read_fwf STORE_NAME read_fwf IMPORT_...
from pandas.io.parsers.readers import ( TextFileReader, TextParser, read_csv, read_fwf, read_table, ) __all__ = ["TextFileReader", "TextParser", "read_csv", "read_fwf", "read_table"]
data/pandas-2.2.0/pandas/io/parsers/__init__.py
144
79
171,137
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object TrainingStatus at 0x7fab820f4f60, file "f.py", line 4> LOAD_CONST 'TrainingStatus' MAKE_FUNCTION LOAD_CONST 'TrainingStatus' LOAD_NAME str LOAD_NAME Enum CALL_FUNCTION STORE_NAME Trainin...
from enum import Enum class TrainingStatus(str, Enum): Unknown = ("unknown",) Assigned = ("assigned",) InProgress = ("inProgress",) Completed = ("completed",) Overdue = ("overdue",) UnknownFutureValue = ("unknownFutureValue",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/training_status.py
194
79
260,762
LOAD_CONST 1 LOAD_CONST ('DotProductSimilarity',) IMPORT_NAME dot_product_similarity IMPORT_FROM DotProductSimilarity STORE_NAME DotProductSimilarity POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object CosineSimilarity at 0x7f8e2fe14c00, file "f.py", line 4> LOAD_CONST 'CosineSimilarity' MAKE_FUNCTION LOAD_CONST 'CosineS...
from .dot_product_similarity import DotProductSimilarity class CosineSimilarity(DotProductSimilarity): def __init__(self, **kwargs): super().__init__(normalize_embeddings=True, **kwargs) assert self.is_inverted assert self.normalize_embeddings
data/pytorch-metric-learning-2.4.1/src/pytorch_metric_learning/distances/cosine_similarity.py
300
79
394,219
LOAD_CONST 0 LOAD_CONST ('List',) IMPORT_NAME typing IMPORT_FROM List STORE_NAME List POP_TOP LOAD_CONST 0 LOAD_CONST ('syllable_tokenize',) IMPORT_NAME ssg IMPORT_FROM syllable_tokenize STORE_NAME syllable_tokenize POP_TOP LOAD_NAME str LOAD_NAME List LOAD_NAME str BINARY_SUBSCR LOAD_CONST ('text', 'return') BUILD_C...
from typing import List from ssg import syllable_tokenize def segment(text: str) -> List[str]: """ Syllable tokenizer using ssg """ if not text or not isinstance(text, str): return [] return syllable_tokenize(text)
data/pythainlp-5.0.1/pythainlp/tokenize/ssg.py
167
79
43,262
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'servicebus namespace network-rule-set' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab8204a810, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CM...
from azure.cli.core.aaz import * @register_command_group( "servicebus namespace network-rule-set", ) class __CMDGroup(AAZCommandGroup): """servicebus namespace network-rule-set""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/servicebus/aaz/latest/servicebus/namespace/network_rule_set/__cmd_group.py
189
79
375,821
LOAD_CONST 'AUTOGENERATED. DO NOT EDIT.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('VGG16',) IMPORT_NAME tf_keras.src.applications.vgg16 IMPORT_FROM VGG16 STORE_NAME VGG16 POP_TOP LOAD_CONST 0 LOAD_CONST ('decode_predictions',) IMPORT_NAME tf_keras.src.applications.vgg16 IMPORT_FROM decode_predictions STORE_NAME de...
"""AUTOGENERATED. DO NOT EDIT.""" from tf_keras.src.applications.vgg16 import VGG16 from tf_keras.src.applications.vgg16 import decode_predictions from tf_keras.src.applications.vgg16 import preprocess_input
data/tf_keras-nightly-2.17.0.dev2024022110/tf_keras/api/_v1/keras/applications/vgg16/__init__.py
158
79
165,213
LOAD_CONST 0 LOAD_CONST ('TestCase',) IMPORT_NAME unittest IMPORT_FROM TestCase STORE_NAME TestCase POP_TOP LOAD_CONST 0 LOAD_CONST ('reads', 'writes') IMPORT_NAME nbformat.v1.nbjson IMPORT_FROM reads STORE_NAME reads IMPORT_FROM writes STORE_NAME writes POP_TOP LOAD_CONST 1 LOAD_CONST ('nb0',) IMPORT_NAME nbexamples...
from unittest import TestCase from nbformat.v1.nbjson import reads, writes from .nbexamples import nb0 class TestJSON(TestCase): def test_roundtrip(self): s = writes(nb0) self.assertEqual(reads(s), nb0)
data/nbformat-5.9.2/tests/v1/test_json.py
289
79
27,079
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME struct STORE_NAME struct LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os STORE_NAME os LOAD_NAME sys LOAD_ATTR argv LOAD_CONST 1 BINARY_SUBSCR STORE_NAME filename LOAD_NAME os LOAD_ATTR path LOAD_METHOD getsize LOAD_NAM...
import struct import sys import os filename = sys.argv[1] size = os.path.getsize(filename) f = open(filename, "r") os.write(1, f.read()) f.close() os.write(1, (struct.pack("<Q", size)))
data/pyuwsgi-2.0.23.post0/attach.py
165
79
293,887
LOAD_CONST 'OCRmyPDF automatically installs these filters as plugins.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST 0 LOAD_CONST ('hookimpl',) IMPORT_NAME ocrmypdf IMPORT_FROM hookimpl STORE_NAME hookimpl POP_TOP ...
"""OCRmyPDF automatically installs these filters as plugins.""" from __future__ import annotations from ocrmypdf import hookimpl @hookimpl def filter_pdf_page( page, image_filename, output_pdf ): # pylint: disable=unused-argument return output_pdf
data/ocrmypdf-16.1.1/src/ocrmypdf/builtin_plugins/default_filters.py
149
79
136,261
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME warnings STORE_NAME warnings LOAD_NAME warnings LOAD_ATTR warn LOAD_CONST 'The module `aesara.graph.toolbox` is deprecated and has been renamed to `aesara.graph.features`' LOAD_NAME DeprecationWarning LOAD_CONST 2 LOAD_CONST ('stacklevel',) CALL_FUNCTION POP_TOP LOAD_CONST ...
import warnings warnings.warn( "The module `aesara.graph.toolbox` is deprecated " "and has been renamed to `aesara.graph.features`", DeprecationWarning, stacklevel=2, ) from aesara.graph.toolbox import *
data/aesara-2.9.3/aesara/graph/toolbox.py
106
79
323,471
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'monitor action-group test-notifications' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab70055d20, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__...
from azure.cli.core.aaz import * @register_command_group( "monitor action-group test-notifications", ) class __CMDGroup(AAZCommandGroup): """Manage action groups test-notifications.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/monitor/aaz/latest/monitor/action_group/test_notifications/__cmd_group.py
189
79
375,069
LOAD_CONST '\nAlibabaCloud provides a set of services for Alibaba Cloud 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 _AlibabaCloud at 0x7fab81fc6e40, file "f.py", line 8> LOAD_CONST '_AlibabaClo...
""" AlibabaCloud provides a set of services for Alibaba Cloud provider. """ from diagrams import Node class _AlibabaCloud(Node): _provider = "alibabacloud" _icon_dir = "resources/alibabacloud" fontcolor = "#ffffff"
data/diagrams-0.23.4/diagrams/alibabacloud/__init__.py
196
79
206,077
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME hubspot.cms.site_search IMPORT_FROM cms ROT_TWO POP_TOP IMPORT_FROM site_search STORE_NAME api_client POP_TOP LOAD_CONST 3 LOAD_CONST ('DiscoveryBase',) IMPORT_NAME discovery_base IMPORT_FROM DiscoveryBase STORE_NAME DiscoveryBase POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code obje...
import hubspot.cms.site_search as api_client from ...discovery_base import DiscoveryBase class Discovery(DiscoveryBase): @property def public_api(self) -> api_client.PublicApi: return self._configure_api_client(api_client, "PublicApi")
data/hubspot-api-client-8.2.1/hubspot/discovery/cms/site_search/discovery.py
264
79
320,813
LOAD_CONST 0 LOAD_CONST ('datetime',) IMPORT_NAME datetime IMPORT_FROM datetime STORE_NAME datetime POP_TOP LOAD_CONST 0 LOAD_CONST ('UUID',) IMPORT_NAME uuid IMPORT_FROM UUID STORE_NAME UUID POP_TOP LOAD_CONST 0 LOAD_CONST ('BaseModel',) IMPORT_NAME argilla.pydantic_v1 IMPORT_FROM BaseModel STORE_NAME BaseModel POP_...
from datetime import datetime from uuid import UUID from argilla.pydantic_v1 import BaseModel class VectorSettingsModel(BaseModel): id: UUID name: str title: str dimensions: int dataset_id: UUID inserted_at: datetime updated_at: datetime
data/argilla-1.24.0/src/argilla/client/sdk/v1/vectors_settings/models.py
304
79
249,180
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_NAME typing LOAD_ATTR TYPE_CHECKING POP_JUMP_IF_FALSE LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pulumi_kubernetes.helm.v3 IMPORT_FROM helm ROT...
from .. import _utilities import typing if typing.TYPE_CHECKING: import pulumi_kubernetes.helm.v3 as __v3 v3 = __v3 else: v3 = _utilities.lazy_import("pulumi_kubernetes.helm.v3")
data/pulumi_kubernetes-4.7.1/pulumi_kubernetes/helm/__init__.py
147
79
124,107
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 import json def main(): print(json.dumps(dict(changed=False, location="role: foo, a.py"))) if __name__ == "__main__": main()
data/ansible-core-2.16.3/test/integration/targets/module_precedence/roles_with_extension/foo/library/a.py
201
79
437,614
LOAD_CONST ' Lxml 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 lxml.etree STORE_NAME lxml LOAD_NAME lxml LOAD_ATTR etree LOAD_METHOD fromstring LO...
""" Lxml standalone basic test. """ from __future__ import print_function import lxml.etree tree = lxml.etree.fromstring("<root>value</root>") assert tree.tag == "root" assert tree.text == "value" print("OK")
data/Nuitka-2.0.3/tests/standalone/LxmlUsing.py
164
79
148,215
LOAD_CONST 1 LOAD_CONST ('ContainerServiceClient',) IMPORT_NAME _container_service_client IMPORT_FROM ContainerServiceClient STORE_NAME ContainerServiceClient POP_TOP LOAD_CONST 'ContainerServiceClient' BUILD_LIST STORE_NAME __all__ SETUP_EXCEPT to 42 LOAD_CONST 1 LOAD_CONST ('patch_sdk',) IMPORT_NAME _patch IMPORT_...
from ._container_service_client import ContainerServiceClient __all__ = ["ContainerServiceClient"] try: from ._patch import patch_sdk # type: ignore patch_sdk() except ImportError: pass from ._version import VERSION __version__ = VERSION
data/azure-mgmt-containerservice-29.1.0/azure/mgmt/containerservice/__init__.py
176
79
210,088
LOAD_CONST 0 LOAD_CONST ('parse_zone_file',) IMPORT_NAME azure.cli.command_modules.network.azure_stack.zone_file.parse_zone_file IMPORT_FROM parse_zone_file STORE_NAME parse_zone_file POP_TOP LOAD_CONST 0 LOAD_CONST ('make_zone_file',) IMPORT_NAME azure.cli.command_modules.network.azure_stack.zone_file.make_zone_file ...
from azure.cli.command_modules.network.azure_stack.zone_file.parse_zone_file import ( parse_zone_file, ) from azure.cli.command_modules.network.azure_stack.zone_file.make_zone_file import ( make_zone_file, )
data/azure-cli-2.57.0/azure/cli/command_modules/network/azure_stack/zone_file/__init__.py
120
79
377,478
LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST 0 LOAD_CONST ('OpenLineageClient', 'OpenLineageClientOptions') IMPORT_NAME openlineage.client.client IMPORT_FROM OpenLineageClient STORE_NAME OpenLineageClient IMPORT_FROM OpenLineageClient...
from __future__ import annotations from openlineage.client.client import OpenLineageClient, OpenLineageClientOptions from openlineage.client.facet import set_producer __all__ = [ "OpenLineageClient", "OpenLineageClientOptions", "set_producer", ]
data/openlineage_python-1.8.0/openlineage/client/__init__.py
161
79
24,356
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os STORE_NAME os LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_NAME sys LOAD_ATTR path LOAD_METHOD insert LOAD_CONST 0 LOAD_NAME os LOAD_ATTR path LOAD_METHOD abspath LOAD_CONST './' CALL_METHOD CALL_METHOD POP_TOP LOAD_CONST 'sphinxcontrib.apidoc' BUILD_LI...
import os import sys sys.path.insert(0, os.path.abspath("./")) extensions = ["sphinxcontrib.apidoc"] master_doc = "index" apidoc_module_dir = "foobar" apidoc_excluded_paths = ["conf.py"]
data/sphinxcontrib-apidoc-0.5.0/tests/roots/test-invalid-directory/conf.py
133
79
145,849
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 ('CosmosDB',) IMPORT_NAME prowler.providers.azure.services.cosmosdb.cosmosdb_service IMPORT_FROM CosmosDB STORE_NAME Cosmo...
from prowler.providers.azure.lib.audit_info.audit_info import azure_audit_info from prowler.providers.azure.services.cosmosdb.cosmosdb_service import CosmosDB cosmosdb_client = CosmosDB(azure_audit_info)
data/prowler-3.14.0/prowler/providers/azure/services/cosmosdb/cosmosdb_client.py
137
79
183,486
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'cosmosdb postgres cluster server' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab823bed20, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGrou...
from azure.cli.core.aaz import * @register_command_group( "cosmosdb postgres cluster server", ) class __CMDGroup(AAZCommandGroup): """Manage Azure Cosmos DB for PostgreSQL cluster servers.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/cosmosdb/aaz/latest/cosmosdb/postgres/cluster/server/__cmd_group.py
187
79
375,130
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'cosmosdb postgres configuration node' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7faa5dedbae0, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMD...
from azure.cli.core.aaz import * @register_command_group( "cosmosdb postgres configuration node", ) class __CMDGroup(AAZCommandGroup): """Manage Azure Cosmos DB for PostgreSQL node configurations.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/cosmosdb/aaz/latest/cosmosdb/postgres/configuration/node/__cmd_group.py
186
79
375,140
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'cosmosdb postgres configuration server' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7faa5dedb270, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__C...
from azure.cli.core.aaz import * @register_command_group( "cosmosdb postgres configuration server", ) class __CMDGroup(AAZCommandGroup): """Manage Azure Cosmos DB for PostgreSQL server configurations.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/cosmosdb/aaz/latest/cosmosdb/postgres/configuration/server/__cmd_group.py
187
79
375,142
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_connection IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME _list_ike_...
from .__cmd_group import * from ._delete import * from ._list import * from ._list_connection import * from ._list_ike_sas import * from ._show import * from ._show_device_config_script import * from ._update import * from ._wait import *
data/azure-cli-2.57.0/azure/cli/command_modules/network/aaz/latest/network/vpn_connection/__init__.py
172
79
377,687
LOAD_CONST 'AUTOGENERATED. DO NOT EDIT.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('VGG19',) IMPORT_NAME tf_keras.src.applications.vgg19 IMPORT_FROM VGG19 STORE_NAME VGG19 POP_TOP LOAD_CONST 0 LOAD_CONST ('decode_predictions',) IMPORT_NAME tf_keras.src.applications.vgg19 IMPORT_FROM decode_predictions STORE_NAME de...
"""AUTOGENERATED. DO NOT EDIT.""" from tf_keras.src.applications.vgg19 import VGG19 from tf_keras.src.applications.vgg19 import decode_predictions from tf_keras.src.applications.vgg19 import preprocess_input
data/tf_keras-nightly-2.17.0.dev2024022110/tf_keras/api/_v1/keras/applications/vgg19/__init__.py
158
79
165,214
LOAD_CONST 1 LOAD_CONST ('PageContentExtensionAdmin', 'PageExtensionAdmin') IMPORT_NAME admin IMPORT_FROM PageContentExtensionAdmin STORE_NAME PageContentExtensionAdmin IMPORT_FROM PageExtensionAdmin STORE_NAME PageExtensionAdmin POP_TOP LOAD_CONST 1 LOAD_CONST ('extension_pool',) IMPORT_NAME extension_pool IMPORT_FRO...
from .admin import PageContentExtensionAdmin, PageExtensionAdmin from .extension_pool import extension_pool from .models import PageContentExtension, PageExtension __all__ = [ "extension_pool", "PageContentExtension", "PageContentExtensionAdmin", "PageExtension", "PageExtensionAdmin", ]
data/django-cms-4.1.0/cms/extensions/__init__.py
165
79
87,063
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME doctest STORE_NAME doctest LOAD_CONST 0 LOAD_CONST ('Path',) IMPORT_NAME pathlib IMPORT_FROM Path STORE_NAME Path POP_TOP LOAD_CONST <code object test_readme at 0x7fab4205f9c0, file "f.py", line 5> LOAD_CONST 'test_readme' MAKE_FUNCTION STORE_NAME test_readme LOAD_CONST None R...
import doctest from pathlib import Path def test_readme(): failure_count, _ = doctest.testfile( str(Path("..") / "README.rst"), verbose=False, optionflags=doctest.ELLIPSIS ) assert failure_count == 0
data/scramp-1.4.4/test/test_readme.py
197
79
234,716
LOAD_CONST 'AUTOGENERATED. DO NOT EDIT.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('VGG19',) IMPORT_NAME tf_keras.src.applications.vgg19 IMPORT_FROM VGG19 STORE_NAME VGG19 POP_TOP LOAD_CONST 0 LOAD_CONST ('decode_predictions',) IMPORT_NAME tf_keras.src.applications.vgg19 IMPORT_FROM decode_predictions STORE_NAME de...
"""AUTOGENERATED. DO NOT EDIT.""" from tf_keras.src.applications.vgg19 import VGG19 from tf_keras.src.applications.vgg19 import decode_predictions from tf_keras.src.applications.vgg19 import preprocess_input
data/tf_keras-2.15.0/tf_keras/api/_v2/keras/applications/vgg19/__init__.py
158
79
354,127
LOAD_CONST 0 LOAD_CONST ('ABI_REQUEST_FORMATTERS',) IMPORT_NAME web3._utils.method_formatters IMPORT_FROM ABI_REQUEST_FORMATTERS STORE_NAME ABI_REQUEST_FORMATTERS POP_TOP LOAD_CONST 1 LOAD_CONST ('construct_formatting_middleware',) IMPORT_NAME formatting IMPORT_FROM construct_formatting_middleware STORE_NAME construct...
from web3._utils.method_formatters import ( ABI_REQUEST_FORMATTERS, ) from .formatting import ( construct_formatting_middleware, ) abi_middleware = construct_formatting_middleware( request_formatters=ABI_REQUEST_FORMATTERS )
data/web3-6.15.1/web3/middleware/abi.py
135
79
153,023
LOAD_BUILD_CLASS LOAD_CONST <code object C at 0x7fab703f71e0, file "f.py", line 1> LOAD_CONST 'C' MAKE_FUNCTION LOAD_CONST 'C' CALL_FUNCTION STORE_NAME C LOAD_CONST None RETURN_VALUE LOAD_NAME __name__ STORE_NAME __module__ LOAD_CONST 'C' STORE_NAME __qualname__ LOAD_NAME e1 LOAD_NAME r1 LOAD_CONST ('x', 'return') BU...
class C: def f(self, x: e1) -> r1: pass def g(self) -> function: def f( x, ): # gets ignored by pytype but fixer sees it, generates warning (FIXME?) return 1 return f
data/pytype-2024.2.13/pytype/tools/merge_pyi/test_data/scope.pep484.py
273
79
353,306
LOAD_CONST 0 LOAD_CONST ('Signal',) IMPORT_NAME server.dispatch IMPORT_FROM Signal STORE_NAME Signal POP_TOP LOAD_NAME Signal LOAD_CONST 'environ' BUILD_LIST LOAD_CONST ('providing_args',) CALL_FUNCTION STORE_NAME request_started LOAD_NAME Signal CALL_FUNCTION STORE_NAME request_finished LOAD_NAME Signal LOAD_CONST ...
from server.dispatch import Signal request_started = Signal(providing_args=["environ"]) request_finished = Signal() got_request_exception = Signal(providing_args=["request"]) setting_changed = Signal(providing_args=["setting", "value", "enter"])
data/os_sys-2.1.4/server/core/signals.py
141
79
247,662
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'network application-gateway address-pool' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab4130c780, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '_...
from azure.cli.core.aaz import * @register_command_group( "network application-gateway address-pool", ) class __CMDGroup(AAZCommandGroup): """Manage address pools of an application gateway.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/network/aaz/latest/network/application_gateway/address_pool/__cmd_group.py
189
79
378,497
LOAD_CONST 'webtest.sel is now in a separate package name webtest-selenium' STORE_NAME __doc__ LOAD_BUILD_CLASS LOAD_CONST <code object SeleniumApp at 0x7faad43f1ed0, file "f.py", line 4> LOAD_CONST 'SeleniumApp' MAKE_FUNCTION LOAD_CONST 'SeleniumApp' CALL_FUNCTION STORE_NAME SeleniumApp LOAD_CONST <code object selen...
__doc__ = "webtest.sel is now in a separate package name webtest-selenium" class SeleniumApp: def __init__(self, *args, **kwargs): raise ImportError(__doc__) def selenium(*args, **kwargs): raise ImportError(__doc__)
data/WebTest-3.0.0/webtest/sel.py
267
79
87,426
LOAD_CONST 0 LOAD_CONST ('TestCase', 'min_os_level') IMPORT_NAME PyObjCTools.TestSupport IMPORT_FROM TestCase STORE_NAME TestCase IMPORT_FROM min_os_level STORE_NAME min_os_level POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME WebKit STORE_NAME WebKit LOAD_BUILD_CLASS LOAD_CONST <code object TestDOMEventListener at ...
from PyObjCTools.TestSupport import TestCase, min_os_level import WebKit # noqa: F401 class TestDOMEventListener(TestCase): @min_os_level("10.10") def testProtocols(self): self.assertProtocolExists("DOMEventListener")
data/pyobjc-framework-WebKit-10.1/PyObjCTest/test_domeventlistener.py
261
79
418,837
LOAD_CONST '\nThis module exists only to simplify retrieving the version number of chardet\nfrom within setup.py and from chardet subpackages.\n\n:author: Dan Blanchard (dan.blanchard@gmail.com)\n' STORE_NAME __doc__ LOAD_CONST '3.0.4' STORE_NAME __version__ LOAD_NAME __version__ LOAD_METHOD split LOAD_CONST '.' CALL...
""" This module exists only to simplify retrieving the version number of chardet from within setup.py and from chardet subpackages. :author: Dan Blanchard (dan.blanchard@gmail.com) """ __version__ = "3.0.4" VERSION = __version__.split(".")
data/aliyun-python-sdk-core-2.14.0/aliyunsdkcore/vendored/requests/packages/chardet/version.py
103
79
217,139
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME torch STORE_NAME torch LOAD_CONST 1 LOAD_CONST ('FairseqDataset',) IMPORT_NAME IMPORT_FROM FairseqDataset STORE_NAME FairseqDataset POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object IdDataset at 0x7f8af11f1390, file "f.py", line 6> LOAD_CONST 'IdDataset' MAKE_FUNCTION LOAD_CONS...
import torch from . import FairseqDataset class IdDataset(FairseqDataset): def __getitem__(self, index): return index def __len__(self): return 0 def collater(self, samples): return torch.tensor(samples)
data/fairseq-0.12.2/fairseq/data/id_dataset.py
333
79
119,948
LOAD_CONST 0 LOAD_CONST ('DateTimeField', 'Func', 'UUIDField') IMPORT_NAME server.db.models IMPORT_FROM DateTimeField STORE_NAME DateTimeField IMPORT_FROM Func STORE_NAME Func IMPORT_FROM UUIDField STORE_NAME UUIDField POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object RandomUUID at 0x7fae2f3b3c90, file "f.py", line 4> ...
from server.db.models import DateTimeField, Func, UUIDField class RandomUUID(Func): template = "GEN_RANDOM_UUID()" output_field = UUIDField() class TransactionNow(Func): template = "CURRENT_TIMESTAMP" output_field = DateTimeField()
data/os_sys-2.1.4/server/contrib/postgres/functions.py
287
79
247,432
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_NAME typing LOAD_ATTR TYPE_CHECKING POP_JUMP_IF_FALSE LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pulumi_kubernetes.core.v1 IMPORT_FROM core ROT...
from .. import _utilities import typing if typing.TYPE_CHECKING: import pulumi_kubernetes.core.v1 as __v1 v1 = __v1 else: v1 = _utilities.lazy_import("pulumi_kubernetes.core.v1")
data/pulumi_kubernetes-4.7.1/pulumi_kubernetes/core/__init__.py
146
79
124,259
LOAD_BUILD_CLASS LOAD_CONST <code object OktaJWTBaseException at 0x7fab82360a50, file "f.py", line 1> LOAD_CONST 'OktaJWTBaseException' MAKE_FUNCTION LOAD_CONST 'OktaJWTBaseException' LOAD_NAME Exception CALL_FUNCTION STORE_NAME OktaJWTBaseException LOAD_BUILD_CLASS LOAD_CONST <code object JWKException at 0x7fab82360c...
class OktaJWTBaseException(Exception): pass class JWKException(OktaJWTBaseException): pass class JWTValidationException(OktaJWTBaseException): pass class JWTInvalidConfigException(OktaJWTBaseException): pass
data/okta_jwt_verifier-0.2.4/okta_jwt_verifier/exceptions.py
445
79
105,294
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'eventhubs eventhub authorization-rule' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab700550c0, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CM...
from azure.cli.core.aaz import * @register_command_group( "eventhubs eventhub authorization-rule", ) class __CMDGroup(AAZCommandGroup): """eventhub authorization rule""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/eventhub/authorization_rule/__cmd_group.py
189
79
374,754
LOAD_CONST '\nThis module exists only to simplify retrieving the version number of chardet\nfrom within setup.py and from chardet subpackages.\n\n:author: Dan Blanchard (dan.blanchard@gmail.com)\n' STORE_NAME __doc__ LOAD_CONST '3.0.4' STORE_NAME __version__ LOAD_NAME __version__ LOAD_METHOD split LOAD_CONST '.' CALL...
""" This module exists only to simplify retrieving the version number of chardet from within setup.py and from chardet subpackages. :author: Dan Blanchard (dan.blanchard@gmail.com) """ __version__ = "3.0.4" VERSION = __version__.split(".")
data/aliyun-python-sdk-core-v3-2.13.33/aliyunsdkcore/vendored/requests/packages/chardet/version.py
103
79
404,894
LOAD_CONST 'AUTOGENERATED. DO NOT EDIT.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('VGG19',) IMPORT_NAME tf_keras.src.applications.vgg19 IMPORT_FROM VGG19 STORE_NAME VGG19 POP_TOP LOAD_CONST 0 LOAD_CONST ('decode_predictions',) IMPORT_NAME tf_keras.src.applications.vgg19 IMPORT_FROM decode_predictions STORE_NAME de...
"""AUTOGENERATED. DO NOT EDIT.""" from tf_keras.src.applications.vgg19 import VGG19 from tf_keras.src.applications.vgg19 import decode_predictions from tf_keras.src.applications.vgg19 import preprocess_input
data/tf_keras-2.15.0/tf_keras/api/_v1/keras/applications/vgg19/__init__.py
158
79
354,063
LOAD_CONST 1 LOAD_CONST ('AtlasClient', 'PurviewClient') IMPORT_NAME client IMPORT_FROM AtlasClient STORE_NAME AtlasClient IMPORT_FROM PurviewClient STORE_NAME PurviewClient POP_TOP LOAD_CONST 1 LOAD_CONST ('AtlasClassification', 'AtlasEntity', 'AtlasProcess') IMPORT_NAME entity IMPORT_FROM AtlasClassification STORE_N...
from .client import AtlasClient, PurviewClient from .entity import AtlasClassification, AtlasEntity, AtlasProcess from .typedef import ( AtlasAttributeDef, ClassificationTypeDef, EntityTypeDef, RelationshipTypeDef, TypeCategory, ) from .util import AtlasException
data/pyapacheatlas-0.16.0/pyapacheatlas/core/__init__.py
231
79
353,556
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 data_policy IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME data_policy_iam_binding IMPORT_STAR ...
from .. import _utilities import typing from .data_policy import * from .data_policy_iam_binding import * from .data_policy_iam_member import * from .data_policy_iam_policy import * from .get_iam_policy import * from ._inputs import * from . import outputs
data/pulumi_gcp-7.9.0/pulumi_gcp/bigquerydatapolicy/__init__.py
189
79
445,675
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object NAAction at 0x7faac02be1e0, file "f.py", line 4> LOAD_CONST 'NAAction' MAKE_FUNCTION LOAD_CONST 'NAAction' LOAD_NAME Enum CALL_FUNCTION STORE_NAME NAAction LOAD_BUILD_CLASS LOAD_CONST <...
from enum import Enum class NAAction(Enum): DROP = "drop" RAISE = "raise" IGNORE = "ignore" class ClusterBy(Enum): NONE = "none" NUMERICAL_FACTORS = "numerical_factors"
data/formulaic-1.0.1/formulaic/materializers/types/enums.py
269
79
94,292
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'network application-gateway identity' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab54036540, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMD...
from azure.cli.core.aaz import * @register_command_group( "network application-gateway identity", ) class __CMDGroup(AAZCommandGroup): """Manage the managed service identity of an application gateway.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/network/aaz/latest/network/application_gateway/identity/__cmd_group.py
189
79
378,565
LOAD_CONST 0 LOAD_CONST ('Dict',) IMPORT_NAME typing IMPORT_FROM Dict STORE_NAME Dict POP_TOP LOAD_CONST 0 LOAD_CONST ('AccountRegionBundle', 'BaseStore', 'LocalAttribute') IMPORT_NAME localstack.services.stores IMPORT_FROM AccountRegionBundle STORE_NAME AccountRegionBundle IMPORT_FROM BaseStore STORE_NAME BaseStore I...
from typing import Dict from localstack.services.stores import AccountRegionBundle, BaseStore, LocalAttribute class EventsStore(BaseStore): rule_scheduled_jobs: Dict[str, str] = LocalAttribute(default=dict) events_stores = AccountRegionBundle("events", EventsStore)
data/localstack-core-3.1.0/localstack/services/events/models.py
257
79
225,561
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os STORE_NAME os LOAD_CONST 0 LOAD_CONST ('__version__',) IMPORT_NAME workos.__about__ IMPORT_FROM __version__ STORE_NAME __version__ POP_TOP LOAD_CONST 0 LOAD_CONST ('client',) IMPORT_NAME workos.client IMPORT_FROM client STORE_NAME client POP_TOP LOAD_NAME os LOAD_METHOD ge...
import os from workos.__about__ import __version__ from workos.client import client api_key = os.getenv("WORKOS_API_KEY") client_id = os.getenv("WORKOS_CLIENT_ID") base_api_url = "https://api.workos.com/"
data/workos-2.2.0/workos/__init__.py
149
79
251,745
LOAD_CONST '\n lesscpy LESS tests.\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST None IMPORT_NAME unittest STORE_NAME unittest LOAD_CONST 0 LOAD_CONST ('find_and_load_cases',) IMPORT_NAME test.core IMPORT_FROM find_and_load_cases STORE_NAME find_and_load_cases POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object LessTes...
""" lesscpy LESS tests. """ import unittest from test.core import find_and_load_cases class LessTestCase(unittest.TestCase): pass find_and_load_cases(LessTestCase, less_dir="less", css_dir="css")
data/lesscpy-0.15.1/test/test_less.py
221
79
366,497
LOAD_CONST 0 LOAD_CONST ('Signal',) IMPORT_NAME server.dispatch IMPORT_FROM Signal STORE_NAME Signal POP_TOP LOAD_NAME Signal LOAD_CONST 'request' LOAD_CONST 'user' BUILD_LIST LOAD_CONST ('providing_args',) CALL_FUNCTION STORE_NAME user_logged_in LOAD_NAME Signal LOAD_CONST 'credentials' LOAD_CONST 'request' BUILD_LI...
from server.dispatch import Signal user_logged_in = Signal(providing_args=["request", "user"]) user_login_failed = Signal(providing_args=["credentials", "request"]) user_logged_out = Signal(providing_args=["request", "user"])
data/os_sys-2.1.4/server/contrib/auth/signals.py
139
79
247,489
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME logging STORE_NAME logging LOAD_CONST 0 LOAD_CONST ('asyncio_config',) IMPORT_NAME pyroute2.config.asyncio IMPORT_FROM asyncio_config STORE_NAME asyncio_config POP_TOP LOAD_NAME logging LOAD_METHOD getLogger LOAD_NAME __name__ CALL_METHOD STORE_NAME log LOAD_NAME log LOAD_MET...
import logging from pyroute2.config.asyncio import asyncio_config log = logging.getLogger(__name__) log.warning("Please use pyroute2.config.asyncio.asyncio_config") log.warning("The eventlet module will be dropped soon ") eventlet_config = asyncio_config
data/pyroute2-0.7.12/pyroute2/config/eventlet.py
142
79
137,256
LOAD_CONST 0 LOAD_CONST ('File',) IMPORT_NAME mkdocs.structure.files IMPORT_FROM File STORE_NAME File POP_TOP LOAD_CONST <code object pytest_assertrepr_compare at 0x7fab41499a50, file "f.py", line 4> LOAD_CONST 'pytest_assertrepr_compare' MAKE_FUNCTION STORE_NAME pytest_assertrepr_compare LOAD_CONST None RETURN_VALUE ...
from mkdocs.structure.files import File def pytest_assertrepr_compare(op, left, right): if isinstance(left, File) and isinstance(right, File) and op == "==": return [f"File({left.src_path}) != File({right.src_path})"]
data/mkdocs_literate_nav-0.6.1/tests/conftest.py
186
79
354,630