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 "Dataset definition for lfw.\n\nDEPRECATED!\nIf you want to use the LFW dataset builder class, use:\ntfds.builder_cls('lfw')\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 LOA...
"""Dataset definition for lfw. DEPRECATED! If you want to use the LFW dataset builder class, use: tfds.builder_cls('lfw') """ from tensorflow_datasets.core import lazy_builder_import LFW = lazy_builder_import.LazyBuilderImport("lfw")
data/tensorflow-datasets-4.9.4/tensorflow_datasets/image_classification/lfw.py
125
81
255,431
LOAD_CONST 0 LOAD_CONST ('react',) IMPORT_NAME twisted.internet.task IMPORT_FROM react STORE_NAME react POP_TOP LOAD_CONST 0 LOAD_CONST ('print_response',) IMPORT_NAME _utils IMPORT_FROM print_response STORE_NAME print_response POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME treq STORE_NAME treq LOAD_CONST <code ob...
from twisted.internet.task import react from _utils import print_response import treq def main(reactor, *args): d = treq.get("https://httpbin.org/redirect/1") d.addCallback(print_response) return d react(main, [])
data/treq-23.11.0/docs/examples/redirects.py
183
81
415,479
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME warnings STORE_NAME warnings LOAD_CONST 0 LOAD_CONST ('dicomclient',) IMPORT_NAME apache_beam.io.gcp.healthcare IMPORT_FROM dicomclient STORE_NAME dicomclient POP_TOP LOAD_CONST 0 LOAD_CONST ('dicomio',) IMPORT_NAME apache_beam.io.gcp.healthcare IMPORT_FROM dicomio STORE_NAME ...
import warnings from apache_beam.io.gcp.healthcare import dicomclient from apache_beam.io.gcp.healthcare import dicomio warnings.warn( "Dicom IO moved to apache_beam.io.gcp.healthcare.dicomcio", DeprecationWarning )
data/apache-beam-2.54.0/apache_beam/io/gcp/dicomio.py
141
81
381,546
LOAD_CONST "Dataset definition for malaria.\n\nDEPRECATED!\nIf you want to use the Malaria dataset builder class, use:\ntfds.builder_cls('malaria')\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 ...
"""Dataset definition for malaria. DEPRECATED! If you want to use the Malaria dataset builder class, use: tfds.builder_cls('malaria') """ from tensorflow_datasets.core import lazy_builder_import Malaria = lazy_builder_import.LazyBuilderImport("malaria")
data/tensorflow-datasets-4.9.4/tensorflow_datasets/image_classification/malaria.py
125
81
255,404
LOAD_CONST 'Accurate Hijri-Gregorian dates converter based on the Umm al-Qura calendar.\n\nhttps://github.com/dralshehri/hijri-converter\n' STORE_NAME __doc__ LOAD_CONST '2.3.1' STORE_NAME __version__ LOAD_CONST 0 LOAD_CONST ('Gregorian', 'Hijri') IMPORT_NAME hijri_converter.convert IMPORT_FROM Gregorian STORE_NAME G...
"""Accurate Hijri-Gregorian dates converter based on the Umm al-Qura calendar. https://github.com/dralshehri/hijri-converter """ __version__ = "2.3.1" from hijri_converter.convert import Gregorian, Hijri
data/hijri-converter-2.3.1/src/hijri_converter/__init__.py
126
81
352,699
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME socket STORE_NAME socket LOAD_CONST 0 LOAD_CONST ('connection',) IMPORT_NAME multiprocessing IMPORT_FROM connection STORE_NAME connection POP_TOP LOAD_CONST 0 LOAD_CONST ('_reduce_socket',) IMPORT_NAME multiprocessing.reduction IMPORT_FROM _reduce_socket STORE_NAME _reduce_soc...
import socket from multiprocessing import connection from multiprocessing.reduction import _reduce_socket from .reduction import register register(socket.socket, _reduce_socket) register(connection.Connection, connection.reduce_connection) register(connection.PipeConnection, connection.reduce_pipe_connection)
data/loky-3.4.1/loky/backend/_win_reduction.py
174
81
358,085
LOAD_CONST <code object noop_directive at 0x7fab7038a6f0, file "f.py", line 1> LOAD_CONST 'noop_directive' MAKE_FUNCTION STORE_NAME noop_directive LOAD_CONST '*' BUILD_LIST LOAD_NAME noop_directive STORE_ATTR content LOAD_CONST None RETURN_VALUE BUILD_LIST STORE_FAST node_list LOAD_FAST node_list RETURN_VALUE
def noop_directive( name, arguments, options, content, lineno, content_offset, block_text, state, state_machine, ): node_list = [] return node_list noop_directive.content = ["*"]
data/rst2pdf-0.101/rst2pdf/directives/noop.py
93
81
286,972
LOAD_CONST 1 LOAD_CONST ('VDataFile', 'VDataSource') IMPORT_NAME data IMPORT_FROM VDataFile STORE_NAME VDataFile IMPORT_FROM VDataSource STORE_NAME VDataSource POP_TOP LOAD_CONST 1 LOAD_CONST ('VDevice',) IMPORT_NAME device IMPORT_FROM VDevice STORE_NAME VDevice POP_TOP LOAD_CONST 1 LOAD_CONST ('NameSet',) IMPORT_NAM...
from .data import VDataFile, VDataSource from .device import VDevice from .nameset import NameSet from .polling import Command, Poller from .report import ComplianceReport from .selector import ComplianceSelector from .serializer import Serializer from .test import ComplianceTest from .test_result import ComplianceTest...
data/netbox-validity-2.0.0/validity/models/__init__.py
277
81
168,077
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME ctypes STORE_NAME ctypes LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST 0 LOAD_CONST ('lib',) IMPORT_NAME awkward_cpp.cpu_kernels IMPORT_FROM lib STORE_NAME lib POP_TOP LOAD_NAME pytest LOAD_ATTR mark LOAD_ATTR skip LOAD_CONST 'Unable to generate...
import ctypes import pytest from awkward_cpp.cpu_kernels import lib @pytest.mark.skip(reason="Unable to generate any tests for kernel") def test_cpuawkward_reduce_count_64_1(): raise NotImplementedError("Unable to generate any tests for kernel")
data/awkward-cpp-29/tests-cpu-kernels/test_cpuawkward_reduce_count_64.py
211
81
221,265
LOAD_CONST 0 LOAD_CONST ('HasTraits', 'Instance') IMPORT_NAME traits.api IMPORT_FROM HasTraits STORE_NAME HasTraits IMPORT_FROM Instance STORE_NAME Instance POP_TOP SETUP_EXCEPT to 54 LOAD_BUILD_CLASS LOAD_CONST <code object Chicken at 0x7fab5408f930, file "f.py", line 6> LOAD_CONST 'Chicken' MAKE_FUNCTION LOAD_CONST...
from traits.api import HasTraits, Instance try: class Chicken(HasTraits): hatched_from = Instance(Egg) class Egg(HasTraits): created_by = Instance(Chicken) except NameError as excp: print(excp)
data/traits-6.4.3/examples/tutorials/doc_examples/examples/circular_definition.py
337
81
286,833
LOAD_CONST <code object _generate_toc at 0x7faa750be5d0, file "f.py", line 1> LOAD_CONST '_generate_toc' MAKE_FUNCTION STORE_NAME _generate_toc LOAD_CONST None RETURN_VALUE SETUP_LOOP to 56 LOAD_FAST line LOAD_METHOD startswith LOAD_CONST '2' CALL_METHOD POP_JUMP_IF_FALSE LOAD_CONST 5 STORE_FAST line SETUP_LOOP to ...
def _generate_toc(line): while 1: if line.startswith("2"): line = 5 while 1: if line: line = 6 break elif not line: line = 7 break elif not line: break ...
data/uncompyle6-3.9.0/test/simple_source/bug32/05_while_true_break.py
156
81
442,067
LOAD_CONST <code object test_pytest_cases_plugin_installed at 0x7fadb5811c00, file "f.py", line 1> LOAD_CONST 'test_pytest_cases_plugin_installed' MAKE_FUNCTION STORE_NAME test_pytest_cases_plugin_installed LOAD_CONST None RETURN_VALUE LOAD_FAST request LOAD_ATTR session LOAD_ATTR _fixturemanager LOAD_ATTR getfixturec...
def test_pytest_cases_plugin_installed(request): """A simple test to make sure that the pytest-case plugin is actually installed. Otherwise some tests won't work""" assert ( request.session._fixturemanager.getfixtureclosure.func.__module__ == "pytest_cases.plugin" )
data/pytest-cases-3.8.2/tests/test_plugin_installed.py
129
81
356,651
LOAD_CONST 0 LOAD_CONST ('setup',) IMPORT_NAME setuptools IMPORT_FROM setup STORE_NAME setup POP_TOP LOAD_NAME setup LOAD_CONST 'zipped_egg' LOAD_CONST '0.1' LOAD_CONST 'A zipped egg for testing PyInstaller' LOAD_CONST 'zipped_egg' BUILD_LIST LOAD_CONST 'zipped_egg' LOAD_CONST 'data/datafile.txt' BUILD_LIST BUILD...
from setuptools import setup setup( name="zipped_egg", version="0.1", description="A zipped egg for testing PyInstaller", packages=["zipped_egg"], package_data={"zipped_egg": ["data/datafile.txt"]}, )
data/pyinstaller-6.4.0/tests/scripts/eggs4testing/setup-zipped.py
122
81
184,979
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME re STORE_NAME re LOAD_CONST 0 LOAD_CONST None IMPORT_NAME mistletoe.span_token IMPORT_FROM span_token STORE_NAME span_token POP_TOP LOAD_CONST 'Math' BUILD_LIST STORE_NAME __all__ LOAD_BUILD_CLASS LOAD_CONST <code object Math at 0x7fab42231c90, file "f.py", line 8> LOAD_CONST...
import re import mistletoe.span_token as span_token __all__ = ["Math"] class Math(span_token.SpanToken): pattern = re.compile(r"(\${1,2})([^$]+?)\1") parse_inner = False parse_group = 0
data/mistletoe-1.3.0/mistletoe/latex_token.py
201
81
346,114
LOAD_CONST 0 LOAD_CONST ('App',) IMPORT_NAME kivy.app IMPORT_FROM App STORE_NAME App POP_TOP LOAD_CONST 0 LOAD_CONST ('Widget',) IMPORT_NAME kivy.uix.widget IMPORT_FROM Widget STORE_NAME Widget POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object PongGame at 0x7fa6f0c7e6f0, file "f.py", line 5> LOAD_CONST 'PongGame' MAKE...
from kivy.app import App from kivy.uix.widget import Widget class PongGame(Widget): pass class PongApp(App): def build(self): return PongGame() if __name__ == "__main__": PongApp().run()
data/Kivy-2.3.0/examples/tutorials/pong/steps/step1/main.py
337
81
47,750
LOAD_CONST 0 LOAD_CONST ('App',) IMPORT_NAME kivy.app IMPORT_FROM App STORE_NAME App POP_TOP LOAD_CONST 0 LOAD_CONST ('Widget',) IMPORT_NAME kivy.uix.widget IMPORT_FROM Widget STORE_NAME Widget POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object PongGame at 0x7fa6f0c7e810, file "f.py", line 5> LOAD_CONST 'PongGame' MAKE...
from kivy.app import App from kivy.uix.widget import Widget class PongGame(Widget): pass class PongApp(App): def build(self): return PongGame() if __name__ == "__main__": PongApp().run()
data/Kivy-2.3.0/examples/tutorials/pong/steps/step2/main.py
337
81
47,746
LOAD_CONST 0 LOAD_CONST ('SimpleSqlalchemyDatasource',) IMPORT_NAME great_expectations.datasource IMPORT_FROM SimpleSqlalchemyDatasource STORE_NAME SimpleSqlalchemyDatasource POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object MyCustomSimpleSqlalchemyDatasource at 0x7faa51b821e0, file "f.py", line 4> LOAD_CONST 'MyCustom...
from great_expectations.datasource import SimpleSqlalchemyDatasource class MyCustomSimpleSqlalchemyDatasource(SimpleSqlalchemyDatasource): """ This class is used only for testing. E.g. ensuring appropriate usage stats messaging when using plugin functionality. """ pass
data/great_expectations-0.18.9/tests/data_context/fixtures/plugins/my_custom_simple_sqlalchemy_datasource_class.py
225
81
18,615
LOAD_CONST "Dataset definition for bucc.\n\nDEPRECATED!\nIf you want to use the Bucc dataset builder class, use:\ntfds.builder_cls('bucc')\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 bucc. DEPRECATED! If you want to use the Bucc dataset builder class, use: tfds.builder_cls('bucc') """ from tensorflow_datasets.core import lazy_builder_import Bucc = lazy_builder_import.LazyBuilderImport("bucc")
data/tensorflow-datasets-4.9.4/tensorflow_datasets/translate/bucc/bucc.py
125
81
255,359
LOAD_CONST 'Compositions for clusterers.' STORE_NAME __doc__ LOAD_CONST 'fkiraly' BUILD_LIST STORE_NAME __author__ LOAD_CONST 'ClustererPipeline' LOAD_CONST 'SklearnClustererPipeline' BUILD_LIST STORE_NAME __all__ LOAD_CONST 0 LOAD_CONST ('ClustererPipeline', 'SklearnClustererPipeline') IMPORT_NAME sktime.clustering...
"""Compositions for clusterers.""" __author__ = ["fkiraly"] __all__ = ["ClustererPipeline", "SklearnClustererPipeline"] from sktime.clustering.compose._pipeline import ( ClustererPipeline, SklearnClustererPipeline, )
data/sktime-0.26.0/sktime/clustering/compose/__init__.py
135
81
65,988
LOAD_CONST 'reno.sphinxext' LOAD_CONST 'openstackdocstheme' BUILD_LIST STORE_NAME extensions LOAD_CONST 'index' STORE_NAME master_doc LOAD_CONST '2016, oslo.log Developers' STORE_NAME copyright LOAD_CONST '' STORE_NAME release LOAD_CONST '' STORE_NAME version LOAD_CONST 'openstackdocs' STORE_NAME html_theme LOAD_...
extensions = ["reno.sphinxext", "openstackdocstheme"] master_doc = "index" copyright = "2016, oslo.log Developers" release = "" version = "" html_theme = "openstackdocs" locale_dirs = ["locale/"]
data/oslo.log-5.4.0/releasenotes/source/conf.py
103
81
221,912
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 IOBluetooth STORE_NAME IOBluetooth LOAD_BUILD_CLASS LOAD_CONST <code object TestIOBluetoothHandsFreeAudioGateway at 0x7f8af162e420, file "f.py", line 6> L...
from PyObjCTools.TestSupport import TestCase import IOBluetooth # noqa: F401 class TestIOBluetoothHandsFreeAudioGateway(TestCase): def test_protocols(self): self.assertProtocolExists("IOBluetoothHandsFreeAudioGatewayDelegate")
data/pyobjc-framework-IOBluetooth-10.1/PyObjCTest/test_iobluetoothhandsfreeaudiogateway.py
294
81
123,557
LOAD_CONST 'Original NetworkX graph tests' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST None IMPORT_NAME networkx STORE_NAME networkx LOAD_CONST 0 LOAD_CONST None IMPORT_NAME networkx STORE_NAME nx LOAD_CONST 1 LOAD_CONST ('HistoricalTests',) IMPORT_NAME historical_tests IMPORT_FROM HistoricalTests STORE_NAME Historic...
"""Original NetworkX graph tests""" import networkx import networkx as nx from .historical_tests import HistoricalTests class TestGraphHistorical(HistoricalTests): @classmethod def setup_class(cls): HistoricalTests.setup_class() cls.G = nx.Graph
data/networkx-3.2.1/networkx/classes/tests/test_graph_historical.py
276
81
130,540
LOAD_CONST '0.4.2' STORE_NAME __version__ LOAD_CONST 'Marshal' LOAD_CONST 'utils' LOAD_CONST 'arg_delegates' LOAD_CONST 'errors' BUILD_LIST STORE_NAME __all__ LOAD_CONST 0 LOAD_CONST ('arg_delegates',) IMPORT_NAME pymarshaler IMPORT_FROM arg_delegates STORE_NAME arg_delegates POP_TOP LOAD_CONST 0 LOAD_CONST ('errors...
__version__ = "0.4.2" __all__ = ["Marshal", "utils", "arg_delegates", "errors"] from pymarshaler import arg_delegates from pymarshaler import errors from pymarshaler import utils from pymarshaler.marshal import Marshal
data/pymarshaler-0.4.2/pymarshaler/__init__.py
176
81
400,070
LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST 1 LOAD_CONST ('StreamWithHash',) IMPORT_NAME hashing IMPORT_FROM StreamWithHash STORE_NAME StreamWithHash POP_TOP LOAD_CONST 1 LOAD_CONST ('ReadingStreamWithProgress', 'WritingStreamWithPr...
from __future__ import annotations from .hashing import StreamWithHash from .progress import ReadingStreamWithProgress, WritingStreamWithProgress from .range import RangeOfInputStream __all__ = [ "RangeOfInputStream", "ReadingStreamWithProgress", "StreamWithHash", "WritingStreamWithProgress", ]
data/b2sdk-1.31.0/b2sdk/stream/__init__.py
179
81
28,126
LOAD_CONST "Dataset definition for bucc.\n\nDEPRECATED!\nIf you want to use the Bucc dataset builder class, use:\ntfds.builder_cls('bucc')\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 bucc. DEPRECATED! If you want to use the Bucc dataset builder class, use: tfds.builder_cls('bucc') """ from tensorflow_datasets.core import lazy_builder_import Bucc = lazy_builder_import.LazyBuilderImport("bucc")
data/tfds-nightly-4.9.4.dev202402210044/tensorflow_datasets/translate/bucc/bucc.py
125
81
238,420
LOAD_CONST "Dataset definition for opus.\n\nDEPRECATED!\nIf you want to use the Opus dataset builder class, use:\ntfds.builder_cls('opus')\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 opus. DEPRECATED! If you want to use the Opus dataset builder class, use: tfds.builder_cls('opus') """ from tensorflow_datasets.core import lazy_builder_import Opus = lazy_builder_import.LazyBuilderImport("opus")
data/tfds-nightly-4.9.4.dev202402210044/tensorflow_datasets/translate/opus.py
125
81
238,418
LOAD_CONST "Dataset definition for savee.\n\nDEPRECATED!\nIf you want to use the Savee dataset builder class, use:\ntfds.builder_cls('savee')\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_TO...
"""Dataset definition for savee. DEPRECATED! If you want to use the Savee dataset builder class, use: tfds.builder_cls('savee') """ from tensorflow_datasets.core import lazy_builder_import Savee = lazy_builder_import.LazyBuilderImport("savee")
data/tensorflow-datasets-4.9.4/tensorflow_datasets/audio/savee.py
125
81
255,143
LOAD_CONST "Dataset definition for qasc.\n\nDEPRECATED!\nIf you want to use the Qasc dataset builder class, use:\ntfds.builder_cls('qasc')\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 qasc. DEPRECATED! If you want to use the Qasc dataset builder class, use: tfds.builder_cls('qasc') """ from tensorflow_datasets.core import lazy_builder_import Qasc = lazy_builder_import.LazyBuilderImport("qasc")
data/tfds-nightly-4.9.4.dev202402210044/tensorflow_datasets/question_answering/qasc/qasc.py
125
81
238,377
LOAD_CONST "Dataset definition for lvis.\n\nDEPRECATED!\nIf you want to use the Lvis dataset builder class, use:\ntfds.builder_cls('lvis')\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 lvis. DEPRECATED! If you want to use the Lvis dataset builder class, use: tfds.builder_cls('lvis') """ from tensorflow_datasets.core import lazy_builder_import Lvis = lazy_builder_import.LazyBuilderImport("lvis")
data/tensorflow-datasets-4.9.4/tensorflow_datasets/object_detection/lvis/lvis.py
125
81
255,127
LOAD_CONST "Dataset definition for snli.\n\nDEPRECATED!\nIf you want to use the Snli dataset builder class, use:\ntfds.builder_cls('snli')\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 snli. DEPRECATED! If you want to use the Snli dataset builder class, use: tfds.builder_cls('snli') """ from tensorflow_datasets.core import lazy_builder_import Snli = lazy_builder_import.LazyBuilderImport("snli")
data/tensorflow-datasets-4.9.4/tensorflow_datasets/text/snli.py
125
81
256,145
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 active_directory IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME backup_policy IMPORT_STAR LOAD...
from .. import _utilities import typing from .active_directory import * from .backup_policy import * from .backup_vault import * from .kmsconfig import * from .storage_pool import * from .volume import * from .volume_snapshot import * from ._inputs import * from . import outputs
data/pulumi_gcp-7.9.0/pulumi_gcp/netapp/__init__.py
211
81
445,914
LOAD_CONST 1 LOAD_CONST ('Inheritance',) IMPORT_NAME single_inheritance IMPORT_FROM Inheritance STORE_NAME BaseInheritance POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Inheritance at 0x7f8e2fe41b70, file "f.py", line 4> LOAD_CONST 'Inheritance' MAKE_FUNCTION LOAD_CONST 'Inheritance' LOAD_NAME BaseInheritance CALL_...
from .single_inheritance import Inheritance as BaseInheritance class Inheritance(BaseInheritance): def ALLOWED_HOSTS(self): allowed_hosts = super().ALLOWED_HOSTS[:] allowed_hosts.append("test-test") return allowed_hosts
data/django-configurations-2.5/tests/settings/multiple_inheritance.py
274
81
322,992
LOAD_CONST 0 LOAD_CONST ('GZipMiddleware',) IMPORT_NAME server.middleware.gzip IMPORT_FROM GZipMiddleware STORE_NAME GZipMiddleware POP_TOP LOAD_CONST 0 LOAD_CONST ('decorator_from_middleware',) IMPORT_NAME server.utils.decorators IMPORT_FROM decorator_from_middleware STORE_NAME decorator_from_middleware POP_TOP LOAD...
from server.middleware.gzip import GZipMiddleware from server.utils.decorators import decorator_from_middleware gzip_page = decorator_from_middleware(GZipMiddleware) gzip_page.__doc__ = "Decorator for views that gzips pages if the client supports it."
data/os_sys-2.1.4/server/views/decorators/gzip.py
149
81
247,356
LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME simulator IMPORT_STAR LOAD_CONST <code object is_available at 0x7faa53d20db0, file "f.py", line 4> LOAD_CONST 'is_available' MAKE_FUNCTION STORE_NAME is_available LOAD_CONST <code object cuda_error at 0x7faa53d20780, file "f.py", line 9> LOAD_CONST 'cuda_error' MAKE_FUNCTION...
from .simulator import * # noqa: F403, F401 def is_available(): """Returns a boolean to indicate the availability of a CUDA GPU.""" return True def cuda_error(): """Returns None or an exception if the CUDA driver fails to initialize.""" return None
data/numba-0.59.0/numba/cuda/simulator_init.py
133
81
134,268
LOAD_CONST <code object test_root at 0x7faa74756660, file "f.py", line 1> LOAD_CONST 'test_root' MAKE_FUNCTION STORE_NAME test_root LOAD_CONST <code object test_notfound at 0x7faa747560c0, file "f.py", line 6> LOAD_CONST 'test_notfound' MAKE_FUNCTION STORE_NAME test_notfound LOAD_CONST None RETURN_VALUE LOAD_FAST tes...
def test_root(testapp): res = testapp.get("/", status=200) assert b"Pyramid" in res.body def test_notfound(testapp): res = testapp.get("/badurl", status=404) assert res.status_code == 404
data/pyramid-2.0.2/docs/quick_tutorial/cookiecutters/tests/test_functional.py
229
81
19,735
LOAD_CONST 0 LOAD_CONST ('FastAPI',) IMPORT_NAME fastapi IMPORT_FROM FastAPI STORE_NAME FastAPI POP_TOP LOAD_CONST 0 LOAD_CONST ('RedirectResponse',) IMPORT_NAME fastapi.responses IMPORT_FROM RedirectResponse STORE_NAME RedirectResponse POP_TOP LOAD_NAME FastAPI CALL_FUNCTION STORE_NAME app LOAD_NAME app LOAD_ATTR g...
from fastapi import FastAPI from fastapi.responses import RedirectResponse app = FastAPI() @app.get("/pydantic", response_class=RedirectResponse, status_code=302) async def redirect_pydantic(): return "https://pydantic-docs.helpmanual.io/"
data/fastapi-0.109.2/docs_src/custom_response/tutorial006c.py
189
81
142,683
LOAD_CONST "Dataset definition for anli.\n\nDEPRECATED!\nIf you want to use the Anli dataset builder class, use:\ntfds.builder_cls('anli')\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 anli. DEPRECATED! If you want to use the Anli dataset builder class, use: tfds.builder_cls('anli') """ from tensorflow_datasets.core import lazy_builder_import Anli = lazy_builder_import.LazyBuilderImport("anli")
data/tensorflow-datasets-4.9.4/tensorflow_datasets/text/anli.py
125
81
256,193
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME django STORE_NAME django 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 PermissionsComment at 0x7fab80297030, file "f.py", line 5> LOAD_CONST 'PermissionsComment' MAKE_FUNCTION LOA...
import django from django.db import models class PermissionsComment(models.Model): text = models.CharField(max_length=100) class Meta: if django.VERSION < (2, 1): permissions = (("view_permissionscomment", "Can view comment"),)
data/drf-extensions-0.7.1/tests_app/tests/functional/permissions/extended_django_object_permissions/models.py
295
81
68,877
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 __name__ LOAD_CONST '__main__' COMPARE_OP == POP_JUMP_IF_FALSE LOAD_NAME os LOAD_ATTR environ LOAD_METHOD setdefault LOAD_CONST 'DJANGO_SETTINGS_MODULE' LOAD_CONST 'tests.app.settings' CALL...
import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "tests.app.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
data/django-bootstrap4-24.1/manage.py
155
81
293,625
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'network lb frontend-ip' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7faa5e81f0c0, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_N...
from azure.cli.core.aaz import * @register_command_group( "network lb frontend-ip", ) class __CMDGroup(AAZCommandGroup): """Manage frontend IP addresses of a load balancer.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/network/aaz/profile_2018_03_01_hybrid/network/lb/frontend_ip/__cmd_group.py
191
81
378,919
LOAD_CONST 'servicequotas base URL and path.' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('ServiceQuotasResponse',) IMPORT_NAME responses IMPORT_FROM ServiceQuotasResponse STORE_NAME ServiceQuotasResponse POP_TOP LOAD_CONST 'https?://servicequotas\\.(.+)\\.amazonaws\\.com' BUILD_LIST STORE_NAME url_bases LOAD_CONST ...
"""servicequotas base URL and path.""" from .responses import ServiceQuotasResponse url_bases = [ r"https?://servicequotas\.(.+)\.amazonaws\.com", ] url_paths = { "{0}/$": ServiceQuotasResponse.dispatch, }
data/moto-5.0.2/moto/servicequotas/urls.py
111
81
198,141
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'network lb frontend-ip' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab4130c4b0, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_N...
from azure.cli.core.aaz import * @register_command_group( "network lb frontend-ip", ) class __CMDGroup(AAZCommandGroup): """Manage frontend IP addresses of a load balancer.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/network/aaz/profile_2020_09_01_hybrid/network/lb/frontend_ip/__cmd_group.py
191
81
378,691
LOAD_CONST 2 LOAD_CONST ('LambdaResponse',) IMPORT_NAME awslambda.responses IMPORT_FROM LambdaResponse STORE_NAME LambdaResponse POP_TOP LOAD_CONST 1 LOAD_CONST ('LambdaBackend', 'lambda_simple_backends') IMPORT_NAME models IMPORT_FROM LambdaBackend STORE_NAME LambdaBackend IMPORT_FROM lambda_simple_backends STORE_NAM...
from ..awslambda.responses import LambdaResponse from .models import LambdaBackend, lambda_simple_backends class LambdaSimpleResponse(LambdaResponse): @property def backend(self) -> LambdaBackend: return lambda_simple_backends[self.current_account][self.region]
data/moto-5.0.2/moto/awslambda_simple/responses.py
285
81
198,426
LOAD_CONST 0 LOAD_CONST ('Annotated',) IMPORT_NAME typing IMPORT_FROM Annotated STORE_NAME Annotated 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_NAME FastAPI CALL_FUNCTION STORE_NAME app LOAD_NAME app ...
from typing import Annotated from fastapi import FastAPI, Query 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_py39.py
210
81
142,608
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME cx_Oracle STORE_NAME cx_Oracle LOAD_CONST 0 LOAD_CONST None IMPORT_NAME db_config STORE_NAME db_config LOAD_NAME cx_Oracle LOAD_METHOD connect LOAD_NAME db_config LOAD_ATTR user LOAD_NAME db_config LOAD_ATTR pw LOAD_NAME db_config LOAD_ATTR dsn CALL_METHOD STORE_NAME con LOAD...
import cx_Oracle import db_config con = cx_Oracle.connect(db_config.user, db_config.pw, db_config.dsn) cur = con.cursor() print("Standard output...") for row in cur.execute("select * from dept"): print(row)
data/cx_Oracle-8.3.0/samples/tutorial/type_output.py
163
81
335,275
LOAD_CONST 0 LOAD_CONST ('datetime',) IMPORT_NAME datetime IMPORT_FROM datetime STORE_NAME datetime POP_TOP 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 Operation at 0x7fab81f0b8a0, file "f.py", line 6> LOAD_CONS...
from datetime import datetime from office365.entity import Entity class Operation(Entity): """The status of a long-running operation.""" @property def created_datetime(self): """ The start time of the operation. """ return self.properties("createdDateTime", datetime.min)
data/Office365-REST-Python-Client-2.5.5/office365/onenote/operations/operation.py
235
81
188,958
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 __name__ LOAD_CONST '__main__' COMPARE_OP == POP_JUMP_IF_FALSE LOAD_NAME os LOAD_ATTR environ LOAD_METHOD setdefault LOAD_CONST 'DJANGO_SETTINGS_MODULE' LOAD_CONST 'account.tests.settings' ...
import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "account.tests.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
data/django-user-accounts-3.3.2/manage.py
155
81
244,554
LOAD_CONST 0 LOAD_CONST ('parser',) IMPORT_NAME giturlparse IMPORT_FROM parser STORE_NAME parser POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pbr.version STORE_NAME pbr LOAD_NAME pbr LOAD_ATTR version LOAD_METHOD VersionInfo LOAD_CONST 'git-url-parse' CALL_METHOD STORE_NAME version_info LOAD_NAME version_info LO...
from giturlparse import parser import pbr.version version_info = pbr.version.VersionInfo("git-url-parse") __version__ = version_info.release_string() def parse(url): # pragma: no cover p = parser.Parser(url) return p.parse()
data/git-url-parse-1.2.2/giturlparse/__init__.py
161
81
244,546
LOAD_CONST '\n.. currentmodule:: qiskit.scheduler.methods\n\nPulse scheduling methods.\n\n.. autofunction:: as_soon_as_possible\n.. autofunction:: as_late_as_possible\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('as_soon_as_possible', 'as_late_as_possible') IMPORT_NAME qiskit.scheduler.methods.basic IMPORT_FROM as_s...
""" .. currentmodule:: qiskit.scheduler.methods Pulse scheduling methods. .. autofunction:: as_soon_as_possible .. autofunction:: as_late_as_possible """ from qiskit.scheduler.methods.basic import as_soon_as_possible, as_late_as_possible
data/qiskit-1.0.0/qiskit/scheduler/methods/__init__.py
142
81
282,954
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 __name__ LOAD_CONST '__main__' COMPARE_OP == POP_JUMP_IF_FALSE LOAD_NAME os LOAD_ATTR environ LOAD_METHOD setdefault LOAD_CONST 'DJANGO_SETTINGS_MODULE' LOAD_CONST 'tests.app.settings' CALL...
import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "tests.app.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
data/django-bootstrap3-23.6/manage.py
155
81
222,070
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object StatsigEnvironmentTier at 0x7fab821eb0c0, file "f.py", line 4> LOAD_CONST 'StatsigEnvironmentTier' MAKE_FUNCTION LOAD_CONST 'StatsigEnvironmentTier' LOAD_NAME str LOAD_NAME Enum CALL_FUN...
from enum import Enum class StatsigEnvironmentTier(str, Enum): """ The environment tier the SDK is running in. Used to view data in the Statsig console by tier """ development = "development" staging = "staging" production = "production"
data/statsig-0.27.1/statsig/statsig_environment_tier.py
202
81
340,611
LOAD_CONST 0 LOAD_CONST ('Database', 'Required', 'Optional') IMPORT_NAME pony.orm IMPORT_FROM Database STORE_NAME Database IMPORT_FROM Required STORE_NAME Required IMPORT_FROM Optional STORE_NAME Optional POP_TOP LOAD_CONST 0 LOAD_CONST ('UserMixin',) IMPORT_NAME flask_login IMPORT_FROM UserMixin STORE_NAME UserMixin ...
from pony.orm import Database, Required, Optional from flask_login import UserMixin from datetime import datetime db = Database() class User(db.Entity, UserMixin): login = Required(str, unique=True) password = Required(str) last_login = Optional(datetime)
data/pony-0.7.17/pony/flask/example/models.py
250
81
133,808
LOAD_CONST "Dataset definition for malaria.\n\nDEPRECATED!\nIf you want to use the Malaria dataset builder class, use:\ntfds.builder_cls('malaria')\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 ...
"""Dataset definition for malaria. DEPRECATED! If you want to use the Malaria dataset builder class, use: tfds.builder_cls('malaria') """ from tensorflow_datasets.core import lazy_builder_import Malaria = lazy_builder_import.LazyBuilderImport("malaria")
data/tfds-nightly-4.9.4.dev202402210044/tensorflow_datasets/image_classification/malaria.py
125
81
238,465
LOAD_CONST <code object testAFakeZlib at 0x7faa5f271b70, file "f.py", line 1> LOAD_CONST 'testAFakeZlib' MAKE_FUNCTION STORE_NAME testAFakeZlib LOAD_CONST None RETURN_VALUE SETUP_EXCEPT to 14 LOAD_FAST self LOAD_METHOD doTest CALL_METHOD POP_TOP POP_BLOCK JUMP_FORWARD to 54 DUP_TOP LOAD_GLOBAL ImportError COMPARE_OP...
def testAFakeZlib(self): try: self.doTest() except ImportError: if self.compression != 3: self.fail("expected test to not raise ImportError") else: if self.compression != 4: self.fail("expected test to raise ImportError")
data/uncompyle6-3.9.0/test/simple_source/bug27+/05_try_else.py
197
81
441,941
LOAD_CONST 0 LOAD_CONST ('cast', 'Any', 'Dict', 'TypeVar') IMPORT_NAME typing IMPORT_FROM cast STORE_NAME cast IMPORT_FROM Any STORE_NAME Any IMPORT_FROM Dict STORE_NAME Dict IMPORT_FROM TypeVar STORE_NAME TypeVar POP_TOP LOAD_NAME TypeVar LOAD_CONST 'T' CALL_FUNCTION STORE_NAME T LOAD_NAME T LOAD_NAME Any LOAD_NAME ...
from typing import cast, Any, Dict, TypeVar T = TypeVar("T") def merge_kwargs(base_dict: T, **kwargs: Any) -> T: """Return arbitrary typed dictionary with some keyword args merged in.""" return cast(T, {**cast(Dict, base_dict), **kwargs})
data/graphql-core-3.2.3/src/graphql/pyutils/merge_kwargs.py
179
81
398,619
LOAD_CONST 1 LOAD_CONST ('MarketplaceMeteringResponse',) IMPORT_NAME responses IMPORT_FROM MarketplaceMeteringResponse STORE_NAME MarketplaceMeteringResponse POP_TOP LOAD_CONST 'https?://metering.marketplace.(.+).amazonaws.com' LOAD_CONST 'https?://aws-marketplace.(.+).amazonaws.com' BUILD_LIST STORE_NAME url_bases ...
from .responses import MarketplaceMeteringResponse url_bases = [ "https?://metering.marketplace.(.+).amazonaws.com", "https?://aws-marketplace.(.+).amazonaws.com", ] url_paths = {"{0}/$": MarketplaceMeteringResponse.dispatch}
data/moto-5.0.2/moto/meteringmarketplace/urls.py
114
81
198,559
LOAD_CONST 0 LOAD_CONST ('mock',) IMPORT_NAME unittest IMPORT_FROM mock STORE_NAME mock POP_TOP LOAD_CONST 0 LOAD_CONST ('migrations',) IMPORT_NAME django.db IMPORT_FROM migrations STORE_NAME migrations POP_TOP SETUP_EXCEPT to 42 LOAD_CONST 0 LOAD_CONST ('CryptoExtension',) IMPORT_NAME django.contrib.postgres.operat...
from unittest import mock from django.db import migrations try: from django.contrib.postgres.operations import CryptoExtension except ImportError: CryptoExtension = mock.Mock() class Migration(migrations.Migration): operations = [CryptoExtension()]
data/Django-5.0.2/tests/db_functions/migrations/0001_setup_extensions.py
262
81
326,280
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 Agreement at 0x7fab700ad930, file "f.py", line 4> LOAD_CONST 'Agreement' MAKE_FUNCTION LOAD_CONST 'Agreement' LOAD_NAME Entity CALL_FUNCTION STORE_NAME Agreement LOAD_C...
from office365.entity import Entity class Agreement(Entity): """ Represents a tenant's customizable terms of use agreement that is created and managed with Azure Active Directory (Azure AD). You can use the following methods to create and manage the Azure Active Directory Terms of Use feature accordin...
data/Office365-REST-Python-Client-2.5.5/office365/directory/identitygovernance/termsofuse/agreement.py
183
81
188,864
LOAD_CONST 0 LOAD_CONST ('ClientValue',) IMPORT_NAME office365.runtime.client_value IMPORT_FROM ClientValue STORE_NAME ClientValue POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object SelfSignedCertificate at 0x7fab700ad390, file "f.py", line 4> LOAD_CONST 'SelfSignedCertificate' MAKE_FUNCTION LOAD_CONST 'SelfSignedCertif...
from office365.runtime.client_value import ClientValue class SelfSignedCertificate(ClientValue): """Contains the public part of a signing certificate.""" def __init__(self, display_name=None): """ :param str display_name: """ self.displayName = display_name
data/Office365-REST-Python-Client-2.5.5/office365/directory/certificates/self_signed.py
233
81
188,867
LOAD_CONST 0 LOAD_CONST ('path',) IMPORT_NAME django.urls IMPORT_FROM path STORE_NAME path POP_TOP LOAD_CONST 1 LOAD_CONST ('views',) IMPORT_NAME IMPORT_FROM views STORE_NAME views POP_TOP LOAD_NAME path LOAD_CONST 'customurlconf/noslash' LOAD_NAME views LOAD_ATTR empty_view CALL_FUNCTION LOAD_NAME path LOAD_CONST '...
from django.urls import path from . import views urlpatterns = [ path("customurlconf/noslash", views.empty_view), path("customurlconf/slash/", views.empty_view), path("customurlconf/needsquoting#/", views.empty_view), ]
data/Django-5.0.2/tests/middleware/extra_urls.py
135
81
326,338
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME mongomock STORE_NAME mongomock LOAD_NAME mongomock LOAD_ATTR patch LOAD_CONST (('server.example.com', 27017),) LOAD_CONST ('servers',) CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object MyTestA at 0x7fab41caf0c0, file "f.py", line 4> LOAD_CONST 'MyTestA' MAKE_FUNCTION LOAD_...
import mongomock @mongomock.patch(servers=(("server.example.com", 27017),)) class MyTestA(object): ... @mongomock.patch(("mydata.com", "myprivatedata.com")) class MyTestB(object): ...
data/mongomock-4.1.2/tests/types/patch.py
273
81
219,788
LOAD_CONST '\nI/O for XDMF.\nhttps://xdmf.org/index.php/XDMF_Model_and_Format\n' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('read', 'write') IMPORT_NAME main IMPORT_FROM read STORE_NAME read IMPORT_FROM write STORE_NAME write POP_TOP LOAD_CONST 1 LOAD_CONST ('TimeSeriesReader', 'TimeSeriesWriter') IMPORT_NAME time_s...
""" I/O for XDMF. https://xdmf.org/index.php/XDMF_Model_and_Format """ from .main import read, write from .time_series import TimeSeriesReader, TimeSeriesWriter __all__ = ["read", "write", "TimeSeriesWriter", "TimeSeriesReader"]
data/meshio-5.3.5/src/meshio/xdmf/__init__.py
153
81
222,959
LOAD_CONST "Dataset definition for radon.\n\nDEPRECATED!\nIf you want to use the Radon dataset builder class, use:\ntfds.builder_cls('radon')\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_TO...
"""Dataset definition for radon. DEPRECATED! If you want to use the Radon dataset builder class, use: tfds.builder_cls('radon') """ from tensorflow_datasets.core import lazy_builder_import Radon = lazy_builder_import.LazyBuilderImport("radon")
data/tensorflow-datasets-4.9.4/tensorflow_datasets/structured/radon.py
125
81
255,202
LOAD_CONST 0 LOAD_CONST ('CSVLogger',) IMPORT_NAME lightning_fabric.loggers.csv_logs IMPORT_FROM CSVLogger STORE_NAME CSVLogger POP_TOP LOAD_CONST 0 LOAD_CONST ('Logger',) IMPORT_NAME lightning_fabric.loggers.logger IMPORT_FROM Logger STORE_NAME Logger POP_TOP LOAD_CONST 0 LOAD_CONST ('TensorBoardLogger',) IMPORT_NAM...
from lightning_fabric.loggers.csv_logs import CSVLogger # noqa: F401 from lightning_fabric.loggers.logger import Logger # noqa: F401 from lightning_fabric.loggers.tensorboard import TensorBoardLogger # noqa: F401
data/lightning-fabric-2.2.0.post0/src/lightning_fabric/loggers/__init__.py
118
81
9,546
LOAD_CONST 0 LOAD_CONST ('TType', 'TMessageType', 'TFrozenDict', 'TException', 'TApplicationException') IMPORT_NAME thrift.Thrift IMPORT_FROM TType STORE_NAME TType IMPORT_FROM TMessageType STORE_NAME TMessageType IMPORT_FROM TFrozenDict STORE_NAME TFrozenDict IMPORT_FROM TException STORE_NAME TException IMPORT_FROM TA...
from thrift.Thrift import ( TType, TMessageType, TFrozenDict, TException, TApplicationException, ) from thrift.protocol.TProtocol import TProtocolException from thrift.TRecursive import fix_spec import sys from .ttypes import *
data/hmsclient-0.1.1/hmsclient/genthrift/fb303/constants.py
197
81
442,240
LOAD_CONST 0 LOAD_CONST ('get_scanner',) IMPORT_NAME uncompyle6.scanner IMPORT_FROM get_scanner STORE_NAME get_scanner POP_TOP LOAD_CONST 0 LOAD_CONST ('get_python_parser',) IMPORT_NAME uncompyle6.parser IMPORT_FROM get_python_parser STORE_NAME get_python_parser POP_TOP LOAD_CONST <code object test_get_scanner at 0x7...
from uncompyle6.scanner import get_scanner from uncompyle6.parser import get_python_parser def test_get_scanner(): assert get_scanner("2.7.13") def test_get_parser(): assert get_python_parser("2.7.13")
data/uncompyle6-3.9.0/pytest/test_basic.py
258
81
441,884
LOAD_CONST 'https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css' STORE_NAME BOOTSTRAP LOAD_CONST 'https://use.fontawesome.com/releases/v6.3.0/css/all.css' STORE_NAME FONT_AWESOME LOAD_CONST None RETURN_VALUE
BOOTSTRAP = ( "https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/" "font/bootstrap-icons.css" ) FONT_AWESOME = "https://use.fontawesome.com/releases/v6.3.0/css/all.css"
data/dash-bootstrap-components-1.5.0/dash_bootstrap_components/icons.py
85
81
198,783
LOAD_CONST 1 LOAD_CONST ('IotHubClient',) IMPORT_NAME _iot_hub_client IMPORT_FROM IotHubClient STORE_NAME IotHubClient POP_TOP LOAD_CONST 'IotHubClient' BUILD_LIST STORE_NAME __all__ SETUP_EXCEPT to 42 LOAD_CONST 1 LOAD_CONST ('patch_sdk',) IMPORT_NAME _patch IMPORT_FROM patch_sdk STORE_NAME patch_sdk POP_TOP LOAD_...
from ._iot_hub_client import IotHubClient __all__ = ["IotHubClient"] try: from ._patch import patch_sdk # type: ignore patch_sdk() except ImportError: pass from ._version import VERSION __version__ = VERSION
data/azure-mgmt-iothub-3.0.0/azure/mgmt/iothub/__init__.py
179
81
200,686
LOAD_CONST 'Package for analysis of magnetic structures.' 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 ('CollinearMagneticStructureAnalyzer', 'MagneticStructureEnumerator', 'Ordering', 'OverwriteMagmom...
"""Package for analysis of magnetic structures.""" from __future__ import annotations from pymatgen.analysis.magnetism.analyzer import ( CollinearMagneticStructureAnalyzer, MagneticStructureEnumerator, Ordering, OverwriteMagmomMode, magnetic_deformation, )
data/pymatgen-2024.2.20/pymatgen/analysis/magnetism/__init__.py
183
81
335,852
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'sql mi start-stop-schedule' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7faa53250ed0, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LO...
from azure.cli.core.aaz import * @register_command_group( "sql mi start-stop-schedule", ) class __CMDGroup(AAZCommandGroup): """Manage the managed instance's start stop schedule.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/sql/aaz/latest/sql/mi/startstopschedule/__cmd_group.py
190
81
375,407
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME importlib.metadata STORE_NAME importlib LOAD_CONST <code object test_pytest_entry_points_are_identical at 0x7f8aac1fa1e0, file "f.py", line 4> LOAD_CONST 'test_pytest_entry_points_are_identical' MAKE_FUNCTION STORE_NAME test_pytest_entry_points_are_identical LOAD_CONST None RET...
import importlib.metadata def test_pytest_entry_points_are_identical(): dist = importlib.metadata.distribution("pytest") entry_map = {ep.name: ep for ep in dist.entry_points} assert entry_map["pytest"].value == entry_map["py.test"].value
data/pytest-8.0.1/testing/test_entry_points.py
285
81
427,595
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 ('Route53Domains',) IMPORT_NAME prowler.providers.aws.services.route53.route53_service IMPORT_FROM Route53Domains STOR...
from prowler.providers.aws.lib.audit_info.audit_info import current_audit_info from prowler.providers.aws.services.route53.route53_service import Route53Domains route53domains_client = Route53Domains(current_audit_info)
data/prowler-3.14.0/prowler/providers/aws/services/route53/route53domains_client.py
140
81
183,174
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os STORE_NAME os LOAD_NAME os LOAD_METHOD getenv LOAD_CONST 'GCSFS_TEST_BUCKET' LOAD_CONST 'gcsfs_test' CALL_METHOD STORE_NAME TEST_BUCKET LOAD_NAME os LOAD_METHOD getenv LOAD_CONST 'GCSFS_TEST_PROJECT' LOAD_CONST 'project' CALL_METHOD STORE_NAME TEST_PROJECT LOAD_CONST 'gcsf...
import os TEST_BUCKET = os.getenv("GCSFS_TEST_BUCKET", "gcsfs_test") TEST_PROJECT = os.getenv("GCSFS_TEST_PROJECT", "project") TEST_REQUESTER_PAYS_BUCKET = "gcsfs_test_req_pay"
data/gcsfs-2024.2.0/gcsfs/tests/settings.py
120
81
193,170
LOAD_CONST 0 LOAD_CONST ('host',) IMPORT_NAME django_hosts IMPORT_FROM host STORE_NAME host POP_TOP LOAD_CONST 0 LOAD_CONST ('patterns',) IMPORT_NAME django_hosts IMPORT_FROM patterns STORE_NAME patterns POP_TOP LOAD_NAME patterns LOAD_CONST '' LOAD_NAME host LOAD_CONST 'app\\.example\\.org' LOAD_CONST 'tests.con...
from django_hosts import host from django_hosts import patterns host_patterns = patterns( "", host( r"app\.example\.org", "tests.contrib.django_hosts.django_app.app_urls", name="app", ), )
data/ddtrace-2.6.3/tests/contrib/django_hosts/django_app/hosts.py
125
81
269,863
LOAD_CONST 0 LOAD_CONST ('read_ipc', 'read_ipc_schema', 'read_ipc_stream', 'scan_ipc') IMPORT_NAME polars.io.ipc.functions IMPORT_FROM read_ipc STORE_NAME read_ipc IMPORT_FROM read_ipc_schema STORE_NAME read_ipc_schema IMPORT_FROM read_ipc_stream STORE_NAME read_ipc_stream IMPORT_FROM scan_ipc STORE_NAME scan_ipc POP_T...
from polars.io.ipc.functions import read_ipc, read_ipc_schema, read_ipc_stream, scan_ipc __all__ = [ "read_ipc", "read_ipc_stream", "read_ipc_schema", "scan_ipc", ]
data/polars-0.20.10/py-polars/polars/io/ipc/__init__.py
155
81
334,007
LOAD_BUILD_CLASS LOAD_CONST <code object APIError at 0x7fab703068a0, file "f.py", line 1> LOAD_CONST 'APIError' MAKE_FUNCTION LOAD_CONST 'APIError' LOAD_NAME Exception CALL_FUNCTION STORE_NAME APIError LOAD_BUILD_CLASS LOAD_CONST <code object APITimeout at 0x7fab70306780, file "f.py", line 11> LOAD_CONST 'APITimeout' ...
class APIError(Exception): """This exception gets raised whenever a non-200 status code was returned by the Shodan API.""" def __init__(self, value): self.value = value def __str__(self): return self.value class APITimeout(APIError): pass
data/shodan-1.31.0/shodan/exception.py
348
81
232,659
LOAD_CONST 0 LOAD_CONST ('ActorCriticCnnPolicy', 'ActorCriticPolicy', 'MultiInputActorCriticPolicy') IMPORT_NAME stable_baselines3.common.policies IMPORT_FROM ActorCriticCnnPolicy STORE_NAME ActorCriticCnnPolicy IMPORT_FROM ActorCriticPolicy STORE_NAME ActorCriticPolicy IMPORT_FROM MultiInputActorCriticPolicy STORE_NAM...
from stable_baselines3.common.policies import ( ActorCriticCnnPolicy, ActorCriticPolicy, MultiInputActorCriticPolicy, ) MlpPolicy = ActorCriticPolicy CnnPolicy = ActorCriticCnnPolicy MultiInputPolicy = MultiInputActorCriticPolicy
data/sb3_contrib-2.2.1/sb3_contrib/trpo/policies.py
144
81
193,203
LOAD_CONST 'Python Tool Configuration.' 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 ('dataclass',) IMPORT_NAME dataclasses IMPORT_FROM dataclass STORE_NAME dataclass POP_TOP LOAD_CONST 1 LOAD_CONST (...
"""Python Tool Configuration.""" from __future__ import annotations from dataclasses import dataclass # Backwards compatibility from .fields import field from .pytoolconfig import PyToolConfig from .types import UniversalKey __all__ = ["PyToolConfig", "field", "UniversalKey", "dataclass"]
data/pytoolconfig-1.3.1/src/pytoolconfig/__init__.py
189
81
404,452
LOAD_CONST 0 LOAD_CONST ('dataclass',) IMPORT_NAME dataclasses IMPORT_FROM dataclass STORE_NAME dataclass POP_TOP LOAD_CONST 0 LOAD_CONST ('InitVar',) IMPORT_NAME dataclasses IMPORT_FROM InitVar STORE_NAME InitVar POP_TOP LOAD_NAME dataclass LOAD_BUILD_CLASS LOAD_CONST <code object Foo at 0x7f8ab7617660, file "f.py",...
from dataclasses import dataclass from dataclasses import InitVar @dataclass class Foo: init_only: InitVar[int] real_attr: int def test_demonstrate(): assert Foo(1, 2) == Foo(1, 3)
data/pytest-8.0.1/testing/example_scripts/dataclasses/test_compare_initvar.py
305
81
427,647
LOAD_CONST 1 LOAD_CONST ('DummyObject', 'requires_backends') IMPORT_NAME import_utils IMPORT_FROM DummyObject STORE_NAME DummyObject IMPORT_FROM requires_backends STORE_NAME requires_backends POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object BarkSelfAttention at 0x7fab543e78a0, file "f.py", line 4> LOAD_CONST 'BarkSelf...
from .import_utils import DummyObject, requires_backends class BarkSelfAttention(metaclass=DummyObject): _backends = ["transformers_431"] def __init__(self, *args, **kwargs): requires_backends(self, ["transformers_431"])
data/optimum-1.17.1/optimum/utils/dummy_bettertransformer_objects.py
267
81
150,278
LOAD_CONST 0 LOAD_CONST ('CSVLogger',) IMPORT_NAME lightning_fabric.loggers.csv_logs IMPORT_FROM CSVLogger STORE_NAME CSVLogger POP_TOP LOAD_CONST 0 LOAD_CONST ('Logger',) IMPORT_NAME lightning_fabric.loggers.logger IMPORT_FROM Logger STORE_NAME Logger POP_TOP LOAD_CONST 0 LOAD_CONST ('TensorBoardLogger',) IMPORT_NAM...
from lightning_fabric.loggers.csv_logs import CSVLogger # noqa: F401 from lightning_fabric.loggers.logger import Logger # noqa: F401 from lightning_fabric.loggers.tensorboard import TensorBoardLogger # noqa: F401
data/pytorch-lightning-2.2.0.post0/src/lightning_fabric/loggers/__init__.py
118
81
420,083
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 __name__ LOAD_CONST '__main__' COMPARE_OP == POP_JUMP_IF_FALSE LOAD_NAME os LOAD_ATTR environ LOAD_METHOD setdefault LOAD_CONST 'DJANGO_SETTINGS_MODULE' LOAD_CONST 'test_app.settings' CALL_...
import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "test_app.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
data/django-smart-selects-1.6.0/manage.py
155
81
343,138
LOAD_CONST 0 LOAD_CONST ('_AutomaticOptimization',) IMPORT_NAME pytorch_lightning.loops.optimization.automatic IMPORT_FROM _AutomaticOptimization STORE_NAME _AutomaticOptimization POP_TOP LOAD_CONST 0 LOAD_CONST ('_ManualOptimization',) IMPORT_NAME pytorch_lightning.loops.optimization.manual IMPORT_FROM _ManualOptimiz...
from pytorch_lightning.loops.optimization.automatic import ( _AutomaticOptimization, ) # noqa: F401 from pytorch_lightning.loops.optimization.manual import ( _ManualOptimization, ) # noqa: F401
data/pytorch-lightning-2.2.0.post0/src/pytorch_lightning/loops/optimization/__init__.py
106
81
419,982
LOAD_CONST 'Authorization is the process of determining which Slack credentials should be available\nwhile processing an incoming Slack event.\n\nRefer to https://slack.dev/bolt-python/concepts#authorization for details.\n' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('AuthorizeResult',) IMPORT_NAME authorize_result IM...
"""Authorization is the process of determining which Slack credentials should be available while processing an incoming Slack event. Refer to https://slack.dev/bolt-python/concepts#authorization for details. """ from .authorize_result import AuthorizeResult __all__ = [ "AuthorizeResult", ]
data/slack_bolt-1.18.1/slack_bolt/authorization/__init__.py
111
81
171,832
LOAD_CONST ('Definition', 'Definitions', 'DateMovingConvention', 'EndOfMonthConvention', 'HolidayOutputs') STORE_NAME __all__ LOAD_CONST 1 LOAD_CONST ('Definition', 'Definitions') IMPORT_NAME _definition IMPORT_FROM Definition STORE_NAME Definition IMPORT_FROM Definitions STORE_NAME Definitions POP_TOP LOAD_CONST 3 L...
__all__ = ( "Definition", "Definitions", "DateMovingConvention", "EndOfMonthConvention", "HolidayOutputs", ) from ._definition import Definition, Definitions from ..._enums import DateMovingConvention, EndOfMonthConvention, HolidayOutputs
data/refinitiv-data-1.6.0/refinitiv/data/content/ipa/dates_and_calendars/add_periods/__init__.py
149
81
195,605
LOAD_CONST True LOAD_CONST True LOAD_CONST '1920x1080x24' LOAD_CONST True LOAD_CONST False LOAD_CONST ('enableVNC', 'enableVideo') BUILD_CONST_KEY_MAP LOAD_CONST ('acceptSslCerts', 'acceptInsecureCerts', 'screenResolution', 'selenoid:options') BUILD_CONST_KEY_MAP STORE_NAME capabilities LOAD_CONST None RETURN_VALUE
capabilities = { "acceptSslCerts": True, "acceptInsecureCerts": True, "screenResolution": "1920x1080x24", "selenoid:options": { "enableVNC": True, "enableVideo": False, }, }
data/seleniumbase-4.23.7/examples/capabilities/selenoid_cap_file.py
83
81
348,934
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 <code object ...
from __future__ import absolute_import, division, print_function __metaclass__ = type def testfilter(data): return "{0}_via_testfilter_from_userdir".format(data) class FilterModule(object): def filters(self): return {"testfilter": testfilter}
data/ansible-core-2.16.3/test/integration/targets/collections/collection_root_user/ansible_collections/testns/testcoll/plugins/filter/myfilters.py
290
81
437,298
LOAD_CONST 0 LOAD_CONST ('checksum',) IMPORT_NAME schwifty IMPORT_FROM checksum STORE_NAME checksum POP_TOP LOAD_NAME checksum LOAD_METHOD register LOAD_CONST 'MR' LOAD_CONST 'TN' CALL_METHOD LOAD_BUILD_CLASS LOAD_CONST <code object DefaultAlgorithm at 0x7fab700cbe40, file "f.py", line 4> LOAD_CONST 'DefaultAlgorithm'...
from schwifty import checksum @checksum.register("MR", "TN") class DefaultAlgorithm(checksum.ISO7064_mod97_10): name = "default" def post_process(self, r: int) -> int: return 97 - r
data/schwifty-2024.1.1.post0/schwifty/checksum/iso7064_mod97_10_variant.py
251
81
58,160
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_BUILD_CLASS LOAD_CO...
from __future__ import absolute_import, division, print_function __metaclass__ = type class FactDiffBase: def __init__(self, task_args, task_vars, debug): self._debug = debug self._task_args = task_args self._task_vars = task_vars
data/ansible-9.2.0/ansible_collections/ansible/utils/plugins/plugin_utils/base/fact_diff.py
256
81
6,576
LOAD_CONST 0 LOAD_CONST ('models',) IMPORT_NAME django.db IMPORT_FROM models STORE_NAME models POP_TOP LOAD_CONST 0 LOAD_CONST ('PostgresManager',) IMPORT_NAME psqlextra.manager IMPORT_FROM PostgresManager STORE_NAME PostgresManager POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object PostgresModel at 0x7fab7002b5d0, fil...
from django.db import models from psqlextra.manager import PostgresManager class PostgresModel(models.Model): """Base class for for taking advantage of PostgreSQL specific features.""" class Meta: abstract = True base_manager_name = "objects" objects = PostgresManager()
data/django-postgres-extra-2.0.8/psqlextra/models/base.py
294
81
192,454
LOAD_CONST 1 LOAD_CONST ('PointProcessSampleForecast',) IMPORT_NAME forecast IMPORT_FROM PointProcessSampleForecast STORE_NAME PointProcessSampleForecast POP_TOP LOAD_CONST 1 LOAD_CONST ('PointProcessGluonPredictor',) IMPORT_NAME predictor IMPORT_FROM PointProcessGluonPredictor STORE_NAME PointProcessGluonPredictor PO...
from .forecast import PointProcessSampleForecast from .predictor import PointProcessGluonPredictor from .deeptpp import DeepTPPEstimator __all__ = [ "PointProcessGluonPredictor", "PointProcessSampleForecast", "DeepTPPEstimator", ]
data/gluonts-0.14.4/src/gluonts/mx/model/tpp/__init__.py
165
81
140,159
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME unittest STORE_NAME unittest LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_NAME pytest LOAD_ATTR fixture LOAD_CONST 1 LOAD_CONST 2 BUILD_LIST LOAD_CONST ('params',) CALL_FUNCTION LOAD_CONST <code object two at 0x7f8ab7985c90, file "f.py", line 6> LOAD_...
import unittest import pytest @pytest.fixture(params=[1, 2]) def two(request): return request.param @pytest.mark.usefixtures("two") class TestSomethingElse(unittest.TestCase): def test_two(self): pass
data/pytest-8.0.1/testing/example_scripts/unittest/test_parametrized_fixture_error_message.py
305
81
427,658
LOAD_CONST './cspnext-s_8xb256-rsb-a1-600e_in1k.py' STORE_NAME _base_ LOAD_NAME dict LOAD_NAME dict LOAD_CONST 1 LOAD_CONST 1 LOAD_CONST ('deepen_factor', 'widen_factor') CALL_FUNCTION LOAD_NAME dict LOAD_CONST 1024 LOAD_CONST ('in_channels',) CALL_FUNCTION LOAD_CONST ('backbone', 'head') CALL_FUNCTION STORE_NAME mod...
_base_ = "./cspnext-s_8xb256-rsb-a1-600e_in1k.py" model = dict( backbone=dict(deepen_factor=1, widen_factor=1), head=dict(in_channels=1024) )
data/mmdet-3.3.0/mmdet/.mim/configs/rtmdet/classification/cspnext-l_8xb256-rsb-a1-600e_in1k.py
110
81
151,263
LOAD_CONST 'Slack OAuth flow support for building an app that is installable in any workspaces.\n\nRefer to https://slack.dev/bolt-python/concepts#authenticating-oauth for details.\n' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('OAuthFlow',) IMPORT_NAME oauth_flow IMPORT_FROM OAuthFlow STORE_NAME OAuthFlow POP_TOP LO...
"""Slack OAuth flow support for building an app that is installable in any workspaces. Refer to https://slack.dev/bolt-python/concepts#authenticating-oauth for details. """ from .oauth_flow import OAuthFlow __all__ = [ "OAuthFlow", ]
data/slack_bolt-1.18.1/slack_bolt/oauth/__init__.py
110
81
171,742
LOAD_CONST 0 LOAD_CONST ('H2OSupervisedAlgorithmWithFoldColumn',) IMPORT_NAME ai.h2o.sparkling.ml.algos.H2OSupervisedAlgorithmWithFoldColumn IMPORT_FROM H2OSupervisedAlgorithmWithFoldColumn STORE_NAME H2OSupervisedAlgorithmWithFoldColumn POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object H2OTreeBasedSupervisedAlgorithm ...
from ai.h2o.sparkling.ml.algos.H2OSupervisedAlgorithmWithFoldColumn import ( H2OSupervisedAlgorithmWithFoldColumn, ) class H2OTreeBasedSupervisedAlgorithm(H2OSupervisedAlgorithmWithFoldColumn): pass
data/h2o_pysparkling_3.1-3.44.0.3.post1/ai/h2o/sparkling/ml/algos/H2OTreeBasedSupervisedAlgorithm.py
225
81
27,237
LOAD_CONST 0 LOAD_CONST ('OneHotEncoder',) IMPORT_NAME sklearn.preprocessing IMPORT_FROM OneHotEncoder STORE_NAME OneHotEncoder POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME inspect STORE_NAME inspect LOAD_CONST 'sparse_output' LOAD_CONST False BUILD_MAP STORE_NAME _SPARSE_OUTPUT_FALSE LOAD_CONST 'sparse_output' ...
from sklearn.preprocessing import OneHotEncoder import inspect _SPARSE_OUTPUT_FALSE = {"sparse_output": False} if "sparse_output" not in inspect.getfullargspec(OneHotEncoder).kwonlyargs: _SPARSE_OUTPUT_FALSE = {"sparse": False}
data/fairlearn-0.10.0/fairlearn/utils/_compatibility.py
139
81
81,471
LOAD_CONST 0 LOAD_CONST ('App', 'ComposeResult') IMPORT_NAME textual.app IMPORT_FROM App STORE_NAME App IMPORT_FROM ComposeResult STORE_NAME ComposeResult POP_TOP LOAD_CONST 0 LOAD_CONST ('Label',) IMPORT_NAME textual.widgets IMPORT_FROM Label STORE_NAME Label POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object LabelApp...
from textual.app import App, ComposeResult from textual.widgets import Label class LabelApp(App): def compose(self) -> ComposeResult: yield Label("Hello, world!") if __name__ == "__main__": app = LabelApp() app.run()
data/textual-0.52.1/docs/examples/widgets/label.py
279
81
26,339
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME AVFoundation STORE_NAME AVFoundation 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 TestAVCompos...
import AVFoundation from PyObjCTools.TestSupport import TestCase, min_os_level class TestAVCompositionTrackSegment(TestCase): @min_os_level("10.7") def testConstants(self): self.assertResultIsBOOL(AVFoundation.AVCompositionTrackSegment.isEmpty)
data/pyobjc-framework-AVFoundation-10.1/PyObjCTest/test_avcompositiontracksegment.py
285
81
95,057
SETUP_ANNOTATIONS LOAD_CONST 'Constants for the Sun integration.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('Final',) IMPORT_NAME typing IMPORT_FROM Final STORE_NAME Final POP_TOP LOAD_CONST 'sun' STORE_NAME DOMAIN LOAD_NAME Final LOAD_NAME __annotations__ LOAD_CONST 'DOMAIN' STORE_SUBSCR LOAD_CONST 'Sun' STORE_NA...
"""Constants for the Sun integration.""" from typing import Final DOMAIN: Final = "sun" DEFAULT_NAME: Final = "Sun" SIGNAL_POSITION_CHANGED = f"{DOMAIN}_position_changed" SIGNAL_EVENTS_CHANGED = f"{DOMAIN}_events_changed"
data/homeassistant-2024.2.2/homeassistant/components/sun/const.py
155
81
296,894
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME AVFoundation STORE_NAME AVFoundation 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 TestAVAssetT...
import AVFoundation from PyObjCTools.TestSupport import TestCase, min_os_level class TestAVAssetTrackSegment(TestCase): @min_os_level("10.7") def testMethods(self): self.assertResultIsBOOL(AVFoundation.AVAssetTrackSegment.isEmpty)
data/pyobjc-framework-AVFoundation-10.1/PyObjCTest/test_avassettracksegment.py
285
81
94,999