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 1 LOAD_CONST ('correlation_score', 'log_likelihood_score', 'structure_score') IMPORT_NAME metrics IMPORT_FROM correlation_score STORE_NAME correlation_score IMPORT_FROM log_likelihood_score STORE_NAME log_likelihood_score IMPORT_FROM structure_score STORE_NAME structure_score POP_TOP LOAD_CONST 1 LOAD_CONST...
from .metrics import correlation_score, log_likelihood_score, structure_score from .bn_inference import BayesianModelProbability __all__ = [ "correlation_score", "log_likelihood_score", "structure_score", ]
data/pgmpy-0.1.24/pgmpy/metrics/__init__.py
144
69
322,117
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST <code object pytest_addoption at 0x7fa6a5160150, file "f.py", line 4> LOAD_CONST 'pytest_addoption' MAKE_FUNCTION STORE_NAME pytest_addoption LOAD_NAME pytest LOAD_ATTR fixture LOAD_CONST <code object get_db at 0x7fa6a51601e0, file "f.py", l...
import pytest def pytest_addoption(parser): parser.addoption("--db", action="store", default="mysql-5") @pytest.fixture def get_db(request): return request.config.getoption("--db")
data/mysql-replication-1.0.6/pymysqlreplication/tests/conftest.py
198
69
49,346
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME unittest STORE_NAME unittest LOAD_CONST 0 LOAD_CONST ('make_doctest',) IMPORT_NAME lxml.tests.common_imports IMPORT_FROM make_doctest STORE_NAME make_doctest POP_TOP LOAD_CONST <code object test_suite at 0x7fab81fc4030, file "f.py", line 5> LOAD_CONST 'test_suite' MAKE_FUNCTIO...
import unittest from lxml.tests.common_imports import make_doctest def test_suite(): suite = unittest.TestSuite() suite.addTests([make_doctest("test_formfill.txt")]) return suite
data/lxml-5.1.0/src/lxml/html/tests/test_formfill.py
170
69
58,508
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object WindowsMalwareSeverity at 0x7fab4298e270, file "f.py", line 4> LOAD_CONST 'WindowsMalwareSeverity' MAKE_FUNCTION LOAD_CONST 'WindowsMalwareSeverity' LOAD_NAME str LOAD_NAME Enum CALL_FUN...
from enum import Enum class WindowsMalwareSeverity(str, Enum): Unknown = ("unknown",) Low = ("low",) Moderate = ("moderate",) High = ("high",) Severe = ("severe",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/windows_malware_severity.py
195
69
260,273
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'account' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab415056f0, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAME AAZCommandG...
from azure.cli.core.aaz import * @register_command_group( "account", ) class __CMDGroup(AAZCommandGroup): """Manage Azure subscription information.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/resource/aaz/latest/account/__cmd_group.py
179
69
375,435
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_CONST 0 LOAD_CONST ('QApplication',) IMPORT_NAME PyQt5.QtWidgets IMPORT_FROM QApplication STORE_NAME QApplication POP_TOP LOAD_CONST 0 LOAD_CONST ('loadUi',) IMPORT_NAME PyQt5.uic IMPORT_FROM loadUi STORE_NAME loadUi POP_TOP LOAD_NAME QApplication LOAD...
import sys from PyQt5.QtWidgets import QApplication from PyQt5.uic import loadUi app = QApplication(sys.argv) widget = loadUi("demo.ui") widget.show() sys.exit(app.exec_())
data/PyQt5-5.15.10/examples/pyuic/load_ui1.py
149
69
391,763
LOAD_CONST 'GET' LOAD_NAME uri LOAD_CONST '/unusual_content_length' CALL_FUNCTION LOAD_CONST (1, 0) LOAD_CONST ('CONTENT-LENGTH', '5') BUILD_LIST LOAD_CONST b'HELLO' LOAD_CONST ('method', 'uri', 'version', 'headers', 'body') BUILD_CONST_KEY_MAP STORE_NAME request LOAD_CONST None RETURN_VALUE
request = { "method": "GET", "uri": uri("/unusual_content_length"), "version": (1, 0), "headers": [("CONTENT-LENGTH", "5")], "body": b"HELLO", }
data/gunicorn-21.2.0/tests/requests/valid/008.py
82
69
343,436
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os STORE_NAME os LOAD_NAME repr LOAD_NAME sys LOAD_ATTR stdin LOAD_METHOD read CALL_METHOD CALL_FUNCTION STORE_NAME input LOAD_NAME print LOAD_NAME os LOAD_ATTR path LOAD_METHOD basename LOAD_NAME sys LOAD_ATTR argv ...
import sys import os input = repr(sys.stdin.read()) print(os.path.basename(sys.argv[0])) print(sys.argv[1:]) print(input) if __debug__: print("non-optimized")
data/distlib-0.3.8/tests/scripts/script6.py
140
69
290,872
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'account' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab416c6420, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAME AAZCommandG...
from azure.cli.core.aaz import * @register_command_group( "account", ) class __CMDGroup(AAZCommandGroup): """Manage Azure subscription information.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/resource/aaz/profile_2018_03_01_hybrid/account/__cmd_group.py
179
69
375,441
LOAD_CONST 0 LOAD_CONST ('InitVar', 'dataclass') IMPORT_NAME dataclasses IMPORT_FROM InitVar STORE_NAME InitVar IMPORT_FROM dataclass STORE_NAME dataclass POP_TOP LOAD_CONST 0 LOAD_CONST ('Any', 'Mapping') IMPORT_NAME typing IMPORT_FROM Any STORE_NAME Any IMPORT_FROM Mapping STORE_NAME Mapping POP_TOP LOAD_NAME datac...
from dataclasses import InitVar, dataclass from typing import Any, Mapping @dataclass class RequestPath: """ Describes that a component value should be inserted into the path """ parameters: InitVar[Mapping[str, Any]]
data/airbyte-cdk-0.64.0/airbyte_cdk/sources/declarative/requesters/request_path.py
230
69
51,928
LOAD_CONST False STORE_NAME __test__ LOAD_NAME __name__ LOAD_CONST '__main__' COMPARE_OP == POP_JUMP_IF_FALSE LOAD_CONST 0 LOAD_CONST None IMPORT_NAME eventlet STORE_NAME eventlet LOAD_NAME eventlet LOAD_ATTR monkey_patch LOAD_CONST True LOAD_CONST True LOAD_CONST ('builtins', 'os') CALL_FUNCTION POP_TOP LOAD_NAME ...
__test__ = False if __name__ == "__main__": import eventlet eventlet.monkey_patch(builtins=True, os=True) with open(__file__, buffering=16): pass print("pass")
data/eventlet-0.35.1/tests/isolated/patcher_open_kwargs.py
133
69
361,885
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'servicebus topic' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab64192270, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAME AA...
from azure.cli.core.aaz import * @register_command_group( "servicebus topic", ) class __CMDGroup(AAZCommandGroup): """servicebus topic""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/servicebus/aaz/latest/servicebus/topic/__cmd_group.py
179
69
375,759
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'account' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab415056f0, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAME AAZCommandG...
from azure.cli.core.aaz import * @register_command_group( "account", ) class __CMDGroup(AAZCommandGroup): """Manage Azure subscription information.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/resource/aaz/profile_2020_09_01_hybrid/account/__cmd_group.py
179
69
375,438
LOAD_CONST 'sphinxext.opengraph' BUILD_LIST STORE_NAME extensions LOAD_CONST 'index' STORE_NAME master_doc LOAD_CONST '_build' BUILD_LIST STORE_NAME exclude_patterns LOAD_CONST 'basic' STORE_NAME html_theme LOAD_CONST False STORE_NAME smartquotes LOAD_CONST 'http://example.org/en/latest/' STORE_NAME ogp_site_url L...
extensions = ["sphinxext.opengraph"] master_doc = "index" exclude_patterns = ["_build"] html_theme = "basic" smartquotes = False ogp_site_url = "http://example.org/en/latest/"
data/sphinxext-opengraph-0.9.1/tests/roots/test-quotation-marks/conf.py
89
69
346,033
LOAD_CONST '\nThe :mod:`imblearn.under_sampling.prototype_generation` submodule contains\nmethods that generate new samples in order to balance the dataset.\n' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('ClusterCentroids',) IMPORT_NAME _cluster_centroids IMPORT_FROM ClusterCentroids STORE_NAME ClusterCentroids POP_TO...
""" The :mod:`imblearn.under_sampling.prototype_generation` submodule contains methods that generate new samples in order to balance the dataset. """ from ._cluster_centroids import ClusterCentroids __all__ = ["ClusterCentroids"]
data/imbalanced-learn-0.12.0/imblearn/under_sampling/_prototype_generation/__init__.py
106
69
395,878
LOAD_CONST 'Losses contains common loss computation used in NLP (subject to change).' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('loss',) IMPORT_NAME official.nlp.modeling.losses.weighted_sparse_categorical_crossentropy IMPORT_FROM loss STORE_NAME weighted_sparse_categorical_crossentropy_loss POP_TOP LOAD_CONST None ...
"""Losses contains common loss computation used in NLP (subject to change).""" from official.nlp.modeling.losses.weighted_sparse_categorical_crossentropy import ( loss as weighted_sparse_categorical_crossentropy_loss, )
data/tf-models-official-2.15.0/official/nlp/modeling/losses/__init__.py
88
69
355,661
LOAD_CONST 1 LOAD_CONST ('MetricAlertConditionLexer',) IMPORT_NAME MetricAlertConditionLexer IMPORT_FROM MetricAlertConditionLexer STORE_NAME MetricAlertConditionLexer POP_TOP LOAD_CONST 1 LOAD_CONST ('MetricAlertConditionParser',) IMPORT_NAME MetricAlertConditionParser IMPORT_FROM MetricAlertConditionParser STORE_NAM...
from .MetricAlertConditionLexer import MetricAlertConditionLexer from .MetricAlertConditionParser import MetricAlertConditionParser from .MetricAlertConditionListener import MetricAlertConditionListener from .MetricAlertConditionValidator import MetricAlertConditionValidator
data/azure-cli-2.57.0/azure/cli/command_modules/monitor/grammar/metric_alert/__init__.py
180
69
374,908
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 Vision STORE_NAME Vision LOAD_BUILD_CLASS LOAD_CONST <code object TestVNGenerateForegroundInstanceMaskRequest at 0x7faac02bed20, file "f.py", line 5> LOAD...
from PyObjCTools.TestSupport import TestCase import Vision class TestVNGenerateForegroundInstanceMaskRequest(TestCase): def test_constants(self): self.assertEqual(Vision.VNGenerateForegroundInstanceMaskRequestRevision1, 1)
data/pyobjc-framework-Vision-10.1/PyObjCTest/test_vngenerateforegroundinstanceMaskrequest.py
274
69
87,265
LOAD_CONST 0 LOAD_CONST ('get_plugin_source',) IMPORT_NAME pluginbase IMPORT_FROM get_plugin_source STORE_NAME get_plugin_source POP_TOP LOAD_CONST <code object get_app at 0x7fab823b5e40, file "f.py", line 4> LOAD_CONST 'get_app' MAKE_FUNCTION STORE_NAME get_app LOAD_CONST <code object get_app_name at 0x7fab823b5f60,...
from pluginbase import get_plugin_source def get_app(): rv = get_plugin_source(stacklevel=1) if rv is not None: return rv.app def get_app_name(): return get_app().name
data/pluginbase-1.0.1/tests/plugins/advanced.py
211
69
240,726
LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST 0 LOAD_CONST ('Schema', 'fields') IMPORT_NAME marshmallow IMPORT_FROM Schema STORE_NAME Schema IMPORT_FROM fields STORE_NAME fields POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object DagSour...
from __future__ import annotations from marshmallow import Schema, fields class DagSourceSchema(Schema): """Dag Source schema.""" content = fields.String(dump_only=True) dag_source_schema = DagSourceSchema()
data/apache_airflow-2.8.1/airflow/api_connexion/schemas/dag_source_schema.py
217
69
254,245
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'billing transfer' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab822eaf60, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAME AA...
from azure.cli.core.aaz import * @register_command_group( "billing transfer", ) class __CMDGroup(AAZCommandGroup): """Manage transfer""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/billing/aaz/latest/billing/transfer/__cmd_group.py
178
69
377,373
LOAD_CONST 'Autogenerated version information file.\n\nManual changes to this file will be overwritten.\n\nThe output of git describe was: ``1.3.1``\n\nThe derived version is: ``1.3.1``\n' STORE_NAME __doc__ LOAD_CONST '1.3.1' STORE_NAME __version__ LOAD_CONST None RETURN_VALUE
"""Autogenerated version information file. Manual changes to this file will be overwritten. The output of git describe was: ``1.3.1`` The derived version is: ``1.3.1`` """ __version__ = "1.3.1"
data/cardboardlint-1.3.1/cardboardlint/version.py
86
69
332,854
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'billing profile' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7faa5e81f540, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAME AAZ...
from azure.cli.core.aaz import * @register_command_group( "billing profile", ) class __CMDGroup(AAZCommandGroup): """Manage profile""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/billing/aaz/latest/billing/profile/__cmd_group.py
179
69
377,362
LOAD_CONST 'Test __meta__ properties.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('__version__',) IMPORT_NAME cwl_utils.__meta__ IMPORT_FROM __version__ STORE_NAME __version__ POP_TOP LOAD_CONST None LOAD_CONST ('return',) BUILD_CONST_KEY_MAP LOAD_CONST <code object test_graph_split at 0x7faad43c0780, file "f.py", l...
"""Test __meta__ properties.""" from cwl_utils.__meta__ import __version__ def test_graph_split() -> None: """Confirm that __version__ exists and is a string.""" assert __version__ assert isinstance(__version__, str)
data/cwl-utils-0.32/tests/test_meta.py
162
69
360,424
LOAD_CONST 0 LOAD_CONST ('AppConfig',) IMPORT_NAME django.apps IMPORT_FROM AppConfig STORE_NAME AppConfig POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object CMSFeatureAndConfigConfig at 0x7fab700781e0, file "f.py", line 4> LOAD_CONST 'CMSFeatureAndConfigConfig' MAKE_FUNCTION LOAD_CONST 'CMSFeatureAndConfigConfig' LOAD_N...
from django.apps import AppConfig class CMSFeatureAndConfigConfig(AppConfig): name = "cms.test_utils.project.app_with_cms_feature_and_config" label = "app_with_cms_feature_and_config"
data/django-cms-4.1.0/cms/test_utils/project/app_with_cms_feature_and_config/apps.py
189
69
87,022
LOAD_NAME __file__ LOAD_CONST '-' BUILD_LIST COMPARE_OP == POP_JUMP_IF_FALSE SETUP_LOOP to 64 SETUP_EXCEPT to 30 LOAD_NAME compile LOAD_NAME __file__ LOAD_CONST True LOAD_CONST ('doraise',) CALL_FUNCTION POP_TOP POP_BLOCK JUMP_ABSOLUTE DUP_TOP LOAD_NAME RuntimeError COMPARE_OP exception match POP_JUMP_IF_FALSE POP_...
if __file__ == ["-"]: while True: try: compile(__file__, doraise=True) except RuntimeError: rv = 1 else: rv = 1 print(rv) while 1: pass
data/xdis-6.0.5/test/simple_source/stmts/09_whiletrue_bug.py
140
69
85,382
LOAD_CONST 0 LOAD_CONST ('Config',) IMPORT_NAME parsl.config IMPORT_FROM Config STORE_NAME Config POP_TOP LOAD_CONST 0 LOAD_CONST ('ThreadPoolExecutor',) IMPORT_NAME parsl.executors.threads IMPORT_FROM ThreadPoolExecutor STORE_NAME ThreadPoolExecutor POP_TOP LOAD_CONST <code object fresh_config at 0x7f8aefeaf390, fil...
from parsl.config import Config from parsl.executors.threads import ThreadPoolExecutor def fresh_config(): return Config( executors=[ ThreadPoolExecutor(max_threads=4), ], app_cache=False, )
data/parsl-2024.2.19/parsl/tests/configs/local_threads_no_cache.py
158
69
123,272
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'storage account' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab70055d20, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAME AAZ...
from azure.cli.core.aaz import * @register_command_group( "storage account", ) class __CMDGroup(AAZCommandGroup): """Manage storage accounts.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/storage/aaz/latest/storage/account/__cmd_group.py
179
69
374,668
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'sig' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab70055ed0, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAME AAZCommandGroup...
from azure.cli.core.aaz import * @register_command_group( "sig", ) class __CMDGroup(AAZCommandGroup): """Manage shared image gallery.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/vm/aaz/latest/sig/__cmd_group.py
178
69
376,530
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 ScreenTime STORE_NAME ScreenTime LOAD_BUILD_CLASS LOAD_CONST <code object TestSTScreenTimeConfiguration at 0x7f8af162e1e0, file "f.py", line 6> LOAD_CONST...
from PyObjCTools.TestSupport import TestCase import ScreenTime class TestSTScreenTimeConfiguration(TestCase): def test_methods(self): self.assertResultIsBOOL( ScreenTime.STScreenTimeConfiguration.enforcesChildRestrictions )
data/pyobjc-framework-ScreenTime-10.1/PyObjCTest/test_stscreentimeconfiguration.py
249
69
123,636
LOAD_CONST 0 LOAD_CONST ('AppConfig',) IMPORT_NAME django.apps IMPORT_FROM AppConfig STORE_NAME AppConfig POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object TwoCMSAppClassesConfig at 0x7fab70078f60, file "f.py", line 4> LOAD_CONST 'TwoCMSAppClassesConfig' MAKE_FUNCTION LOAD_CONST 'TwoCMSAppClassesConfig' LOAD_NAME AppCo...
from django.apps import AppConfig class TwoCMSAppClassesConfig(AppConfig): name = "cms.test_utils.project.app_with_two_cms_feature_classes" label = "app_with_two_cms_feature_classes"
data/django-cms-4.1.0/cms/test_utils/project/app_with_two_cms_feature_classes/apps.py
189
69
86,984
LOAD_CONST <code object do_commands at 0x7fab4106ce40, file "f.py", line 1> LOAD_CONST 'do_commands' MAKE_FUNCTION STORE_NAME do_commands LOAD_CONST None RETURN_VALUE LOAD_FAST arg POP_JUMP_IF_TRUE LOAD_CONST 1 STORE_FAST bnum JUMP_FORWARD to 44 SETUP_EXCEPT to 24 LOAD_GLOBAL int LOAD_FAST arg CALL_FUNCTION STORE_F...
def do_commands(self, arg): if not arg: bnum = 1 else: try: bnum = int(arg) except: self.error("Usage:") return self.commands_bnum = bnum
data/xdis-6.0.5/test/simple_source/bug35/06_try_return.py
152
69
85,444
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'eventhubs' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab700550c0, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAME AAZComman...
from azure.cli.core.aaz import * @register_command_group( "eventhubs", ) class __CMDGroup(AAZCommandGroup): """eventhub""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/eventhubs/aaz/profile_2019_03_01_hybrid/eventhubs/__cmd_group.py
179
69
374,701
LOAD_CONST 0 LOAD_CONST ('AppConfig',) IMPORT_NAME django.apps IMPORT_FROM AppConfig STORE_NAME AppConfig POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object TwoCMSAppClassesConfig at 0x7fab8244ded0, file "f.py", line 4> LOAD_CONST 'TwoCMSAppClassesConfig' MAKE_FUNCTION LOAD_CONST 'TwoCMSAppClassesConfig' LOAD_NAME AppCo...
from django.apps import AppConfig class TwoCMSAppClassesConfig(AppConfig): name = "cms.test_utils.project.app_with_two_cms_config_classes" label = "app_with_two_cms_config_classes"
data/django-cms-4.1.0/cms/test_utils/project/app_with_two_cms_config_classes/apps.py
187
69
86,968
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'sig' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab700551e0, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAME AAZCommandGroup...
from azure.cli.core.aaz import * @register_command_group( "sig", ) class __CMDGroup(AAZCommandGroup): """Manage shared image gallery.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/vm/aaz/profile_2020_09_01_hybrid/sig/__cmd_group.py
179
69
376,704
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'eventhubs' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab823bec90, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAME AAZComman...
from azure.cli.core.aaz import * @register_command_group( "eventhubs", ) class __CMDGroup(AAZCommandGroup): """eventhubs""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/__cmd_group.py
177
69
374,729
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'billing account' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab41e98300, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAME AAZ...
from azure.cli.core.aaz import * @register_command_group( "billing account", ) class __CMDGroup(AAZCommandGroup): """Billing account.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/billing/aaz/latest/billing/account/__cmd_group.py
179
69
377,382
LOAD_CONST 'Allow safety to be executable through `python -m safety`.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('absolute_import',) IMPORT_NAME __future__ IMPORT_FROM absolute_import STORE_NAME absolute_import POP_TOP LOAD_CONST 1 LOAD_CONST ('cli',) IMPORT_NAME cli IMPORT_FROM cli STORE_NAME cli POP_TOP LOAD_NAM...
"""Allow safety to be executable through `python -m safety`.""" from __future__ import absolute_import from .cli import cli if __name__ == "__main__": # pragma: no cover cli(prog_name="safety")
data/safety-3.0.1/safety/__main__.py
125
69
86,772
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'network' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab70055150, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAME AAZCommandG...
from azure.cli.core.aaz import * @register_command_group( "network", ) class __CMDGroup(AAZCommandGroup): """Manage Azure Network resources.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/privatedns/aaz/latest/network/__cmd_group.py
179
69
376,278
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'network' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7faa8c203150, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAME AAZCommandG...
from azure.cli.core.aaz import * @register_command_group( "network", ) class __CMDGroup(AAZCommandGroup): """Manage Azure Network resources.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/network/aaz/profile_2017_03_09_profile/network/__cmd_group.py
179
69
377,496
LOAD_CONST 'sphinxext.opengraph' BUILD_LIST STORE_NAME extensions LOAD_CONST 'Project name' STORE_NAME project LOAD_CONST 'index' STORE_NAME master_doc LOAD_CONST '_build' BUILD_LIST STORE_NAME exclude_patterns LOAD_CONST 'basic' STORE_NAME html_theme LOAD_CONST 'http://example.org/en/latest/' STORE_NAME ogp_site_...
extensions = ["sphinxext.opengraph"] project = "Project name" master_doc = "index" exclude_patterns = ["_build"] html_theme = "basic" ogp_site_url = "http://example.org/en/latest/"
data/sphinxext-opengraph-0.9.1/tests/roots/test-sitename-from-project/conf.py
90
69
346,023
LOAD_CONST 'Exceptions raised by IMAP integration.' 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 InvalidAuth at 0x7fab81fc2b70, file "f.py", line 6> ...
"""Exceptions raised by IMAP integration.""" from homeassistant.exceptions import HomeAssistantError class InvalidAuth(HomeAssistantError): """Raise exception for invalid credentials.""" class InvalidFolder(HomeAssistantError): """Raise exception for invalid folder."""
data/homeassistant-2024.2.2/homeassistant/components/imap/errors.py
267
69
297,596
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object AttributeType at 0x7fab4298e270, file "f.py", line 4> LOAD_CONST 'AttributeType' MAKE_FUNCTION LOAD_CONST 'AttributeType' LOAD_NAME str LOAD_NAME Enum CALL_FUNCTION STORE_NAME AttributeT...
from enum import Enum class AttributeType(str, Enum): String = ("String",) Integer = ("Integer",) Reference = ("Reference",) Binary = ("Binary",) Boolean = ("Boolean",) DateTime = ("DateTime",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/attribute_type.py
182
69
259,777
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME kopf STORE_NAME kopf LOAD_NAME kopf LOAD_ATTR on LOAD_METHOD create LOAD_CONST 'kopfexamples' CALL_METHOD LOAD_CONST <code object create_fn at 0x7fab4299ced0, file "f.py", line 4> LOAD_CONST 'create_fn' MAKE_FUNCTION CALL_FUNCTION STORE_NAME create_fn LOAD_CONST None RETURN_VAL...
import kopf @kopf.on.create("kopfexamples") def create_fn(spec, **kwargs): print(f"And here we are! Creating: {spec}") return {"message": "hello world"} # will be the new status
data/kopf-1.37.1/examples/01-minimal/example.py
135
69
94,088
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object DataPolicyOperationStatus at 0x7fab4298e150, file "f.py", line 4> LOAD_CONST 'DataPolicyOperationStatus' MAKE_FUNCTION LOAD_CONST 'DataPolicyOperationStatus' LOAD_NAME str LOAD_NAME Enum...
from enum import Enum class DataPolicyOperationStatus(str, Enum): NotStarted = ("notStarted",) Running = ("running",) Complete = ("complete",) Failed = ("failed",) UnknownFutureValue = ("unknownFutureValue",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/data_policy_operation_status.py
187
69
259,763
LOAD_CONST 1 LOAD_CONST ('WebDriverCreator',) IMPORT_NAME webdrivertools IMPORT_FROM WebDriverCreator STORE_NAME WebDriverCreator POP_TOP LOAD_CONST 1 LOAD_CONST ('WebDriverCache',) IMPORT_NAME webdrivertools IMPORT_FROM WebDriverCache STORE_NAME WebDriverCache POP_TOP LOAD_CONST 1 LOAD_CONST ('SeleniumOptions',) IMP...
from .webdrivertools import WebDriverCreator # noqa from .webdrivertools import WebDriverCache # noqa from .webdrivertools import SeleniumOptions # noqa from .sl_file_detector import SelLibLocalFileDetector # noqa
data/robotframework-seleniumlibrary-6.2.0/src/SeleniumLibrary/keywords/webdrivertools/__init__.py
144
69
332,714
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object AndroidWorkProfileDefaultAppPermissionPolicyType at 0x7fab4298e5d0, file "f.py", line 4> LOAD_CONST 'AndroidWorkProfileDefaultAppPermissionPolicyType' MAKE_FUNCTION LOAD_CONST 'AndroidWo...
from enum import Enum class AndroidWorkProfileDefaultAppPermissionPolicyType(str, Enum): DeviceDefault = ("deviceDefault",) Prompt = ("prompt",) AutoGrant = ("autoGrant",) AutoDeny = ("autoDeny",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/android_work_profile_default_app_permission_policy_type.py
201
69
259,701
LOAD_CONST 0 LOAD_CONST ('BrokerClient',) IMPORT_NAME alpaca.broker.client IMPORT_FROM BrokerClient STORE_NAME BrokerClient POP_TOP LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME alpaca.broker.enums IMPORT_STAR LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME alpaca.broker.models IMPORT_STAR LOAD_CONST 0 LOAD_CONST ('*',) IMP...
from alpaca.broker.client import BrokerClient from alpaca.broker.enums import * from alpaca.broker.models import * from alpaca.broker.requests import * __all__ = [ "BrokerClient", ]
data/alpaca_py-0.16.0/alpaca/broker/__init__.py
125
69
293,061
LOAD_CONST 0 LOAD_CONST ('db',) IMPORT_NAME south.db IMPORT_FROM db STORE_NAME db POP_TOP 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 Migration at 0x7fab820718a0, file "f.py", line 5> LOAD_CONST 'Migration' MAKE_FUNCTI...
from south.db import db from django.db import models class Migration: depends_on = (("fakeapp", "0003_alter_spam"),) def forwards(self): pass def backwards(self): pass
data/South-1.0.2/south/tests/otherfakeapp/migrations/0003_third.py
270
69
392,275
LOAD_CONST 1 LOAD_CONST ('SeleniumTestability',) IMPORT_NAME plugin IMPORT_FROM SeleniumTestability STORE_NAME SeleniumTestability POP_TOP LOAD_CONST 1 LOAD_CONST ('TestabilityListener',) IMPORT_NAME listener IMPORT_FROM TestabilityListener STORE_NAME TestabilityListener POP_TOP LOAD_CONST 'SeleniumTestability' LOAD_...
from .plugin import SeleniumTestability from .listener import TestabilityListener __all__ = ["SeleniumTestability", "TestabilityListener"] from ._version import get_versions # type: ignore __version__ = get_versions() del get_versions
data/robotframework-seleniumtestability-2.1.0/src/SeleniumTestability/__init__.py
140
69
293,341
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME FontNameToDisplayNameTransformer STORE_NAME FontNameToDisplayNameTransformer LOAD_CONST 0 LOAD_CONST None IMPORT_NAME FontSampleDisplayView STORE_NAME FontSampleDisplayView LOAD_CONST 0 LOAD_CONST None IMPORT_NAME PreferencesPanelController STORE_NAME PreferencesPanelControlle...
import FontNameToDisplayNameTransformer # noqa: F401 import FontSampleDisplayView # noqa: F401 import PreferencesPanelController # noqa: F401 from PyObjCTools import AppHelper AppHelper.runEventLoop()
data/pyobjc-framework-Cocoa-10.1/Examples/AppKit/CocoaBindings/ControlledPreferences/ControlledPreferences.py
110
69
64,627
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'network' 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_NAME AAZCommandG...
from azure.cli.core.aaz import * @register_command_group( "network", ) class __CMDGroup(AAZCommandGroup): """Manage Azure Network resources.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/network/aaz/profile_2018_03_01_hybrid/network/__cmd_group.py
179
69
378,818
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'network' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab8204a390, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAME AAZCommandG...
from azure.cli.core.aaz import * @register_command_group( "network", ) class __CMDGroup(AAZCommandGroup): """Manage Azure Network resources.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/network/aaz/profile_2020_09_01_hybrid/network/__cmd_group.py
179
69
378,581
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'monitor metrics' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab8204aed0, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAME AAZ...
from azure.cli.core.aaz import * @register_command_group( "monitor metrics", ) class __CMDGroup(AAZCommandGroup): """View Azure resource metrics.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/monitor/aaz/latest/monitor/metrics/__cmd_group.py
178
69
375,090
LOAD_CONST 'Constants for the Rituals Perfume Genie integration.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('timedelta',) IMPORT_NAME datetime IMPORT_FROM timedelta STORE_NAME timedelta POP_TOP LOAD_CONST 'rituals_perfume_genie' STORE_NAME DOMAIN LOAD_CONST 'account_hash' STORE_NAME ACCOUNT_HASH LOAD_NAME timedel...
"""Constants for the Rituals Perfume Genie integration.""" from datetime import timedelta DOMAIN = "rituals_perfume_genie" ACCOUNT_HASH = "account_hash" UPDATE_INTERVAL = timedelta(minutes=2)
data/homeassistant-2024.2.2/homeassistant/components/rituals_perfume_genie/const.py
112
69
297,142
LOAD_CONST 0 LOAD_CONST ('LakeFSClient', 'LakeFSLoader', 'UnstructuredLakeFSLoader') IMPORT_NAME langchain_community.document_loaders.lakefs IMPORT_FROM LakeFSClient STORE_NAME LakeFSClient IMPORT_FROM LakeFSLoader STORE_NAME LakeFSLoader IMPORT_FROM UnstructuredLakeFSLoader STORE_NAME UnstructuredLakeFSLoader POP_TOP ...
from langchain_community.document_loaders.lakefs import ( LakeFSClient, LakeFSLoader, UnstructuredLakeFSLoader, ) __all__ = ["LakeFSClient", "LakeFSLoader", "UnstructuredLakeFSLoader"]
data/langchain-0.1.8/langchain/document_loaders/lakefs.py
122
69
368,623
LOAD_CONST 0 LOAD_CONST ('ByzantiumState',) IMPORT_NAME eth.vm.forks.byzantium.state IMPORT_FROM ByzantiumState STORE_NAME ByzantiumState POP_TOP LOAD_CONST 1 LOAD_CONST ('PetersburgComputation',) IMPORT_NAME computation IMPORT_FROM PetersburgComputation STORE_NAME PetersburgComputation POP_TOP LOAD_BUILD_CLASS LOAD_...
from eth.vm.forks.byzantium.state import ( ByzantiumState, ) from .computation import ( PetersburgComputation, ) class PetersburgState(ByzantiumState): computation_class = PetersburgComputation
data/py-evm-0.9.0b1/eth/vm/forks/petersburg/state.py
194
69
106,988
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME numpy STORE_NAME np LOAD_CONST 0 LOAD_CONST ('OpRun',) IMPORT_NAME onnx.reference.op_run IMPORT_FROM OpRun STORE_NAME OpRun POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object NonZero at 0x7fab70078540, file "f.py", line 6> LOAD_CONST 'NonZero' MAKE_FUNCTION LOAD_CONST 'NonZero' ...
import numpy as np from onnx.reference.op_run import OpRun class NonZero(OpRun): def _run(self, x): # type: ignore res = np.vstack(np.nonzero(x)) return (res,)
data/onnxoptimizer-0.3.13/third_party/onnx/onnx/reference/ops/op_non_zero.py
221
69
85,625
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'network' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab822eaf60, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAME AAZCommandG...
from azure.cli.core.aaz import * @register_command_group( "network", ) class __CMDGroup(AAZCommandGroup): """Manage Azure Network resources.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/network/aaz/latest/network/__cmd_group.py
178
69
377,678
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'monitor account' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab8204a390, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAME AAZ...
from azure.cli.core.aaz import * @register_command_group( "monitor account", ) class __CMDGroup(AAZCommandGroup): """Manage monitor account""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/monitor/aaz/latest/monitor/account/__cmd_group.py
179
69
375,076
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME screeninfo.enumerators.cygwin STORE_NAME screeninfo LOAD_CONST 0 LOAD_CONST None IMPORT_NAME screeninfo.enumerators.drm STORE_NAME screeninfo LOAD_CONST 0 LOAD_CONST None IMPORT_NAME screeninfo.enumerators.osx STORE_NAME screeninfo LOAD_CONST 0 LOAD_CONST None IMPORT_NAME scr...
import screeninfo.enumerators.cygwin import screeninfo.enumerators.drm import screeninfo.enumerators.osx import screeninfo.enumerators.windows import screeninfo.enumerators.xinerama import screeninfo.enumerators.xrandr
data/screeninfo-0.8.1/screeninfo/enumerators/__init__.py
144
69
391,934
LOAD_CONST <code object test_aio_context at 0x7fab4299c390, file "f.py", line 1> LOAD_CONST 'test_aio_context' MAKE_FUNCTION STORE_NAME test_aio_context LOAD_CONST None RETURN_VALUE LOAD_FAST context_maker CALL_FUNCTION STORE_FAST ctx LOAD_FAST ctx LOAD_CONST None COMPARE_OP is not POP_JUMP_IF_TRUE LOAD_GLOBAL Assert...
def test_aio_context(context_maker): ctx = context_maker() assert ctx is not None ctx = context_maker(1) assert ctx is not None ctx = context_maker(32218) assert ctx is not None
data/caio-0.9.13/tests/test_aio_context.py
172
69
94,338
LOAD_BUILD_CLASS LOAD_CONST <code object SimpleBunch at 0x7fab427a64b0, file "f.py", line 1> LOAD_CONST 'SimpleBunch' MAKE_FUNCTION LOAD_CONST 'SimpleBunch' LOAD_NAME dict CALL_FUNCTION STORE_NAME SimpleBunch LOAD_CONST None RETURN_VALUE LOAD_NAME __name__ STORE_NAME __module__ LOAD_CONST 'SimpleBunch' STORE_NAME __qu...
class SimpleBunch(dict): """Container object for datasets: dictionnary-like object that exposes its keys as attributes. """ def __init__(self, **kwargs): dict.__init__(self, kwargs) self.__dict__ = self
data/vispy-0.14.1/vispy/util/bunch.py
219
69
348,446
LOAD_CONST 1 LOAD_CONST ('namespace', 'get_namespace', 'default_namespace', 'metadata', 'get_metadata', 'default_metadata', 'Metaflow', 'Flow', 'Run', 'Step', 'Task', 'DataArtifact') IMPORT_NAME core IMPORT_FROM namespace STORE_NAME namespace IMPORT_FROM get_namespace STORE_NAME get_namespace IMPORT_FROM default_namesp...
from .core import ( namespace, get_namespace, default_namespace, metadata, get_metadata, default_metadata, Metaflow, Flow, Run, Step, Task, DataArtifact, )
data/metaflow-2.11.3/metaflow/client/__init__.py
159
69
347,818
LOAD_CONST 0 LOAD_CONST ('Union',) IMPORT_NAME typing IMPORT_FROM Union STORE_NAME Union POP_TOP LOAD_CONST 2 LOAD_CONST ('UnknownType',) IMPORT_NAME extensions IMPORT_FROM UnknownType STORE_NAME UnknownType POP_TOP LOAD_CONST 2 LOAD_CONST ('DnaOligo',) IMPORT_NAME models.dna_oligo IMPORT_FROM DnaOligo STORE_NAME Dna...
from typing import Union from ..extensions import UnknownType from ..models.dna_oligo import DnaOligo from ..models.rna_oligo import RnaOligo Oligo = Union[DnaOligo, RnaOligo, UnknownType]
data/benchling_api_client-2.0.271/benchling_api_client/v2/alpha/models/oligo.py
162
69
71,488
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__ SETUP_EXCEPT to 38 LOAD...
from __future__ import absolute_import, division, print_function __metaclass__ = type try: import __builtin__ except ImportError: BUILTINS = "builtins" else: BUILTINS = "__builtin__"
data/ansible-9.2.0/ansible_collections/ibm/qradar/tests/unit/compat/builtins.py
161
69
279,992
LOAD_CONST 'is_unsupported_float' BUILD_LIST STORE_NAME __all__ LOAD_CONST 0 LOAD_CONST None IMPORT_NAME math STORE_NAME math LOAD_NAME float LOAD_NAME bool LOAD_CONST ('value', 'return') BUILD_CONST_KEY_MAP LOAD_CONST <code object is_unsupported_float at 0x7f8af162ef60, file "f.py", line 6> LOAD_CONST 'is_unsupporte...
__all__ = ["is_unsupported_float"] import math def is_unsupported_float(value: float) -> bool: if isinstance(value, float): return math.isinf(value) or math.isnan(value) return False
data/neptune-1.9.1/src/neptune/internal/types/utils.py
159
69
117,384
LOAD_CONST '\nA pytest plugin for testing Tornado apps using plain (undecorated) coroutine tests.\n' STORE_NAME __doc__ LOAD_CONST (0, 6, 0, 'post2') STORE_NAME __version_info__ LOAD_CONST '.' LOAD_METHOD join LOAD_NAME map LOAD_NAME str LOAD_NAME __version_info__ CALL_FUNCTION CALL_METHOD STORE_NAME __version__ LOAD...
""" A pytest plugin for testing Tornado apps using plain (undecorated) coroutine tests. """ __version_info__ = (0, 6, 0, "post2") __version__ = ".".join(map(str, __version_info__))
data/pytest-tornasync-0.6.0.post2/src/pytest_tornasync/__init__.py
91
69
307,391
LOAD_CONST 3 LOAD_CONST ('GmpHelpTestMixin',) IMPORT_NAME gmpv208.system.help IMPORT_FROM GmpHelpTestMixin STORE_NAME GmpHelpTestMixin POP_TOP LOAD_CONST 3 LOAD_CONST ('Gmpv224TestCase',) IMPORT_NAME gmpv224 IMPORT_FROM Gmpv224TestCase STORE_NAME Gmpv224TestCase POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Gmpv22...
from ...gmpv208.system.help import GmpHelpTestMixin from ...gmpv224 import Gmpv224TestCase class Gmpv224HelpTestCase(GmpHelpTestMixin, Gmpv224TestCase): pass
data/python_gvm-24.1.0/tests/protocols/gmpv224/system/test_help.py
225
69
371,570
LOAD_CONST <code object test_nbextension_path at 0x7fab823caed0, file "f.py", line 1> LOAD_CONST 'test_nbextension_path' MAKE_FUNCTION STORE_NAME test_nbextension_path LOAD_CONST None RETURN_VALUE LOAD_CONST 0 LOAD_CONST ('_jupyter_nbextension_paths',) IMPORT_NAME myproject IMPORT_FROM _jupyter_nbextension_paths STORE...
def test_nbextension_path(): from myproject import _jupyter_nbextension_paths path = _jupyter_nbextension_paths() assert len(path) == 1 assert isinstance(path[0], dict)
data/hatch_jupyter_builder-0.8.3/tests/data/create_cmdclass/myproject/myproject/tests/test_nbextension_path.py
200
69
61,408
LOAD_CONST 0 LOAD_CONST ('network_mtu',) IMPORT_NAME neutron_lib.api.definitions IMPORT_FROM network_mtu STORE_NAME network_mtu 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 NetworkMtuDefin...
from neutron_lib.api.definitions import network_mtu from neutron_lib.tests.unit.api.definitions import base class NetworkMtuDefinitionTestCase(base.DefinitionBaseTestCase): extension_module = network_mtu extension_attributes = ("mtu",)
data/neutron-lib-3.10.0/neutron_lib/tests/unit/api/definitions/test_network_mtu.py
207
69
384,986
LOAD_CONST 0 LOAD_CONST ('floatingip_autodelete_internal',) IMPORT_NAME neutron_lib.api.definitions IMPORT_FROM floatingip_autodelete_internal STORE_NAME floatingip_autodelete_internal POP_TOP LOAD_CONST 0 LOAD_CONST ('base',) IMPORT_NAME neutron_lib.tests.unit.api.definitions IMPORT_FROM base STORE_NAME base POP_TOP ...
from neutron_lib.api.definitions import floatingip_autodelete_internal from neutron_lib.tests.unit.api.definitions import base class FloatingIPAutodeleteInternalTestCase(base.DefinitionBaseTestCase): extension_module = floatingip_autodelete_internal
data/neutron-lib-3.10.0/neutron_lib/tests/unit/api/definitions/test_floatingip_autodelete_internal.py
226
69
384,912
LOAD_CONST 0 LOAD_CONST ('bgp_dragentscheduler',) IMPORT_NAME neutron_lib.api.definitions IMPORT_FROM bgp_dragentscheduler STORE_NAME bgp_dragentscheduler 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 <...
from neutron_lib.api.definitions import bgp_dragentscheduler from neutron_lib.tests.unit.api.definitions import base class BgpDragentSchedulerDefinitionTestCase(base.DefinitionBaseTestCase): extension_module = bgp_dragentscheduler
data/neutron-lib-3.10.0/neutron_lib/tests/unit/api/definitions/test_bgp_dragentscheduler.py
223
69
384,904
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME numpy STORE_NAME np LOAD_CONST 0 LOAD_CONST ('OpRunBinaryComparison',) IMPORT_NAME onnx.reference.ops._op IMPORT_FROM OpRunBinaryComparison STORE_NAME OpRunBinaryComparison POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object LessOrEqual at 0x7f8ab706f930, file "f.py", line 6> LOA...
import numpy as np from onnx.reference.ops._op import OpRunBinaryComparison class LessOrEqual(OpRunBinaryComparison): def _run(self, a, b): # type: ignore return (np.less_equal(a, b),)
data/onnxsim-0.4.35/third_party/onnx-optimizer/third_party/onnx/onnx/reference/ops/op_less_or_equal.py
228
69
114,149
LOAD_CONST 'Legacy public TF-Keras utilities.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('deserialize_keras_object',) IMPORT_NAME tf_keras.src.saving.legacy.serialization IMPORT_FROM deserialize_keras_object STORE_NAME deserialize_keras_object POP_TOP LOAD_CONST 0 LOAD_CONST ('serialize_keras_object',) IMPORT_NAME ...
"""Legacy public TF-Keras utilities.""" from tf_keras.src.saving.legacy.serialization import deserialize_keras_object from tf_keras.src.saving.legacy.serialization import serialize_keras_object
data/tf_keras-2.15.0/tf_keras/src/utils/legacy/__init__.py
137
69
353,712
LOAD_CONST <code object _to_int at 0x7f8ece8a86f0, file "f.py", line 1> LOAD_CONST '_to_int' MAKE_FUNCTION STORE_NAME _to_int LOAD_CONST '2.9.2' STORE_NAME __version__ LOAD_NAME tuple LOAD_CONST <code object <genexpr> at 0x7f8ece8a8300, file "f.py", line 9> LOAD_CONST '<genexpr>' MAKE_FUNCTION LOAD_NAME __version__ L...
def _to_int(s): try: return int(s) except ValueError: return s __version__ = "2.9.2" version_info = tuple(_to_int(s) for s in __version__.split("."))
data/onnxsim-0.4.35/third_party/pybind11/pybind11/_version.py
230
69
114,110
LOAD_CONST 0 LOAD_CONST ('port_security',) IMPORT_NAME neutron_lib.api.definitions IMPORT_FROM port_security STORE_NAME port_security 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 PortSecur...
from neutron_lib.api.definitions import port_security from neutron_lib.tests.unit.api.definitions import base class PortSecurityDefinitionTestCase(base.DefinitionBaseTestCase): extension_module = port_security extension_attributes = ("port_security_enabled",)
data/neutron-lib-3.10.0/neutron_lib/tests/unit/api/definitions/test_port_security.py
201
69
384,881
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME geocoder STORE_NAME geocoder LOAD_CONST <code object test_unicode at 0x7faa7c181540, file "f.py", line 4> LOAD_CONST 'test_unicode' MAKE_FUNCTION STORE_NAME test_unicode LOAD_CONST <code object test_repr_unicode at 0x7faa7c1816f0, file "f.py", line 9> LOAD_CONST 'test_repr_uni...
import geocoder def test_unicode(): g = geocoder.google("東京", key="") assert g def test_repr_unicode(): g = geocoder.osm("Tokyo, Japan") assert g
data/geocoder-1.38.1/tests/test_unicode.py
224
69
271,336
LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST 0 LOAD_CONST ('setup', 'teardown') IMPORT_NAME test IMPORT_FROM setup STORE_NAME setup IMPORT_FROM teardown STORE_NAME teardown POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STOR...
from __future__ import annotations from test import setup, teardown import pytest @pytest.fixture(scope="session", autouse=True) def test_setup_and_teardown(): setup() yield teardown()
data/pymongo-4.6.1/test/conftest.py
210
69
118,787
LOAD_CONST 1 LOAD_CONST ('BaseTester',) IMPORT_NAME base_tester IMPORT_FROM BaseTester STORE_NAME BaseTester POP_TOP LOAD_CONST 1 LOAD_CONST ('GlobalEmbeddingSpaceTester',) IMPORT_NAME global_embedding_space IMPORT_FROM GlobalEmbeddingSpaceTester STORE_NAME GlobalEmbeddingSpaceTester POP_TOP LOAD_CONST 1 LOAD_CONST (...
from .base_tester import BaseTester from .global_embedding_space import GlobalEmbeddingSpaceTester from .global_twostream_embedding_space import GlobalTwoStreamEmbeddingSpaceTester from .with_same_parent_label import WithSameParentLabelTester
data/pytorch-metric-learning-2.4.1/src/pytorch_metric_learning/testers/__init__.py
178
69
394,273
LOAD_CONST 0 LOAD_CONST ('print_function',) IMPORT_NAME __future__ IMPORT_FROM print_function STORE_NAME print_function POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME yaml STORE_NAME yaml LOAD_CONST <code object main at 0x7fab5429d4b0, file "f.py", line 6> LOAD_CONST 'main' MAKE_FUNCTION STORE_NAME main LOAD_CONST ...
from __future__ import print_function import yaml def main(args): with open(args.config) as fle: config = yaml.safe_load(fle) print(yaml.dump(config, default_flow_style=False))
data/nameko-2.14.1/nameko/cli/show_config.py
181
69
43,587
LOAD_CONST 'Exceptions for oxml sub-package.' STORE_NAME __doc__ LOAD_BUILD_CLASS LOAD_CONST <code object XmlchemyError at 0x7fab8002f0c0, file "f.py", line 4> LOAD_CONST 'XmlchemyError' MAKE_FUNCTION LOAD_CONST 'XmlchemyError' LOAD_NAME Exception CALL_FUNCTION STORE_NAME XmlchemyError LOAD_BUILD_CLASS LOAD_CONST <co...
"""Exceptions for oxml sub-package.""" class XmlchemyError(Exception): """Generic error class.""" class InvalidXmlError(XmlchemyError): """Raised when invalid XML is encountered, such as on attempt to access a missing required child element."""
data/python-docx-1.1.0/src/docx/oxml/exceptions.py
261
69
43,529
LOAD_CONST 3 LOAD_CONST ('GmpHelpTestMixin',) IMPORT_NAME gmpv208.system.help IMPORT_FROM GmpHelpTestMixin STORE_NAME GmpHelpTestMixin POP_TOP LOAD_CONST 3 LOAD_CONST ('Gmpv225TestCase',) IMPORT_NAME gmpv225 IMPORT_FROM Gmpv225TestCase STORE_NAME Gmpv225TestCase POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Gmpv22...
from ...gmpv208.system.help import GmpHelpTestMixin from ...gmpv225 import Gmpv225TestCase class Gmpv225HelpTestCase(GmpHelpTestMixin, Gmpv225TestCase): pass
data/python_gvm-24.1.0/tests/protocols/gmpv225/system/test_help.py
227
69
371,948
LOAD_CONST 0 LOAD_CONST ('KeymileSSH',) IMPORT_NAME netmiko.keymile.keymile_ssh IMPORT_FROM KeymileSSH STORE_NAME KeymileSSH POP_TOP LOAD_CONST 0 LOAD_CONST ('KeymileNOSSSH',) IMPORT_NAME netmiko.keymile.keymile_nos_ssh IMPORT_FROM KeymileNOSSSH STORE_NAME KeymileNOSSSH POP_TOP LOAD_CONST 'KeymileSSH' LOAD_CONST 'Key...
from netmiko.keymile.keymile_ssh import KeymileSSH from netmiko.keymile.keymile_nos_ssh import KeymileNOSSSH __all__ = ["KeymileSSH", "KeymileNOSSSH"]
data/netmiko-4.3.0/netmiko/keymile/__init__.py
130
69
302,411
LOAD_CONST 1 LOAD_CONST ('alerts', 'api', 'base', 'core', 'css_templates', 'dynamic_plugins', 'health', 'redirects', 'sql_lab', 'tags') IMPORT_NAME IMPORT_FROM alerts STORE_NAME alerts IMPORT_FROM api STORE_NAME api IMPORT_FROM base STORE_NAME base IMPORT_FROM core STORE_NAME core IMPORT_FROM css_templates STORE_NAME c...
from . import ( alerts, api, base, core, css_templates, dynamic_plugins, health, redirects, sql_lab, tags, ) from .log import api as log_api, views
data/apache-superset-3.1.1/superset/views/__init__.py
165
69
393,256
LOAD_CONST 'Constants definitions for pssh package' STORE_NAME __doc__ LOAD_CONST 3 STORE_NAME DEFAULT_RETRIES LOAD_CONST 5 STORE_NAME RETRY_DELAY LOAD_CONST None RETURN_VALUE
"""Constants definitions for pssh package""" DEFAULT_RETRIES = 3 """Default number of retry attempts for SSH client initialisation - authentication, establishing connections et al.""" RETRY_DELAY = 5 """Default delay in seconds between retry attempts for SSH client initialisation."""
data/parallel-ssh-2.12.0/pssh/constants.py
47
69
353,377
LOAD_CONST 0 LOAD_CONST ('app_manager',) IMPORT_NAME os_ken.base IMPORT_FROM app_manager STORE_NAME app_manager POP_TOP LOAD_CONST 0 LOAD_CONST ('ofproto_v1_3',) IMPORT_NAME os_ken.ofproto IMPORT_FROM ofproto_v1_3 STORE_NAME ofproto_v1_3 POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object DummyOpenFlowApp at 0x7fab81fc4...
from os_ken.base import app_manager from os_ken.ofproto import ofproto_v1_3 class DummyOpenFlowApp(app_manager.OSKenApp): OFP_VERSIONS = [ofproto_v1_3.OFP_VERSION]
data/os-ken-2.8.0/os_ken/tests/unit/cmd/dummy_openflow_app.py
215
69
61,769
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME param STORE_NAME param LOAD_CONST 'pyct' STORE_NAME NAME LOAD_CONST 1 LOAD_CONST ('report',) IMPORT_NAME report IMPORT_FROM report STORE_NAME report POP_TOP LOAD_NAME str LOAD_NAME param LOAD_ATTR version LOAD_ATTR Version LOAD_NAME __file__ LOAD_CONST '$Format:%h$' LOAD_NAM...
import param NAME = "pyct" from .report import report # noqa: api __version__ = str( param.version.Version(fpath=__file__, archive_commit="$Format:%h$", reponame=NAME) )
data/pyct-0.5.0/pyct/__init__.py
107
69
270,804
LOAD_CONST '\nmini-reader to test get_reader_class with local reader\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('readers',) IMPORT_NAME docutils IMPORT_FROM readers STORE_NAME readers POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Reader at 0x7fab416261e0, file "f.py", line 8> LOAD_CONST 'Reader' MAKE_FUNCTION ...
""" mini-reader to test get_reader_class with local reader """ from docutils import readers class Reader(readers.Reader): supported = ("dummy",) """Formats this reader supports.""" document = None """A document tree."""
data/docutils-0.20.1/test/local-reader.py
159
69
83,133
LOAD_CONST 0 LOAD_CONST ('PLATFORM',) IMPORT_NAME OpenGL.platform IMPORT_FROM PLATFORM STORE_NAME _p POP_TOP LOAD_CONST 0 LOAD_CONST ('_ErrorChecker',) IMPORT_NAME OpenGL.error IMPORT_FROM _ErrorChecker STORE_NAME _ErrorChecker POP_TOP LOAD_NAME _ErrorChecker POP_JUMP_IF_FALSE LOAD_NAME _ErrorChecker LOAD_NAME _p LO...
from OpenGL.platform import PLATFORM as _p from OpenGL.error import _ErrorChecker if _ErrorChecker: _error_checker = _ErrorChecker(_p, _p.GL.glGetError) else: _error_checker = None
data/PyOpenGL-3.1.7/OpenGL/raw/GLU/_errors.py
126
69
60,619
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME collections STORE_NAME collections LOAD_CONST 0 LOAD_CONST None IMPORT_NAME numpy STORE_NAME np LOAD_CONST <code object test_no_duplicates_in_np__all__ at 0x7fa874593420, file "f.py", line 5> LOAD_CONST 'test_no_duplicates_in_np__all__' MAKE_FUNCTION STORE_NAME test_no_duplica...
import collections import numpy as np def test_no_duplicates_in_np__all__(): dups = {k: v for k, v in collections.Counter(np.__all__).items() if v > 1} assert len(dups) == 0
data/numpy-1.26.4/numpy/tests/test__all__.py
287
69
364,112
LOAD_BUILD_CLASS LOAD_CONST <code object FunctionContext at 0x7faa5f1b6c00, file "f.py", line 1> LOAD_CONST 'FunctionContext' MAKE_FUNCTION LOAD_CONST 'FunctionContext' CALL_FUNCTION STORE_NAME FunctionContext LOAD_CONST None RETURN_VALUE LOAD_NAME __name__ STORE_NAME __module__ LOAD_CONST 'FunctionContext' STORE_NAME...
class FunctionContext: """Object to hold any additional function level attributes not used by Durable.""" def __init__(self, **kwargs): if kwargs is not None: for key, value in kwargs.items(): self.__setattr__(key, value)
data/azure-functions-durable-1.2.9/azure/durable_functions/models/FunctionContext.py
238
69
249,017
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__ SETUP_EXCEPT to 38 LOAD...
from __future__ import absolute_import, division, print_function __metaclass__ = type try: import __builtin__ except ImportError: BUILTINS = "builtins" else: BUILTINS = "__builtin__"
data/ansible-9.2.0/ansible_collections/netapp/elementsw/tests/unit/compat/builtins.py
161
69
279,784
LOAD_CONST 'Module for defining error correlation methods.' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('compute_ebm_global_importance',) IMPORT_NAME ebm IMPORT_FROM compute_ebm_global_importance STORE_NAME compute_ebm_global_importance POP_TOP LOAD_CONST 1 LOAD_CONST ('compute_gbm_global_importance',) IMPORT_NAME gb...
"""Module for defining error correlation methods.""" from .ebm import compute_ebm_global_importance from .gbm import compute_gbm_global_importance __all__ = ["compute_ebm_global_importance", "compute_gbm_global_importance"]
data/erroranalysis-0.5.3/erroranalysis/error_correlation_methods/__init__.py
148
69
307,587
LOAD_CONST 0 LOAD_CONST ('PurePath',) IMPORT_NAME pathlib IMPORT_FROM PurePath STORE_NAME PurePath POP_TOP LOAD_NAME str LOAD_NAME str LOAD_NAME str LOAD_CONST ('d1', 'd2', 'return') BUILD_CONST_KEY_MAP LOAD_CONST <code object destdir_join at 0x7fab413495d0, file "f.py", line 4> LOAD_CONST 'destdir_join' MAKE_FUNCTION...
from pathlib import PurePath def destdir_join(d1: str, d2: str) -> str: if not d1: return d2 return str(PurePath(d1, *PurePath(d2).parts[1:]))
data/meson-1.3.2/mesonbuild/scripts/__init__.py
171
69
82,298
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__ SETUP_EXCEPT to 38 LOAD...
from __future__ import absolute_import, division, print_function __metaclass__ = type try: import __builtin__ except ImportError: BUILTINS = "builtins" else: BUILTINS = "__builtin__"
data/ansible-9.2.0/ansible_collections/netapp/azure/tests/unit/compat/builtins.py
161
69
279,766
LOAD_CONST 1 LOAD_CONST ('AuthorizationServer',) IMPORT_NAME authorization_server IMPORT_FROM AuthorizationServer STORE_NAME AuthorizationServer POP_TOP LOAD_CONST 1 LOAD_CONST ('ResourceProtector', 'current_token') IMPORT_NAME resource_protector IMPORT_FROM ResourceProtector STORE_NAME ResourceProtector IMPORT_FROM c...
from .authorization_server import AuthorizationServer from .resource_protector import ( ResourceProtector, current_token, ) from .signals import ( client_authenticated, token_authenticated, token_revoked, )
data/Authlib-1.3.0/authlib/integrations/flask_oauth2/__init__.py
156
69
116,474
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__ SETUP_EXCEPT to 38 LOAD...
from __future__ import absolute_import, division, print_function __metaclass__ = type try: import __builtin__ except ImportError: BUILTINS = "builtins" else: BUILTINS = "__builtin__"
data/ansible-9.2.0/ansible_collections/community/rabbitmq/tests/unit/compat/builtins.py
161
69
274,758
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 fake_xenapi_ref(xenapi_class): return "OpaqueRef:fake-xenapi-%s-ref" % xenapi_class
data/ansible-9.2.0/ansible_collections/community/general/tests/unit/plugins/modules/xenserver_common.py
161
69
275,136
LOAD_CONST 0 LOAD_CONST ('absolute_import', 'division', 'print_function') IMPORT_NAME __future__ IMPORT_FROM absolute_import STORE_NAME absolute_import IMPORT_FROM division STORE_NAME division IMPORT_FROM print_function STORE_NAME print_function POP_TOP LOAD_NAME type STORE_NAME __metaclass__ LOAD_CONST 0 LOAD_CONST ...
from __future__ import absolute_import, division, print_function __metaclass__ = type from ansible_collections.community.general.plugins.modules import puppet from .helper import Helper Helper.from_module(puppet, __name__)
data/ansible-9.2.0/ansible_collections/community/general/tests/unit/plugins/modules/test_puppet.py
155
69
275,150