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 None IMPORT_NAME pytest STORE_NAME pytest LOAD_NAME pytest LOAD_ATTR mark LOAD_ATTR order LOAD_CONST 'Test2' LOAD_CONST ('after',) CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object Test1 at 0x7f8aefeaf540, file "f.py", line 4> LOAD_CONST 'Test1' MAKE_FUNCTION LOAD_CONST 'Test1' CALL_FUNCTI...
import pytest @pytest.mark.order(after="Test2") class Test1: def test_1(self): assert True def test_2(self): assert True class Test2: def test_1(self): assert True def test_2(self): assert True
data/pytest-order-1.2.0/example/test_relative_class_marker.py
487
88
115,095
LOAD_CONST 'DO NOT EDIT.\n\nThis file was autogenerated. Do not edit it by hand,\nsince your modifications would be overwritten.\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('deserialize_keras_object',) IMPORT_NAME keras_core.src.legacy.saving.serialization IMPORT_FROM deserialize_keras_object STORE_NAME deserialize...
"""DO NOT EDIT. This file was autogenerated. Do not edit it by hand, since your modifications would be overwritten. """ from keras_core.src.legacy.saving.serialization import deserialize_keras_object from keras_core.src.legacy.saving.serialization import serialize_keras_object
data/keras-core-0.1.7/keras_core/utils/legacy/__init__.py
158
88
385,600
LOAD_CONST 'Errors for the Transmission component.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('HomeAssistantError',) IMPORT_NAME homeassistant.exceptions IMPORT_FROM HomeAssistantError STORE_NAME HomeAssistantError POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object AuthenticationError at 0x7fab80147270, file "f.py", ...
"""Errors for the Transmission component.""" from homeassistant.exceptions import HomeAssistantError class AuthenticationError(HomeAssistantError): """Wrong Username or Password.""" class CannotConnect(HomeAssistantError): """Unable to connect to client.""" class UnknownError(HomeAssistantError): """...
data/homeassistant-2024.2.2/homeassistant/components/transmission/errors.py
375
88
297,666
LOAD_CONST 0 LOAD_CONST ('Parser',) IMPORT_NAME docutils.parsers IMPORT_FROM Parser STORE_NAME Parser POP_TOP LOAD_CONST 0 LOAD_CONST ('nodes',) IMPORT_NAME docutils IMPORT_FROM nodes STORE_NAME nodes POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Parser at 0x7f8e2fb43390, file "f.py", line 5> LOAD_CONST 'Parser' M...
from docutils.parsers import Parser from docutils import nodes class Parser(Parser): def parse(self, input, document): section = nodes.section(ids=["id1"]) section += nodes.title("Generated section", "Generated section") document += section def get_transforms(self): return []
data/sphinxcontrib_websupport-1.2.7/tests/roots/test-root/root/parsermod.py
318
88
398,037
LOAD_CONST 1 LOAD_CONST ('DetLocalVisualizer', 'TrackLocalVisualizer') IMPORT_NAME local_visualizer IMPORT_FROM DetLocalVisualizer STORE_NAME DetLocalVisualizer IMPORT_FROM TrackLocalVisualizer STORE_NAME TrackLocalVisualizer POP_TOP LOAD_CONST 1 LOAD_CONST ('get_palette', 'jitter_color', 'palette_val') IMPORT_NAME pa...
from .local_visualizer import DetLocalVisualizer, TrackLocalVisualizer from .palette import get_palette, jitter_color, palette_val __all__ = [ "palette_val", "get_palette", "DetLocalVisualizer", "jitter_color", "TrackLocalVisualizer", ]
data/mmdet-3.3.0/mmdet/visualization/__init__.py
175
88
150,564
LOAD_CONST <code object raise_with_traceback at 0x7fab41ed0420, file "f.py", line 1> LOAD_CONST 'raise_with_traceback' MAKE_FUNCTION STORE_NAME raise_with_traceback LOAD_CONST None RETURN_VALUE LOAD_FAST exc_type LOAD_FAST args LOAD_FAST kwargs CALL_FUNCTION LOAD_METHOD with_traceback LOAD_FAST traceback CALL_METHOD R...
def raise_with_traceback(exc_type, traceback, *args, **kwargs): """ Raise a new exception of type `exc_type` with an existing `traceback`. All additional (keyword-)arguments are forwarded to `exc_type` """ raise exc_type(*args, **kwargs).with_traceback(traceback)
data/readability-lxml-0.8.1/readability/compat/three.py
96
88
79,382
LOAD_CONST 'spacy' STORE_NAME __title__ LOAD_CONST '3.7.4' STORE_NAME __version__ LOAD_CONST 'https://github.com/explosion/spacy-models/releases/download' STORE_NAME __download_url__ LOAD_CONST 'https://raw.githubusercontent.com/explosion/spacy-models/master/compatibility.json' STORE_NAME __compatibility__ LOAD_CONS...
__title__ = "spacy" __version__ = "3.7.4" __download_url__ = "https://github.com/explosion/spacy-models/releases/download" __compatibility__ = ( "https://raw.githubusercontent.com/explosion/spacy-models/master/compatibility.json" )
data/spacy-3.7.4/spacy/about.py
98
88
147,283
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME typer STORE_NAME typer LOAD_NAME typer LOAD_ATTR Argument LOAD_CONST 'World' LOAD_CONST 'Who to greet' LOAD_CONST False LOAD_CONST ('help', 'show_default') CALL_FUNCTION BUILD_TUPLE LOAD_NAME str LOAD_CONST ('name',) BUILD_CONST_KEY_MAP LOAD_CONST <code object main at 0x7fab641...
import typer def main(name: str = typer.Argument("World", help="Who to greet", show_default=False)): """ 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/tutorial004.py
169
88
224,550
LOAD_CONST -0.26268660809250016 LOAD_CONST -3.14e+100 LOAD_CONST -3.14e+100 LOAD_CONST -1.4652633398537678 LOAD_CONST ('B', 'E', 'M', 'S') BUILD_CONST_KEY_MAP STORE_NAME P LOAD_CONST None RETURN_VALUE
P = { "B": -0.26268660809250016, "E": -3.14e100, "M": -3.14e100, "S": -1.4652633398537678, }
data/jieba-0.42.1/jieba/finalseg/prob_start.py
94
88
24,767
LOAD_CONST 0 LOAD_CONST ('migrations',) IMPORT_NAME django.db IMPORT_FROM migrations STORE_NAME migrations POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Migration at 0x7faa7c16a270, file "f.py", line 4> LOAD_CONST 'Migration' MAKE_FUNCTION LOAD_CONST 'Migration' LOAD_NAME migrations LOAD_ATTR Migration CALL_FUNCTIO...
from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("snippetstests", "0009_filterablesnippet_some_date"), ] operations = [ migrations.DeleteModel( name="FilterableSnippet", ), ]
data/wagtail-6.0.1/wagtail/test/snippets/migrations/0010_delete_filterablesnippet.py
188
88
200,595
LOAD_CONST "Basic settings for AutoAPI projects.\n\nYou shouldn't need to touch this.\n" STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os 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 S...
"""Basic settings for AutoAPI projects. You shouldn't need to touch this. """ import os SITE_ROOT = os.path.dirname(os.path.realpath(__file__)) TEMPLATE_DIR = os.path.join(SITE_ROOT, "templates") API_ROOT = "autoapi"
data/sphinx-autoapi-3.0.0/autoapi/settings.py
131
88
348,128
LOAD_CONST 0 LOAD_CONST ('admin',) IMPORT_NAME django.contrib IMPORT_FROM admin STORE_NAME admin POP_TOP LOAD_CONST 0 LOAD_CONST ('views',) IMPORT_NAME django.contrib.staticfiles IMPORT_FROM views STORE_NAME views POP_TOP LOAD_CONST 0 LOAD_CONST ('include', 'path') IMPORT_NAME django.urls IMPORT_FROM include STORE_NA...
from django.contrib import admin from django.contrib.staticfiles import views from django.urls import include, path urlpatterns = [ path("admin/", admin.site.urls), path("", include("django_restframework_gis_tests.urls")), path("static/<path>", views.serve), ]
data/djangorestframework-gis-1.0/tests/urls.py
170
88
242,808
LOAD_CONST 'Constants for the Yale Access Bluetooth integration.' STORE_NAME __doc__ LOAD_CONST 'yalexs_ble' STORE_NAME DOMAIN LOAD_CONST 'local_name' STORE_NAME CONF_LOCAL_NAME LOAD_CONST 'key' STORE_NAME CONF_KEY LOAD_CONST 'slot' STORE_NAME CONF_SLOT LOAD_CONST 'always_connected' STORE_NAME CONF_ALWAYS_CONNECTE...
"""Constants for the Yale Access Bluetooth integration.""" DOMAIN = "yalexs_ble" CONF_LOCAL_NAME = "local_name" CONF_KEY = "key" CONF_SLOT = "slot" CONF_ALWAYS_CONNECTED = "always_connected" DEVICE_TIMEOUT = 55
data/homeassistant-2024.2.2/homeassistant/components/yalexs_ble/const.py
114
88
295,780
LOAD_CONST 0 LOAD_CONST ('_',) IMPORT_NAME neutron_lib._i18n IMPORT_FROM _ STORE_NAME _ POP_TOP LOAD_CONST 0 LOAD_CONST ('exceptions',) IMPORT_NAME neutron_lib IMPORT_FROM exceptions STORE_NAME exceptions POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object SegmentsSetInConjunctionWithProviders at 0x7fab800ab150, file "f...
from neutron_lib._i18n import _ from neutron_lib import exceptions class SegmentsSetInConjunctionWithProviders(exceptions.InvalidInput): message = _("Segments and provider values cannot both be set.") class SegmentsContainDuplicateEntry(exceptions.InvalidInput): message = _("Duplicate segment entry in reque...
data/neutron-lib-3.10.0/neutron_lib/exceptions/multiprovidernet.py
344
88
385,064
LOAD_CONST 'Constants for the A. O. Smith integration.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('timedelta',) IMPORT_NAME datetime IMPORT_FROM timedelta STORE_NAME timedelta POP_TOP LOAD_CONST 'aosmith' STORE_NAME DOMAIN LOAD_NAME timedelta LOAD_CONST 30 LOAD_CONST ('seconds',) CALL_FUNCTION STORE_NAME REGULAR_I...
"""Constants for the A. O. Smith integration.""" from datetime import timedelta DOMAIN = "aosmith" REGULAR_INTERVAL = timedelta(seconds=30) FAST_INTERVAL = timedelta(seconds=1) ENERGY_USAGE_INTERVAL = timedelta(minutes=10)
data/homeassistant-2024.2.2/homeassistant/components/aosmith/const.py
148
88
296,639
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME plotly.validators STORE_NAME plotly LOAD_BUILD_CLASS LOAD_CONST <code object LayoutValidator at 0x7fab700f1d20, file "f.py", line 4> LOAD_CONST 'LayoutValidator' MAKE_FUNCTION LOAD_CONST 'LayoutValidator' LOAD_NAME plotly LOAD_ATTR validators LOAD_ATTR LayoutValidator CALL_FUNC...
import plotly.validators class LayoutValidator(plotly.validators.LayoutValidator): def __init__(self, plotly_name="layout", parent_name="frame", **kwargs): super(LayoutValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, **kwargs )
data/plotly-5.19.0/plotly/validators/frame/_layout.py
262
88
35,199
LOAD_CONST '../_base_/models/mask-rcnn_r50-caffe-c4.py' LOAD_CONST '../_base_/datasets/coco_instance.py' LOAD_CONST '../_base_/schedules/schedule_1x.py' LOAD_CONST '../_base_/default_runtime.py' BUILD_LIST STORE_NAME _base_ LOAD_CONST None RETURN_VALUE
_base_ = [ "../_base_/models/mask-rcnn_r50-caffe-c4.py", "../_base_/datasets/coco_instance.py", "../_base_/schedules/schedule_1x.py", "../_base_/default_runtime.py", ]
data/mmdet-3.3.0/mmdet/.mim/configs/mask_rcnn/mask-rcnn_r50-caffe-c4_1x_coco.py
94
88
151,280
LOAD_CONST 0 LOAD_CONST ('Parser',) IMPORT_NAME braintree.util.parser IMPORT_FROM Parser STORE_NAME Parser POP_TOP LOAD_CONST 0 LOAD_CONST ('Generator',) IMPORT_NAME braintree.util.generator IMPORT_FROM Generator STORE_NAME Generator POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object XmlUtil at 0x7f8e2fec31e0, file "f....
from braintree.util.parser import Parser from braintree.util.generator import Generator class XmlUtil(object): @staticmethod def xml_from_dict(dict): return Generator(dict).generate() @staticmethod def dict_from_xml(xml): return Parser(xml).parse()
data/braintree-4.26.0/braintree/util/xml_util.py
317
88
327,811
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST 0 LOAD_CONST ('EasyProcess',) IMPORT_NAME easyprocess IMPORT_FROM EasyProcess STORE_NAME EasyProcess POP_TOP LOAD_NAME pytest LOAD_ATTR mark LOAD_METHOD timeout LOAD_CONST 1000 CALL_METHOD LOAD_CONST <code object test_timeout at 0x7f8e2fe3c5...
import pytest from easyprocess import EasyProcess @pytest.mark.timeout(1000) def test_timeout(): # pragma: no cover for x in range(1000): print("index=", x) assert EasyProcess("sleep 5").call(timeout=0.05).return_code != 0
data/EasyProcess-1.1/tests/test_stress2.py
227
88
396,750
LOAD_CONST 0 LOAD_CONST ('SystemRandom',) IMPORT_NAME random IMPORT_FROM SystemRandom STORE_NAME SystemRandom POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME string STORE_NAME string LOAD_NAME string LOAD_ATTR ascii_letters LOAD_NAME string LOAD_ATTR digits BINARY_ADD STORE_NAME LETTERS_AND_DIGITS LOAD_CONST (30,) ...
from random import SystemRandom import string LETTERS_AND_DIGITS = string.ascii_letters + string.digits def generate_random_string(length=30): rand = SystemRandom() return "".join(rand.choice(LETTERS_AND_DIGITS) for _ in range(length))
data/Flask-AppBuilder-4.4.0/flask_appbuilder/security/utils.py
277
88
317,356
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME unittest STORE_NAME unittest LOAD_BUILD_CLASS LOAD_CONST <code object ErrorTestCase1 at 0x7f8ab706f930, file "f.py", line 4> LOAD_CONST 'ErrorTestCase1' MAKE_FUNCTION LOAD_CONST 'ErrorTestCase1' LOAD_NAME unittest LOAD_ATTR TestCase CALL_FUNCTION STORE_NAME ErrorTestCase1 LOAD...
import unittest class ErrorTestCase1(unittest.TestCase): layer = "layers.LayerA" def test(self): self.assertTrue(False) class ErrorTestCase2(unittest.TestCase): layer = "layers.LayerB" def test(self): self.assertTrue(False)
data/zope.testrunner-6.3.1/src/zope/testrunner/tests/testrunner-ex-37/stop_on_error.py
377
88
115,742
LOAD_CONST 1 LOAD_CONST ('corners_to_keypoints',) IMPORT_NAME helpers IMPORT_FROM corners_to_keypoints STORE_NAME corners_to_keypoints POP_TOP LOAD_CONST 1 LOAD_CONST ('FeatureDetector_create',) IMPORT_NAME factories IMPORT_FROM FeatureDetector_create STORE_NAME FeatureDetector_create POP_TOP LOAD_CONST 1 LOAD_CONST ...
from .helpers import corners_to_keypoints from .factories import FeatureDetector_create from .factories import DescriptorExtractor_create from .factories import DescriptorMatcher_create from .dense import DENSE from .gftt import GFTT from .harris import HARRIS from .rootsift import RootSIFT
data/imutils-0.5.4/imutils/feature/__init__.py
274
88
374,199
LOAD_CONST 0 LOAD_CONST ('l3_ext_gw_mode',) IMPORT_NAME neutron_lib.api.definitions IMPORT_FROM l3_ext_gw_mode STORE_NAME l3_ext_gw_mode POP_TOP LOAD_CONST 0 LOAD_CONST ('base',) IMPORT_NAME neutron_lib.tests.unit.api.definitions IMPORT_FROM base STORE_NAME base POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object L3Exte...
from neutron_lib.api.definitions import l3_ext_gw_mode from neutron_lib.tests.unit.api.definitions import base class L3ExtendedGatewayModeDefinitionTestCase(base.DefinitionBaseTestCase): extension_module = l3_ext_gw_mode extension_attributes = ("external_gateway_info",)
data/neutron-lib-3.10.0/neutron_lib/tests/unit/api/definitions/test_l3_ext_gw_mode.py
255
88
384,993
LOAD_CONST 'DO NOT EDIT.\n\nThis file was autogenerated. Do not edit it by hand,\nsince your modifications would be overwritten.\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('deserialize_keras_object',) IMPORT_NAME keras_core.src.legacy.saving.serialization IMPORT_FROM deserialize_keras_object STORE_NAME deserialize...
"""DO NOT EDIT. This file was autogenerated. Do not edit it by hand, since your modifications would be overwritten. """ from keras_core.src.legacy.saving.serialization import deserialize_keras_object from keras_core.src.legacy.saving.serialization import serialize_keras_object
data/keras-core-0.1.7/keras_core/legacy/saving/__init__.py
158
88
385,606
SETUP_ANNOTATIONS LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST 0 LOAD_CONST ('web',) IMPORT_NAME tornado IMPORT_FROM web STORE_NAME web POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object HealthHandler at 0x7f8af162e930, file "f.py", li...
from __future__ import annotations from tornado import web class HealthHandler(web.RequestHandler): def get(self): self.write("ok") self.set_header("Content-Type", "text/plain; charset=utf-8") routes: list[tuple] = [("/health", HealthHandler, {})]
data/distributed-2024.2.0/distributed/http/health.py
288
88
117,573
LOAD_CONST 1 LOAD_CONST ('TFGraphBuilderFactory',) IMPORT_NAME _tf_graph_builders.graph_builders IMPORT_FROM TFGraphBuilderFactory STORE_NAME TFGraphBuilderFactory POP_TOP LOAD_CONST 1 LOAD_CONST ('TFGraphBuilderFactory',) IMPORT_NAME _tf_graph_builders_1x.graph_builders IMPORT_FROM TFGraphBuilderFactory STORE_NAME TF...
from ._tf_graph_builders.graph_builders import TFGraphBuilderFactory from ._tf_graph_builders_1x.graph_builders import ( TFGraphBuilderFactory as TFGraphBuilderFactory1x, ) tf_graph = TFGraphBuilderFactory() tf_graph_1x = TFGraphBuilderFactory1x()
data/spark-nlp-5.2.3/sparknlp/training/tfgraphs.py
134
88
418,095
LOAD_CONST 'Model querysets.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('models',) IMPORT_NAME django.db IMPORT_FROM models STORE_NAME models POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object PeriodicTaskQuerySet at 0x7f8e2ff25a50, file "f.py", line 6> LOAD_CONST 'PeriodicTaskQuerySet' MAKE_FUNCTION LOAD_CONST 'Peri...
"""Model querysets.""" from django.db import models class PeriodicTaskQuerySet(models.QuerySet): """QuerySet for PeriodicTask.""" def enabled(self): return self.filter(enabled=True).prefetch_related( "interval", "crontab", "solar", "clocked" )
data/django-celery-beat-2.5.0/django_celery_beat/querysets.py
268
88
117,922
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME asyncio STORE_NAME asyncio LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST 0 LOAD_CONST ('get_response',) IMPORT_NAME pulpcore.tests.functional.utils IMPORT_FROM get_response STORE_NAME get_response POP_TOP LOAD_NAME pytest LOAD_ATTR mark LOAD_ATT...
import asyncio import pytest from pulpcore.tests.functional.utils import get_response @pytest.mark.parallel def test_anonymous_access_to_root(pulp_api_v3_url): response = asyncio.run(get_response(pulp_api_v3_url)) assert response.ok
data/pulpcore-3.46.0/pulpcore/tests/functional/api/test_root_endpoint.py
207
88
218,018
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os STORE_NAME os LOAD_CONST 'glusterfs' STORE_NAME NAME LOAD_NAME os LOAD_METHOD popen LOAD_CONST 'pkg-config --cflags glusterfs-api' CALL_METHOD LOAD_METHOD read CALL_METHOD LOAD_METHOD rstrip CALL_METHOD LOAD_METHOD split CALL_METHOD STORE_NAME CFLAGS BUILD_LIST STORE_NAME ...
import os NAME = "glusterfs" CFLAGS = os.popen("pkg-config --cflags glusterfs-api").read().rstrip().split() LDFLAGS = [] LIBS = os.popen("pkg-config --libs glusterfs-api").read().rstrip().split() GCC_LIST = ["glusterfs"]
data/pyuwsgi-2.0.23.post0/plugins/glusterfs/uwsgiplugin.py
145
88
294,035
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME subprocess STORE_NAME subprocess LOAD_CONST 'Ottawa, Ontario' STORE_NAME location LOAD_CONST <code object test_cli_google at 0x7fab8229f9c0, file "f.py", line 7> LOAD_CONST 'test_cli_google' MAKE_FUNCTION STORE_NAME test_cli_google LOAD_CONST <code object test_cli_osm at 0x7f...
import subprocess location = "Ottawa, Ontario" def test_cli_google(): assert not subprocess.call(["geocode", location, "--provider", "google"]) def test_cli_osm(): assert not subprocess.call(["geocode", location, "--provider", "osm"])
data/geocoder-1.38.1/tests/test_cli.py
243
88
271,324
LOAD_CONST '\nEmbeddable operators require very customised application-specific testing.\nKopf cannot help here beyond its regular `kopf.testing.KopfRunner` helper,\nwhich is an equivalent of `kopf run` command.\n\nThis file exists to disable the implicit e2e tests\n(they skip if explicit e2e tests exist in the example...
""" Embeddable operators require very customised application-specific testing. Kopf cannot help here beyond its regular `kopf.testing.KopfRunner` helper, which is an equivalent of `kopf run` command. This file exists to disable the implicit e2e tests (they skip if explicit e2e tests exist in the example directory). ""...
data/kopf-1.37.1/examples/12-embedded/test_nothing.py
101
88
94,092
LOAD_CONST '\nStub for users who manually load our pytest plugin.\n\nThe plugin implementation is now located in a top-level module outside the main\nhypothesis tree, so that Pytest can load the plugin without thereby triggering\nthe import of Hypothesis itself (and thus loading our own plugins).\n' STORE_NAME __doc__ ...
""" Stub for users who manually load our pytest plugin. The plugin implementation is now located in a top-level module outside the main hypothesis tree, so that Pytest can load the plugin without thereby triggering the import of Hypothesis itself (and thus loading our own plugins). """ from _hypothesis_pytestplugin i...
data/hypothesis-6.98.9/src/hypothesis/extra/pytestplugin.py
107
88
148,072
LOAD_CONST './cspnext-s_8xb256-rsb-a1-600e_in1k.py' STORE_NAME _base_ LOAD_NAME dict LOAD_NAME dict LOAD_CONST 0.167 LOAD_CONST 0.375 LOAD_CONST ('deepen_factor', 'widen_factor') CALL_FUNCTION LOAD_NAME dict LOAD_CONST 384 LOAD_CONST ('in_channels',) CALL_FUNCTION LOAD_CONST ('backbone', 'head') CALL_FUNCTION STORE_N...
_base_ = "./cspnext-s_8xb256-rsb-a1-600e_in1k.py" model = dict( backbone=dict(deepen_factor=0.167, widen_factor=0.375), head=dict(in_channels=384) )
data/mmdet-3.3.0/mmdet/.mim/configs/rtmdet/classification/cspnext-tiny_8xb256-rsb-a1-600e_in1k.py
117
88
151,259
LOAD_CONST "This implementation is modified from google's original Protobuf implementation.\nThe original author is: robinson@google.com (Will Robinson).\nModified by onesuperclark@gmail.com(onesuper).\n" STORE_NAME __doc__ LOAD_BUILD_CLASS LOAD_CONST <code object Error at 0x7fab8223fd20, file "f.py", line 7> LOAD_CON...
"""This implementation is modified from google's original Protobuf implementation. The original author is: robinson@google.com (Will Robinson). Modified by onesuperclark@gmail.com(onesuper). """ class Error(Exception): pass class DecodeError(Error): pass class EncodeError(Error): pass
data/pyodps-0.11.5.post0/odps/tunnel/pb/errors.py
332
88
299,804
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME numbers STORE_NAME numbers LOAD_CONST 0 LOAD_CONST ('Sequence',) IMPORT_NAME typing IMPORT_FROM Sequence STORE_NAME Sequence POP_TOP LOAD_CONST 0 LOAD_CONST ('Numeric',) IMPORT_NAME visions.types.numeric IMPORT_FROM Numeric STORE_NAME Numeric POP_TOP LOAD_NAME Numeric LOAD_AT...
import numbers from typing import Sequence from visions.types.numeric import Numeric @Numeric.contains_op.register def numeric_contains_op(sequence: Sequence, state: dict): return all( isinstance(value, numbers.Number) and not isinstance(value, bool) for value in sequence )
data/visions-0.7.6/src/visions/backends/python/types/numeric.py
294
88
78,127
LOAD_CONST 'OneflowDriver' LOAD_CONST 'OneflowSingleDriver' LOAD_CONST 'OneflowDDPDriver' LOAD_CONST 'oneflow_seed_everything' BUILD_LIST STORE_NAME __all__ LOAD_CONST 1 LOAD_CONST ('OneflowDDPDriver',) IMPORT_NAME ddp IMPORT_FROM OneflowDDPDriver STORE_NAME OneflowDDPDriver POP_TOP LOAD_CONST 1 LOAD_CONST ('Onefl...
__all__ = [ "OneflowDriver", "OneflowSingleDriver", "OneflowDDPDriver", "oneflow_seed_everything", ] from .ddp import OneflowDDPDriver from .single_device import OneflowSingleDriver from .oneflow_driver import OneflowDriver from .utils import oneflow_seed_everything
data/FastNLP-1.0.1/fastNLP/core/drivers/oneflow_driver/__init__.py
186
88
367,433
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object ReactionTypeType at 0x7fa6f3491300, file "f.py", line 4> LOAD_CONST 'ReactionTypeType' MAKE_FUNCTION LOAD_CONST 'ReactionTypeType' LOAD_NAME str LOAD_NAME Enum CALL_FUNCTION STORE_NAME R...
from enum import Enum class ReactionTypeType(str, Enum): """ This object represents reaction type. Source: https://core.telegram.org/bots/api#reactiontype """ EMOJI = "emoji" CUSTOM_EMOJI = "custom_emoji"
data/aiogram-3.4.1/aiogram/enums/reaction_type_type.py
204
88
54,010
LOAD_CONST 'rlu_dmlab_explore_object_rewards_many dataset.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('RluDmlabExploreObjectRewardsMany',) IMPORT_NAME tensorflow_datasets.rl_unplugged.rlu_dmlab_explore_object_rewards_many.rlu_dmlab_explore_object_rewards_many IMPORT_FROM RluDmlabExploreObjectRewardsMany STORE_NAME R...
"""rlu_dmlab_explore_object_rewards_many dataset.""" from tensorflow_datasets.rl_unplugged.rlu_dmlab_explore_object_rewards_many.rlu_dmlab_explore_object_rewards_many import ( RluDmlabExploreObjectRewardsMany, )
data/tfds-nightly-4.9.4.dev202402210044/tensorflow_datasets/rl_unplugged/rlu_dmlab_explore_object_rewards_many/__init__.py
128
88
238,158
LOAD_CONST <code object text_ at 0x7fab700ad030, file "f.py", line 1> LOAD_CONST 'text_' MAKE_FUNCTION STORE_NAME text_ LOAD_CONST ('latin-1', 'strict') LOAD_CONST <code object native_ at 0x7fab700ad1e0, file "f.py", line 7> LOAD_CONST 'native_' MAKE_FUNCTION STORE_NAME native_ LOAD_CONST None RETURN_VALUE LOAD_GLOBA...
def text_(s): if not isinstance(s, str): # pragma: no cover s = s.decode("utf-8") return s def native_(s, encoding="latin-1", errors="strict"): if isinstance(s, str): return s return str(s, encoding, errors)
data/transaction-4.0/src/transaction/_compat.py
184
88
193,121
LOAD_CONST <code object turn_on at 0x7fae2f397660, file "f.py", line 1> LOAD_CONST 'turn_on' MAKE_FUNCTION STORE_NAME turn_on LOAD_CONST <code object turn_off at 0x7fab8223fc90, file "f.py", line 5> LOAD_CONST 'turn_off' MAKE_FUNCTION STORE_NAME turn_off LOAD_CONST <code object is_enabled at 0x7fab8223f150, file "f.p...
def turn_on(): globals()["pyvalid_enabled"] = True def turn_off(): globals()["pyvalid_enabled"] = False def is_enabled(): if "pyvalid_enabled" in globals(): enabled = globals()["pyvalid_enabled"] else: enabled = True return enabled
data/pyvalid-1.0.4/pyvalid/switch.py
259
88
299,961
LOAD_CONST '\nTop-level version information for sarif-tools.\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST None IMPORT_NAME importlib.metadata STORE_NAME importlib LOAD_CONST <code object _read_package_version at 0x7fab8000fc00, file "f.py", line 8> LOAD_CONST '_read_package_version' MAKE_FUNCTION STORE_NAME _read_pa...
""" Top-level version information for sarif-tools. """ import importlib.metadata def _read_package_version(): try: return importlib.metadata.version("sarif-tools") except importlib.metadata.PackageNotFoundError: return "local" __version__ = _read_package_version()
data/sarif_tools-2.0.0/sarif/__init__.py
191
88
344,264
SETUP_ANNOTATIONS LOAD_CONST 'Provides interface to Unity Catalog Tables.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('Any',) IMPORT_NAME typing IMPORT_FROM Any STORE_NAME Any POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME lazy_loader STORE_NAME lazy LOAD_NAME Any LOAD_NAME __annotations__ LOAD_CONST 'ManagedTabl...
"""Provides interface to Unity Catalog Tables.""" from typing import Any import lazy_loader as lazy ManagedTableDataset: Any __getattr__, __dir__, __all__ = lazy.attach( __name__, submod_attrs={"managed_table_dataset": ["ManagedTableDataset"]}, )
data/kedro-datasets-2.0.0/kedro_datasets/databricks/__init__.py
151
88
61,513
LOAD_CONST 0 LOAD_CONST ('Any', 'Dict', 'Optional') IMPORT_NAME typing IMPORT_FROM Any STORE_NAME Any IMPORT_FROM Dict STORE_NAME Dict IMPORT_FROM Optional STORE_NAME Optional POP_TOP LOAD_NAME Dict LOAD_NAME str LOAD_NAME Optional LOAD_NAME Any BINARY_SUBSCR BUILD_TUPLE BINARY_SUBSCR LOAD_NAME Dict LOAD_NAME str LOAD...
from typing import Any, Dict, Optional def remove_none_from_dict(original: Dict[str, Optional[Any]]) -> Dict[str, Any]: new: Dict[str, Any] = {} for key, value in original.items(): if value is not None: new[key] = value return new
data/langfuse-2.15.0/langfuse/api/core/remove_none_from_dict.py
221
88
434,022
LOAD_CONST '\nProject-wide **unimportable data submodule.**\n\nThis submodule exercises dynamic importability by providing an unimportable\nsubmodule defining an arbitrary attribute. External unit tests are expected to\ndynamically import this attribute from this submodule.\n' STORE_NAME __doc__ LOAD_NAME ValueError ...
""" Project-wide **unimportable data submodule.** This submodule exercises dynamic importability by providing an unimportable submodule defining an arbitrary attribute. External unit tests are expected to dynamically import this attribute from this submodule. """ raise ValueError( "Can you imagine a fulfilled soc...
data/beartype-0.17.2/beartype_test/a00_unit/data/util/mod/data_utilmodule_bad.py
101
88
373,289
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os STORE_NAME os LOAD_CONST '/some-missing-directory' LOAD_NAME os LOAD_ATTR environ LOAD_CONST 'KAGGLE_CONFIG_DIR' STORE_SUBSCR LOAD_CONST 'http://localhost:7777' LOAD_NAME os LOAD_ATTR environ LOAD_CONST 'KAGGLE_API_ENDPOINT' STORE_SUBSCR LOAD_CONST 'http://localhost:7778' ...
import os os.environ["KAGGLE_CONFIG_DIR"] = "/some-missing-directory" os.environ["KAGGLE_API_ENDPOINT"] = "http://localhost:7777" os.environ["KAGGLE_DATA_PROXY_URL"] = "http://localhost:7778"
data/kagglehub-0.1.9/tests/__init__.py
123
88
20,340
LOAD_CONST "\n// replace Headless references in default useragent\nconst current_ua = navigator.userAgent\nObject.defineProperty(Object.getPrototypeOf(navigator), 'userAgent', {\n get: () => opts.navigator_user_agent || current_ua.replace('HeadlessChrome/', 'Chrome/')\n})\n\n" STORE_NAME navigator_userAgent LOAD_CONST ...
navigator_userAgent = """ // replace Headless references in default useragent const current_ua = navigator.userAgent Object.defineProperty(Object.getPrototypeOf(navigator), 'userAgent', { get: () => opts.navigator_user_agent || current_ua.replace('HeadlessChrome/', 'Chrome/') }) """
data/TikTokApi-6.2.1/TikTokApi/stealth/js/navigator_userAgent.py
97
88
418,300
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 WebKit STORE_NAME WebKit LOAD_BUILD_CLASS LOAD_CONST <code object TestDOMHTMLHRElement at 0x7fab800bced0, file "f.py", line 5> LOAD_CONST 'TestDOMHTMLHREl...
from PyObjCTools.TestSupport import TestCase import WebKit class TestDOMHTMLHRElement(TestCase): def testMethods(self): self.assertResultIsBOOL(WebKit.DOMHTMLHRElement.noShade) self.assertArgIsBOOL(WebKit.DOMHTMLHRElement.setNoShade_, 0)
data/pyobjc-framework-WebKit-10.1/PyObjCTest/test_domhtmlhrelement.py
282
88
418,889
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME locale STORE_NAME locale LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST 'fail_on_ascii' BUILD_LIST STORE_NAME __all__ LOAD_NAME locale LOAD_METHOD getpreferredencoding CALL_METHOD LOAD_CONST 'ANSI_X3.4-1968' COMPARE_OP == STORE_NAME is_ascii LOA...
import locale import pytest __all__ = ["fail_on_ascii"] is_ascii = locale.getpreferredencoding() == "ANSI_X3.4-1968" fail_on_ascii = pytest.mark.xfail(is_ascii, reason="Test fails in this locale")
data/setuptools-69.1.0/setuptools/tests/__init__.py
136
88
256,526
LOAD_CONST 0 LOAD_CONST ('bgpvpn_stdattrs_router_assoc',) IMPORT_NAME neutron_lib.api.definitions IMPORT_FROM bgpvpn_stdattrs_router_assoc STORE_NAME bgpvpn_stdattrs_router_assoc POP_TOP LOAD_CONST 0 LOAD_CONST ('base',) IMPORT_NAME neutron_lib.tests.unit.api.definitions IMPORT_FROM base STORE_NAME base POP_TOP LOAD_...
from neutron_lib.api.definitions import bgpvpn_stdattrs_router_assoc from neutron_lib.tests.unit.api.definitions import base class BGPVPNRouterAssocStdAttrDefintionTestCase(base.DefinitionBaseTestCase): extension_module = bgpvpn_stdattrs_router_assoc
data/neutron-lib-3.10.0/neutron_lib/tests/unit/api/definitions/test_bgpvpn_router_assoc_stdattrs.py
284
88
384,951
LOAD_CONST 0 LOAD_CONST ('List',) IMPORT_NAME typing IMPORT_FROM List STORE_NAME List POP_TOP LOAD_CONST 0 LOAD_CONST ('FastAPI', 'Query') IMPORT_NAME fastapi IMPORT_FROM FastAPI STORE_NAME FastAPI IMPORT_FROM Query STORE_NAME Query POP_TOP LOAD_CONST 0 LOAD_CONST ('Annotated',) IMPORT_NAME typing_extensions IMPORT_F...
from typing import List from fastapi import FastAPI, Query from typing_extensions import Annotated app = FastAPI() @app.get("/items/") async def read_items(q: Annotated[List[str], Query()] = ["foo", "bar"]): query_items = {"q": q} return query_items
data/fastapi-0.109.2/docs_src/query_params_str_validations/tutorial012_an.py
234
88
142,594
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 ('BasicApi',) IMPORT_NAME hubspot.crm.products.api.basic_api IMPORT_FROM BasicApi STORE_NAME BasicApi POP_TOP LOAD_CONST 0 LOAD_CONST ('BatchApi',) IMPORT_NAME hub...
from __future__ import absolute_import from hubspot.crm.products.api.basic_api import BasicApi from hubspot.crm.products.api.batch_api import BatchApi from hubspot.crm.products.api.public_object_api import PublicObjectApi from hubspot.crm.products.api.search_api import SearchApi
data/hubspot-api-client-8.2.1/hubspot/crm/products/api/__init__.py
190
88
319,413
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME typer STORE_NAME typer LOAD_CONST 0 LOAD_CONST None IMPORT_NAME typer.main STORE_NAME typer LOAD_CONST None LOAD_NAME typer LOAD_ATTR main STORE_ATTR rich LOAD_NAME typer LOAD_ATTR Typer LOAD_CONST False LOAD_CONST ('pretty_exceptions_short',) CALL_FUNCTION STORE_NAME app LO...
import typer import typer.main typer.main.rich = None 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/tests/assets/type_error_no_rich_short_disable.py
202
88
224,336
LOAD_BUILD_CLASS LOAD_CONST <code object SemiconductorMaterial at 0x7fab703ef540, file "f.py", line 1> LOAD_CONST 'SemiconductorMaterial' MAKE_FUNCTION LOAD_CONST 'SemiconductorMaterial' CALL_FUNCTION STORE_NAME SemiconductorMaterial LOAD_CONST None RETURN_VALUE LOAD_NAME __name__ STORE_NAME __module__ LOAD_CONST 'Sem...
class SemiconductorMaterial: def __init__(self, ureg=None): """Semiconductor parameters.""" self.ureg = ureg self.m_e = None self.m_hh = None self.m_lh = None self.eps = None self.Eg = None self.ni = None
data/gplugins-0.9.13/gplugins/materials/semiconductor/semiconductor_mat.py
235
88
211,564
LOAD_CONST 0 LOAD_CONST ('run_capacitive_simulation_palace',) IMPORT_NAME gplugins.palace.get_capacitance IMPORT_FROM run_capacitive_simulation_palace STORE_NAME run_capacitive_simulation_palace POP_TOP LOAD_CONST 0 LOAD_CONST ('run_scattering_simulation_palace',) IMPORT_NAME gplugins.palace.get_scattering IMPORT_FROM...
from gplugins.palace.get_capacitance import run_capacitive_simulation_palace from gplugins.palace.get_scattering import run_scattering_simulation_palace __all__ = [ "run_capacitive_simulation_palace", "run_scattering_simulation_palace", ]
data/gplugins-0.9.13/gplugins/palace/__init__.py
163
88
211,582
LOAD_CONST 0 LOAD_CONST ('H2OEstimator',) IMPORT_NAME ai.h2o.sparkling.ml.algos.H2OEstimator IMPORT_FROM H2OEstimator STORE_NAME H2OEstimator POP_TOP LOAD_CONST 0 LOAD_CONST ('H2OCommonParams',) IMPORT_NAME ai.h2o.sparkling.ml.params.H2OCommonParams IMPORT_FROM H2OCommonParams STORE_NAME H2OCommonParams POP_TOP LOAD_...
from ai.h2o.sparkling.ml.algos.H2OEstimator import H2OEstimator from ai.h2o.sparkling.ml.params.H2OCommonParams import H2OCommonParams class H2OFeatureEstimator(H2OEstimator, H2OCommonParams): pass
data/h2o_pysparkling_3.1-3.44.0.3.post1/ai/h2o/sparkling/ml/features/H2OFeatureEstimator.py
240
88
27,286
LOAD_CONST 0 LOAD_CONST ('setup', 'Extension') IMPORT_NAME distutils.core IMPORT_FROM setup STORE_NAME setup IMPORT_FROM Extension STORE_NAME Extension POP_TOP LOAD_NAME Extension LOAD_CONST 'AntC' LOAD_CONST 'AntSimulatorFast.cpp' BUILD_LIST LOAD_CONST ('sources',) CALL_FUNCTION STORE_NAME module1 LOAD_NAME setup L...
from distutils.core import setup, Extension module1 = Extension("AntC", sources=["AntSimulatorFast.cpp"]) setup( name="AntC", version="1.0", description="Fast version of the Ant Simulator (aims to replace the AntSimulator class)", ext_modules=[module1], )
data/deap-1.4.1/examples/gp/ant/buildAntSimFast.py
139
88
20,845
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 WebKit STORE_NAME WebKit LOAD_BUILD_CLASS LOAD_CONST <code object TestDOMHTMLLinkElement at 0x7fab5437db70, file "f.py", line 5> LOAD_CONST 'TestDOMHTMLLi...
from PyObjCTools.TestSupport import TestCase import WebKit class TestDOMHTMLLinkElement(TestCase): def testMethods(self): self.assertResultIsBOOL(WebKit.DOMHTMLLinkElement.disabled) self.assertArgIsBOOL(WebKit.DOMHTMLLinkElement.setDisabled_, 0)
data/pyobjc-framework-WebKit-10.1/PyObjCTest/test_domhtmllinkelement.py
288
88
418,861
LOAD_CONST 0 LOAD_CONST ('current_audit_info',) IMPORT_NAME prowler.providers.aws.lib.audit_info.audit_info IMPORT_FROM current_audit_info STORE_NAME current_audit_info POP_TOP LOAD_CONST 0 LOAD_CONST ('SSMIncidents',) IMPORT_NAME prowler.providers.aws.services.ssmincidents.ssmincidents_service IMPORT_FROM SSMIncident...
from prowler.providers.aws.lib.audit_info.audit_info import current_audit_info from prowler.providers.aws.services.ssmincidents.ssmincidents_service import ( SSMIncidents, ) ssmincidents_client = SSMIncidents(current_audit_info)
data/prowler-3.14.0/prowler/providers/aws/services/ssmincidents/ssmincidents_client.py
141
88
183,097
LOAD_CONST '\nExample of a message box window.\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('message_dialog',) IMPORT_NAME prompt_toolkit.shortcuts IMPORT_FROM message_dialog STORE_NAME message_dialog POP_TOP LOAD_CONST <code object main at 0x7f8e2ff25c90, file "f.py", line 7> LOAD_CONST 'main' MAKE_FUNCTION STORE_...
""" Example of a message box window. """ from prompt_toolkit.shortcuts import message_dialog def main(): message_dialog( title="Example dialog window", text="Do you want to continue?\nPress ENTER to quit.", ).run() if __name__ == "__main__": main()
data/prompt_toolkit-3.0.43/examples/dialogs/messagebox.py
180
88
124,567
LOAD_CONST 0 LOAD_CONST ('request',) IMPORT_NAME paste IMPORT_FROM request STORE_NAME request POP_TOP LOAD_CONST <code object urlparser_hook at 0x7fab7006d810, file "f.py", line 4> LOAD_CONST 'urlparser_hook' MAKE_FUNCTION STORE_NAME urlparser_hook LOAD_CONST None RETURN_VALUE LOAD_GLOBAL request LOAD_METHOD path_inf...
from paste import request def urlparser_hook(environ): first, rest = request.path_info_split(environ.get("PATH_INFO", "")) if not first: return environ["app.user"] = first environ["SCRIPT_NAME"] += "/" + first environ["PATH_INFO"] = rest
data/Paste-3.7.1/tests/urlparser_data/hook/__init__.py
200
88
150,012
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 WebKit STORE_NAME WebKit LOAD_BUILD_CLASS LOAD_CONST <code object TestDOMHTMLOListElement at 0x7fab82278d20, file "f.py", line 5> LOAD_CONST 'TestDOMHTMLO...
from PyObjCTools.TestSupport import TestCase import WebKit class TestDOMHTMLOListElement(TestCase): def testMethods(self): self.assertResultIsBOOL(WebKit.DOMHTMLOListElement.compact) self.assertArgIsBOOL(WebKit.DOMHTMLOListElement.setCompact_, 0)
data/pyobjc-framework-WebKit-10.1/PyObjCTest/test_domhtmlolistelement.py
289
88
418,893
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys SETUP_LOOP to 98 LOAD_CONST ('urllib3', 'idna', 'chardet') GET_ITER FOR_ITER to 96 STORE_NAME package LOAD_NAME __import__ LOAD_NAME package CALL_FUNCTION LOAD_NAME locals CALL_FUNCTION LOAD_NAME package STORE_SUBSCR SETUP_LOOP to 94 LOAD_NAME list LOAD_NAM...
import sys for package in ("urllib3", "idna", "chardet"): locals()[package] = __import__(package) for mod in list(sys.modules): if mod == package or mod.startswith(package + "."): sys.modules["requests.packages." + mod] = sys.modules[mod]
data/aliyun-python-sdk-core-2.14.0/aliyunsdkcore/vendored/requests/packages.py
176
88
217,082
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME boto3 STORE_NAME boto3 LOAD_CONST 0 LOAD_CONST ('mock_aws',) IMPORT_NAME moto IMPORT_FROM mock_aws STORE_NAME mock_aws POP_TOP LOAD_NAME mock_aws LOAD_CONST <code object test_describe_db_cluster_parameters at 0x7fab822c5e40, file "f.py", line 6> LOAD_CONST 'test_describe_db_cl...
import boto3 from moto import mock_aws @mock_aws def test_describe_db_cluster_parameters(): client = boto3.client("rds", "us-east-2") resp = client.describe_db_cluster_parameters(DBClusterParameterGroupName="group") assert resp["Parameters"] == []
data/moto-5.0.2/tests/test_rds/test_db_cluster_params.py
219
88
197,613
LOAD_CONST 0 LOAD_CONST ('PiiFilteringFailModeType',) IMPORT_NAME pycarlo.features.pii.constants IMPORT_FROM PiiFilteringFailModeType STORE_NAME PiiFilteringFailModeType POP_TOP LOAD_CONST 0 LOAD_CONST ('PiiFilterer',) IMPORT_NAME pycarlo.features.pii.pii_filterer IMPORT_FROM PiiFilterer STORE_NAME PiiFilterer POP_TOP...
from pycarlo.features.pii.constants import PiiFilteringFailModeType from pycarlo.features.pii.pii_filterer import PiiFilterer from pycarlo.features.pii.service import PiiService __all__ = ["PiiFilteringFailModeType", "PiiService", "PiiFilterer"]
data/pycarlo-0.9.2/pycarlo/features/pii/__init__.py
174
88
360,234
LOAD_CONST 0 LOAD_CONST ('copy_metadata', 'collect_data_files') IMPORT_NAME PyInstaller.utils.hooks IMPORT_FROM copy_metadata STORE_NAME copy_metadata IMPORT_FROM collect_data_files STORE_NAME collect_data_files POP_TOP LOAD_NAME copy_metadata LOAD_CONST 'google-api-python-client' CALL_FUNCTION STORE_NAME datas LOAD_...
from PyInstaller.utils.hooks import ( # pylint: disable=import-error copy_metadata, collect_data_files, ) datas = copy_metadata("google-api-python-client") datas += collect_data_files("googleapiclient", excludes=["*.txt", "**/__pycache__"])
data/PyDrive2-1.19.0/pydrive2/__pyinstaller/hook-googleapiclient.py
132
88
70,120
LOAD_CONST 0 LOAD_CONST ('s22',) IMPORT_NAME ase.collections IMPORT_FROM s22 STORE_NAME s22 POP_TOP LOAD_CONST <code object test_s22 at 0x7fa7928cbb70, file "f.py", line 4> LOAD_CONST 'test_s22' MAKE_FUNCTION STORE_NAME test_s22 LOAD_CONST None RETURN_VALUE LOAD_GLOBAL print LOAD_GLOBAL s22 CALL_FUNCTION POP_TOP SET...
from ase.collections import s22 def test_s22(): print(s22) for a in s22: print(a) assert a in s22 for name in s22.names: assert s22.has(name) assert not s22.has("hello")
data/ase-3.22.1/ase/test/test_s22.py
245
88
45,874
LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME warnings STORE_NAME warnings LOAD_NAME warnings LOAD_ATTR warn LOAD_CONST "The 'hcloud.hcloud' module is deprecated, please import from the 'hcloud' module i...
from __future__ import annotations import warnings warnings.warn( "The 'hcloud.hcloud' module is deprecated, please import from the 'hcloud' module instead (e.g. 'from hcloud import Client').", DeprecationWarning, stacklevel=2, ) from ._client import * # noqa
data/ansible-9.2.0/ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/hcloud.py
132
88
280,118
LOAD_CONST 0 LOAD_CONST ('absolute_import', 'division', 'print_function') IMPORT_NAME __future__ IMPORT_FROM absolute_import STORE_NAME absolute_import IMPORT_FROM division STORE_NAME division IMPORT_FROM print_function STORE_NAME print_function POP_TOP LOAD_NAME type STORE_NAME __metaclass__ LOAD_CONST 0 LOAD_CONST ...
from __future__ import absolute_import, division, print_function __metaclass__ = type from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.ansible_release import data results = {"data": data} AnsibleModule(argument_spec=dict()).exit_json(**results)
data/ansible-core-2.16.3/test/integration/targets/module_utils/library/test_override.py
191
88
437,403
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 'docker-crede...
from __future__ import absolute_import, division, print_function __metaclass__ = type PROGRAM_PREFIX = "docker-credential-" DEFAULT_LINUX_STORE = "secretservice" DEFAULT_OSX_STORE = "osxkeychain" DEFAULT_WIN32_STORE = "wincred"
data/ansible-9.2.0/ansible_collections/community/docker/plugins/module_utils/_api/credentials/constants.py
144
88
274,688
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pprint STORE_NAME pprint LOAD_CONST 0 LOAD_CONST ('msvc',) IMPORT_NAME setuptools IMPORT_FROM msvc STORE_NAME msvc POP_TOP LOAD_CONST 0 LOAD_CONST ('get_platform',) IMPORT_NAME setuptools._distutils.util IMPORT_FROM get_platform STORE_NAME get_platform POP_TOP LOAD_NAME get_p...
import pprint from setuptools import msvc from setuptools._distutils.util import get_platform plat = get_platform() print(f"platform: {plat}") vcvars = msvc.msvc14_get_vc_env(plat) print("vcvars:") pprint.pprint(vcvars)
data/pyzmq-25.1.2/tools/showvcvars.py
175
88
419,703
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME AppKit STORE_NAME AppKit 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_BUILD_CLASS LOAD_CONST <code object TestNSLayoutAnchor at 0x...
import AppKit from PyObjCTools.TestSupport import TestCase, min_os_level class TestNSLayoutAnchor(TestCase): @min_os_level("10.12") def test_methods10_12(self): self.assertResultIsBOOL(AppKit.NSLayoutAnchor.hasAmbiguousLayout)
data/pyobjc-framework-Cocoa-10.1/PyObjCTest/test_nslayoutanchor.py
298
88
64,513
LOAD_CONST 'pyup.io' STORE_NAME __author__ LOAD_CONST 'support@pyup.io' STORE_NAME __email__ LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os STORE_NAME os LOAD_NAME os LOAD_ATTR path LOAD_METHOD dirname LOAD_NAME os LOAD_ATTR path LOAD_METHOD abspath LOAD_NAME __file__ CALL_METHOD CALL_METHOD STORE_NAME ROOT LOAD_NAME ...
__author__ = """pyup.io""" __email__ = "support@pyup.io" import os ROOT = os.path.dirname(os.path.abspath(__file__)) with open(os.path.join(ROOT, "VERSION")) as version_file: VERSION = version_file.read().strip()
data/pipenv-2023.12.1/pipenv/patched/safety/__init__.py
152
88
401,930
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST 0 LOAD_CONST ('schema_v3',) IMPORT_NAME molecule.model IMPORT_FROM schema_v3 STORE_NAME schema_v3 POP_TOP LOAD_NAME pytest LOAD_ATTR mark LOAD_ATTR parametrize LOAD_CONST '_config' LOAD_CONST '_model_platforms_delegated_section_data' BUILD...
import pytest from molecule.model import schema_v3 @pytest.mark.parametrize( "_config", ["_model_platforms_delegated_section_data"], indirect=True, ) def test_platforms_delegated(_config): assert not schema_v3.validate(_config)
data/molecule-24.2.0/test/a_unit/model/v2/test_platforms_section.py
200
88
10,536
LOAD_CONST 0 LOAD_CONST ('run', 'parameters') IMPORT_NAME clize IMPORT_FROM run STORE_NAME run IMPORT_FROM parameters STORE_NAME parameters POP_TOP LOAD_CONST 'l' LOAD_NAME parameters LOAD_ATTR multi LOAD_CONST 1 LOAD_CONST 3 LOAD_CONST ('min', 'max') CALL_FUNCTION BUILD_TUPLE LOAD_CONST ('listen',) BUILD_CONST_KEY_MA...
from clize import run, parameters def main(*, listen: ("l", parameters.multi(min=1, max=3))): """Listens on the given addresses :param listen: An address to listen on. """ for address in listen: print("Listening on {0}".format(address)) run(main)
data/clize-5.0.2/examples/multi.py
183
88
347,703
LOAD_CONST 1 LOAD_CONST ('resource_loader',) IMPORT_NAME IMPORT_FROM resource_loader STORE_NAME resource_loader POP_TOP LOAD_CONST 1 LOAD_CONST ('I18nFileLoadError', 'register_loader', 'load_config') IMPORT_NAME resource_loader IMPORT_FROM I18nFileLoadError STORE_NAME I18nFileLoadError IMPORT_FROM register_loader STOR...
from . import resource_loader from .resource_loader import I18nFileLoadError, register_loader, load_config from .translator import t from .translations import add as add_translation from . import config from .config import set, get resource_loader.init_loaders() load_path = config.get("load_path")
data/python-i18n-0.3.9/i18n/__init__.py
238
88
114,039
LOAD_CONST 0 LOAD_CONST ('App',) IMPORT_NAME textual.app IMPORT_FROM App STORE_NAME App POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object NotifyWithInlineLinkApp at 0x7faa51f69ae0, file "f.py", line 4> LOAD_CONST 'NotifyWithInlineLinkApp' MAKE_FUNCTION LOAD_CONST 'NotifyWithInlineLinkApp' LOAD_NAME App CALL_FUNCTION ST...
from textual.app import App class NotifyWithInlineLinkApp(App): def on_mount(self) -> None: self.notify("Click [@click=bell]here[/] for the bell sound.") if __name__ == "__main__": app = NotifyWithInlineLinkApp() app.run()
data/textual-0.52.1/tests/snapshot_tests/snapshot_apps/notification_with_inline_link.py
286
88
26,240
LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object EditingMode at 0x7f8af0dbb810, file "f.py", line 6> LOAD_CONST 'Ed...
from __future__ import annotations from enum import Enum class EditingMode(Enum): VI = "VI" EMACS = "EMACS" SEARCH_BUFFER = "SEARCH_BUFFER" DEFAULT_BUFFER = "DEFAULT_BUFFER" SYSTEM_BUFFER = "SYSTEM_BUFFER"
data/prompt_toolkit-3.0.43/src/prompt_toolkit/enums.py
218
88
124,671
LOAD_CONST 1 LOAD_CONST ('KinesisVideoArchivedMediaResponse',) IMPORT_NAME responses IMPORT_FROM KinesisVideoArchivedMediaResponse STORE_NAME KinesisVideoArchivedMediaResponse POP_TOP LOAD_CONST 'https?://.*\\.kinesisvideo\\.(.+)\\.amazonaws.com' BUILD_LIST STORE_NAME url_bases LOAD_NAME KinesisVideoArchivedMediaResp...
from .responses import KinesisVideoArchivedMediaResponse url_bases = [ r"https?://.*\.kinesisvideo\.(.+)\.amazonaws.com", ] response = KinesisVideoArchivedMediaResponse() url_paths = { "{0}/.*$": response.dispatch, }
data/moto-5.0.2/moto/kinesisvideoarchivedmedia/urls.py
120
88
198,072
LOAD_CONST ' Fake hook used for testing.\nJust write a file named after-hook.stamp when called,\nso that test code can check if the hook ran\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('Path',) IMPORT_NAME pathlib IMPORT_FROM Path STORE_NAME Path POP_TOP LOAD_CONST None LOAD_CONST ('return',) BUILD_CONST_KEY_MAP L...
""" Fake hook used for testing. Just write a file named after-hook.stamp when called, so that test code can check if the hook ran """ from pathlib import Path def main() -> None: Path("after-hook.stamp").write_text("") if __name__ == "__main__": main()
data/tbump-6.11.0/tbump/test/project/after.py
185
88
343,128
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pycurl STORE_NAME pycurl LOAD_NAME pycurl LOAD_METHOD Curl CALL_METHOD STORE_NAME c LOAD_NAME c LOAD_METHOD setopt LOAD_NAME c LOAD_ATTR URL LOAD_CONST 'https://httpbin.org/put' CALL_METHOD POP_TOP LOAD_NAME c LOAD_METHOD setopt LOAD_NAME c LOAD_ATTR UPLOAD LOAD_CONST 1 CALL_...
import pycurl c = pycurl.Curl() c.setopt(c.URL, "https://httpbin.org/put") c.setopt(c.UPLOAD, 1) file = open(__file__) c.setopt(c.READDATA, file) c.perform() c.close() file.close()
data/pycurl-7.45.3/examples/quickstart/put_file.py
157
88
174,022
LOAD_CONST <code object get_cache_file at 0x7fae2f397db0, file "f.py", line 1> LOAD_CONST 'get_cache_file' MAKE_FUNCTION STORE_NAME get_cache_file LOAD_CONST <code object get_cache_table at 0x7fae2f397270, file "f.py", line 5> LOAD_CONST 'get_cache_table' MAKE_FUNCTION STORE_NAME get_cache_table LOAD_CONST ('.',) LOA...
def get_cache_file(name): return open(name) def get_cache_table(name): pass def get_cache_archive(name, relative_path="."): pass def get_cache_tabledesc(name): pass def get_cache_tableinfo(name): pass
data/pyodps-0.11.5.post0/odps/distcache.py
330
88
299,510
LOAD_CONST '../_base_/models/cascade-rcnn_r50_fpn.py' LOAD_CONST '../_base_/datasets/coco_detection.py' LOAD_CONST '../_base_/schedules/schedule_1x.py' LOAD_CONST '../_base_/default_runtime.py' BUILD_LIST STORE_NAME _base_ LOAD_CONST None RETURN_VALUE
_base_ = [ "../_base_/models/cascade-rcnn_r50_fpn.py", "../_base_/datasets/coco_detection.py", "../_base_/schedules/schedule_1x.py", "../_base_/default_runtime.py", ]
data/mmdet-3.3.0/mmdet/.mim/configs/cascade_rcnn/cascade-rcnn_r50_fpn_1x_coco.py
94
88
151,166
LOAD_CONST 0 LOAD_CONST ('Bar',) IMPORT_NAME plotly.graph_objs IMPORT_FROM Bar STORE_NAME Bar POP_TOP LOAD_CONST 1 LOAD_CONST ('GraphBase',) IMPORT_NAME graphbase IMPORT_FROM GraphBase STORE_NAME GraphBase POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object BarGraph at 0x7fab80033c90, file "f.py", line 6> LOAD_CONST 'Ba...
from plotly.graph_objs import Bar from .graphbase import GraphBase class BarGraph(GraphBase): def _get_data(self, df, encoding): x_values, y_values = GraphBase._get_x_y_values(df, encoding) return [Bar(x=x_values, y=y_values)]
data/autovizwidget-0.21.0/autovizwidget/plotlygraphs/bargraph.py
263
88
318,893
LOAD_CONST '\nDemonstration of how the input can be indented.\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('prompt',) IMPORT_NAME prompt_toolkit IMPORT_FROM prompt STORE_NAME prompt POP_TOP LOAD_NAME __name__ LOAD_CONST '__main__' COMPARE_OP == POP_JUMP_IF_FALSE LOAD_NAME prompt LOAD_CONST 'Give me some input: (E...
""" Demonstration of how the input can be indented. """ from prompt_toolkit import prompt if __name__ == "__main__": answer = prompt( "Give me some input: (ESCAPE followed by ENTER to accept)\n > ", multiline=True ) print("You said: %s" % answer)
data/prompt_toolkit-3.0.43/examples/prompts/multiline-prompt.py
138
88
124,593
LOAD_CONST 0 LOAD_CONST ('current_audit_info',) IMPORT_NAME prowler.providers.aws.lib.audit_info.audit_info IMPORT_FROM current_audit_info STORE_NAME current_audit_info POP_TOP LOAD_CONST 0 LOAD_CONST ('ResourceExplorer2',) IMPORT_NAME prowler.providers.aws.services.resourceexplorer2.resourceexplorer2_service IMPORT_F...
from prowler.providers.aws.lib.audit_info.audit_info import current_audit_info from prowler.providers.aws.services.resourceexplorer2.resourceexplorer2_service import ( ResourceExplorer2, ) resource_explorer_2_client = ResourceExplorer2(current_audit_info)
data/prowler-3.14.0/prowler/providers/aws/services/resourceexplorer2/resourceexplorer2_client.py
139
88
183,142
LOAD_CONST 0 LOAD_CONST ('Any',) IMPORT_NAME typing IMPORT_FROM Any STORE_NAME Any POP_TOP LOAD_CONST 0 LOAD_CONST ('multimethod',) IMPORT_NAME multimethod IMPORT_FROM multimethod STORE_NAME multimethod POP_TOP LOAD_CONST 0 LOAD_CONST ('Settings',) IMPORT_NAME ydata_profiling.config IMPORT_FROM Settings STORE_NAME Se...
from typing import Any from multimethod import multimethod from ydata_profiling.config import Settings @multimethod def check_dataframe(df: Any) -> None: raise NotImplementedError() @multimethod def preprocess(config: Settings, df: Any) -> Any: return df
data/ydata-profiling-4.6.4/src/ydata_profiling/model/dataframe.py
259
88
190,180
LOAD_CONST 0 LOAD_CONST ('Decimal',) IMPORT_NAME decimal IMPORT_FROM Decimal STORE_NAME Decimal POP_TOP LOAD_CONST 0 LOAD_CONST ('AttributeGetter',) IMPORT_NAME braintree.attribute_getter IMPORT_FROM AttributeGetter STORE_NAME AttributeGetter POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object TransactionDetails at 0x7f...
from decimal import Decimal from braintree.attribute_getter import AttributeGetter class TransactionDetails(AttributeGetter): def __init__(self, attributes): AttributeGetter.__init__(self, attributes) if getattr(self, "amount", None) is not None: self.amount = Decimal(self.amount)
data/braintree-4.26.0/braintree/transaction_details.py
282
88
327,757
LOAD_CONST 0 LOAD_CONST ('Any',) IMPORT_NAME typing IMPORT_FROM Any STORE_NAME Any POP_TOP LOAD_CONST 0 LOAD_CONST ('BaseFactory',) IMPORT_NAME polyfactory.factories.base IMPORT_FROM BaseFactory STORE_NAME BaseFactory POP_TOP LOAD_CONST None LOAD_CONST ('return',) BUILD_CONST_KEY_MAP LOAD_CONST <code object test_prov...
from typing import Any from polyfactory.factories.base import BaseFactory def test_provider_map() -> None: provider_map = BaseFactory.get_provider_map() provider_map.pop(Any) for type_, handler in provider_map.items(): value = handler() assert isinstance(value, type_)
data/polyfactory-2.14.1/tests/test_provider_map.py
232
88
368,021
LOAD_CONST 'Adversarial techniques to help mitigate unfairness.' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('AdversarialFairnessClassifier', 'AdversarialFairnessRegressor') IMPORT_NAME _adversarial_mitigation IMPORT_FROM AdversarialFairnessClassifier STORE_NAME AdversarialFairnessClassifier IMPORT_FROM AdversarialFai...
"""Adversarial techniques to help mitigate unfairness.""" from ._adversarial_mitigation import ( AdversarialFairnessClassifier, AdversarialFairnessRegressor, ) __all__ = [ "AdversarialFairnessClassifier", "AdversarialFairnessRegressor", ]
data/fairlearn-0.10.0/fairlearn/adversarial/__init__.py
140
88
81,469
LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST 1 LOAD_CONST ('TelegramObject',) IMPORT_NAME base IMPORT_FROM TelegramObject STORE_NAME TelegramObject POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object ForumTopicReopened at 0x7fa6f0f65390...
from __future__ import annotations from .base import TelegramObject class ForumTopicReopened(TelegramObject): """ This object represents a service message about a forum topic reopened in the chat. Currently holds no information. Source: https://core.telegram.org/bots/api#forumtopicreopened """
data/aiogram-3.4.1/aiogram/types/forum_topic_reopened.py
231
88
53,968
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytorch_lightning._graveyard._torchmetrics STORE_NAME pytorch_lightning LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytorch_lightning._graveyard.hpu STORE_NAME pytorch_lightning LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytorch_lightning._graveyard.ipu STORE_NAME pytorch_lightning...
import pytorch_lightning._graveyard._torchmetrics import pytorch_lightning._graveyard.hpu import pytorch_lightning._graveyard.ipu import pytorch_lightning._graveyard.precision import pytorch_lightning._graveyard.tpu # noqa: F401
data/pytorch-lightning-2.2.0.post0/src/pytorch_lightning/_graveyard/__init__.py
161
88
419,969
LOAD_CONST 0 LOAD_CONST ('abstractmethod',) IMPORT_NAME abc IMPORT_FROM abstractmethod STORE_NAME abstractmethod POP_TOP LOAD_CONST 0 LOAD_CONST ('_MLflowObject',) IMPORT_NAME mlflow.entities._mlflow_object IMPORT_FROM _MLflowObject STORE_NAME _MLflowObject POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object _ModelRegis...
from abc import abstractmethod from mlflow.entities._mlflow_object import _MLflowObject class _ModelRegistryEntity(_MLflowObject): @classmethod @abstractmethod def from_proto(cls, proto): pass def __eq__(self, other): return dict(self) == dict(other)
data/mlflow-2.10.2/mlflow/entities/model_registry/_model_registry_entity.py
315
88
43,885
LOAD_CONST 0 LOAD_CONST ('address_group',) IMPORT_NAME neutron_lib.api.definitions IMPORT_FROM address_group STORE_NAME address_group POP_TOP LOAD_CONST 0 LOAD_CONST ('base',) IMPORT_NAME neutron_lib.tests.unit.api.definitions IMPORT_FROM base STORE_NAME base POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object AddressGr...
from neutron_lib.api.definitions import address_group from neutron_lib.tests.unit.api.definitions import base class AddressGroupDefinitionTestCase(base.DefinitionBaseTestCase): extension_module = address_group extension_resources = (address_group.COLLECTION_NAME,) extension_attributes = ("name", "addresse...
data/neutron-lib-3.10.0/neutron_lib/tests/unit/api/definitions/test_address_group.py
223
88
384,975
LOAD_CONST "Dataset definition for pg19.\n\nDEPRECATED!\nIf you want to use the Pg19 dataset builder class, use:\ntfds.builder_cls('pg19')\n" STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('lazy_builder_import',) IMPORT_NAME tensorflow_datasets.core IMPORT_FROM lazy_builder_import STORE_NAME lazy_builder_import POP_TOP ...
"""Dataset definition for pg19. DEPRECATED! If you want to use the Pg19 dataset builder class, use: tfds.builder_cls('pg19') """ from tensorflow_datasets.core import lazy_builder_import Pg19 = lazy_builder_import.LazyBuilderImport("pg19")
data/tensorflow-datasets-4.9.4/tensorflow_datasets/text/pg19.py
132
88
256,187
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME hubspot.crm.associations.v4.schema IMPORT_FROM crm ROT_TWO POP_TOP IMPORT_FROM associations ROT_TWO POP_TOP IMPORT_FROM v4 ROT_TWO POP_TOP IMPORT_FROM schema STORE_NAME api_client POP_TOP LOAD_CONST 5 LOAD_CONST ('DiscoveryBase',) IMPORT_NAME discovery_base IMPORT_FROM Discover...
import hubspot.crm.associations.v4.schema as api_client from .....discovery_base import DiscoveryBase class Discovery(DiscoveryBase): @property def definitions_api(self) -> api_client.DefinitionsApi: return self._configure_api_client(api_client, "DefinitionsApi")
data/hubspot-api-client-8.2.1/hubspot/discovery/crm/associations/v4/schema/discovery.py
286
88
320,770
LOAD_CONST '2.0 API features.\n\nthis module is legacy as 2.0 APIs are now standard.\n\n' STORE_NAME __doc__ LOAD_CONST 2 LOAD_CONST ('Connection',) IMPORT_NAME engine IMPORT_FROM Connection STORE_NAME Connection POP_TOP LOAD_CONST 2 LOAD_CONST ('create_engine',) IMPORT_NAME engine IMPORT_FROM create_engine STORE_NAM...
"""2.0 API features. this module is legacy as 2.0 APIs are now standard. """ from ..engine import Connection as Connection # noqa: F401 from ..engine import create_engine as create_engine # noqa: F401 from ..engine import Engine as Engine # noqa: F401
data/SQLAlchemy-2.0.27/lib/sqlalchemy/future/engine.py
113
88
362,391
LOAD_CONST 0 LOAD_CONST ('AbstractFileBasedStream',) IMPORT_NAME airbyte_cdk.sources.file_based.stream.abstract_file_based_stream IMPORT_FROM AbstractFileBasedStream STORE_NAME AbstractFileBasedStream POP_TOP LOAD_CONST 0 LOAD_CONST ('DefaultFileBasedStream',) IMPORT_NAME airbyte_cdk.sources.file_based.stream.default_...
from airbyte_cdk.sources.file_based.stream.abstract_file_based_stream import ( AbstractFileBasedStream, ) from airbyte_cdk.sources.file_based.stream.default_file_based_stream import ( DefaultFileBasedStream, ) __all__ = ["AbstractFileBasedStream", "DefaultFileBasedStream"]
data/airbyte-cdk-0.64.0/airbyte_cdk/sources/file_based/stream/__init__.py
131
88
51,870
LOAD_CONST 0 LOAD_CONST ('DataSource',) IMPORT_NAME intake.source.base IMPORT_FROM DataSource STORE_NAME DataSource POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object ExampleSource at 0x7fab5434b150, file "f.py", line 4> LOAD_CONST 'ExampleSource' MAKE_FUNCTION LOAD_CONST 'ExampleSource' LOAD_NAME DataSource CALL_FUNCTI...
from intake.source.base import DataSource class ExampleSource(DataSource): name = "example1" version = "0.1" container = "dataframe" partition_access = True def __init__(self, **kwargs): self.kwargs = kwargs super(ExampleSource, self).__init__()
data/intake-2.0.1/intake/catalog/tests/example1_source.py
272
88
141,571
LOAD_CONST 0 LOAD_CONST ('Depends', 'FastAPI') IMPORT_NAME fastapi IMPORT_FROM Depends STORE_NAME Depends IMPORT_FROM FastAPI STORE_NAME FastAPI POP_TOP LOAD_CONST 0 LOAD_CONST ('HTTPBasic', 'HTTPBasicCredentials') IMPORT_NAME fastapi.security IMPORT_FROM HTTPBasic STORE_NAME HTTPBasic IMPORT_FROM HTTPBasicCredentials...
from fastapi import Depends, FastAPI from fastapi.security import HTTPBasic, HTTPBasicCredentials app = FastAPI() security = HTTPBasic() @app.get("/users/me") def read_current_user(credentials: HTTPBasicCredentials = Depends(security)): return {"username": credentials.username, "password": credentials.password}...
data/fastapi-0.109.2/docs_src/security/tutorial006.py
226
88
142,194
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME cms.admin.pageadmin STORE_NAME cms LOAD_CONST 0 LOAD_CONST None IMPORT_NAME cms.admin.permissionadmin STORE_NAME cms LOAD_CONST 0 LOAD_CONST None IMPORT_NAME cms.admin.placeholderadmin STORE_NAME cms LOAD_CONST 0 LOAD_CONST None IMPORT_NAME cms.admin.settingsadmin STORE_NAME ...
import cms.admin.pageadmin import cms.admin.permissionadmin import cms.admin.placeholderadmin import cms.admin.settingsadmin import cms.admin.static_placeholder # nopyflakes import cms.admin.useradmin from cms import plugin_pool plugin_pool.plugin_pool.discover_plugins()
data/django-cms-4.1.0/cms/admin/__init__.py
182
88
87,172