id
int64
0
6k
code
stringlengths
4k
8k
code_compressed
null
0
#-*- coding: utf-8 -*- from vi import utils from vi.widgets import ListWidget, EditWidget from vi.priorityqueue import actionDelegateSelector, ModuleWidgetSelector from flare.i18n import translate from vi.config import conf from vi.pane import Pane from flare.button import Button class ContextAction(Button): def __...
null
1
from __future__ import annotations import asyncio import enum import time from functools import wraps from typing import Any, Callable, Coroutine, MutableMapping, TypeVar, Protocol from lru import LRU R = TypeVar('R') # Can't use ParamSpec due to https://github.com/python/typing/discussions/946 class CacheProtocol...
null
2
import logging import os import subprocess import time from dataclasses import dataclass, field from typing import TYPE_CHECKING, Any, Dict, List, Mapping, Optional from fastapi import FastAPI, HTTPException from meerkat.interactive.server import Server from meerkat.tools.utils import WeakMapping if TYPE_CHECKING: ...
null
3
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
4
# MicroPython uasyncio module # MIT license; Copyright (c) 2019-2020 Damien P. George # This file contains the core TaskQueue based on a pairing heap, and the core Task class. # They can optionally be replaced by C implementations. # This file is a modified version, based on the extmod in Circuitpython, for # unit te...
null
5
#!/usr/bin/env python #/*########################################################################## # # The PyMca X-Ray Fluorescence Toolkit # # Copyright (c) 2004-2014 European Synchrotron Radiation Facility # # This file is part of the PyMca X-ray Fluorescence Toolkit developed at # the ESRF by the Software group. # ...
null
6
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
7
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
8
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
9
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
10
#!/usr/bin/env python # -*- coding: utf-8 -*- """`cssmin` - A Python port of the YUI CSS compressor.""" """ Home page: https://github.com/zacharyvoase/cssmin License: BSD: https://github.com/zacharyvoase/cssmin/blob/master/LICENSE Original author: Zachary Voase Modified for inclusion into web2py by: Ross Peoples <ros...
null
11
from io import StringIO as TextIO from io import BytesIO as BytesIO from typing import Any, AnyStr, Callable, Generic, IO, List, Optional, Text, Tuple, TypeVar, Union, overload from typing_extensions import Final import sys _T = TypeVar("_T") class FDCapture(Generic[AnyStr]): def __init__(self, targetfd: int, tmp...
null
12
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
13
from plugin import plugin # General values for connect 4 game and board numberRows = 6 numberColumns = 7 numToWin = 4 GameBoard = [[0] * numberColumns for j in range(numberRows)] def restartBoard(): for i in range(numberRows): for j in range(numberColumns): GameBoard[i][j] = str(' ') # Func...
null
14
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
15
from pathlib import Path import pytest from click.testing import CliRunner from ggshield.__main__ import cli from ggshield.verticals.hmsl.crypto import hash_string from tests.unit.conftest import assert_invoke_exited_with, assert_invoke_ok RESULTS_CONTENT = ( '{"hint": "f7f17c88638b42465b6c620a0c7648ef470e611c1...
null
16
## @file # process FD generation # # Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR> # # SPDX-License-Identifier: BSD-2-Clause-Patent # ## # Import Modules # from __future__ import absolute_import from . import Region from . import Fv import Common.LongFilePathOs as os from io import BytesIO i...
null
17
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
18
import IMP import IMP.atom import IMP.pmi import IMP.test import IMP.isd import IMP.pmi.restraints.proteomics import IMP.pmi.io import IMP.pmi.restraints import IMP.pmi.restraints.basic import IMP.rmf import RMF import math import sys class MembraneRestraintPrototype(IMP.Restraint): def __init__(self, ...
null
19
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
20
from __future__ import print_function ## @file # Utility functions and classes for BaseTools unit tests # # Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR> # # SPDX-License-Identifier: BSD-2-Clause-Patent # ## # Import Modules # import base64 import os import os.path import random import shuti...
null
21
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
22
import asyncio import pytest import falcon from falcon import testing from falcon.asgi import App from falcon.errors import UnsupportedError, UnsupportedScopeError class CustomCookies: def items(self): return [('foo', 'bar')] def test_missing_asgi_version(): scope = testing.create_scope() del ...
null
23
# coding: utf-8 """ Generated by: https://github.com/openapi-json-schema-tools/openapi-json-schema-generator """ import unittest from unittest.mock import patch import urllib3 import typing_extensions import unit_test_api from unit_test_api.paths.response_body_post_enum_with_false_does_not_match0_response_body_...
null
24
import abc from typing import List, Tuple from boa3.internal import constants from boa3.internal.model.type.classes import classtype from boa3.internal.neo.vm.opcode.Opcode import Opcode from boa3.internal.neo.vm.type.AbiType import AbiType from boa3.internal.neo.vm.type.StackItem import StackItemType class PythonCl...
null
25
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
26
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
27
import unittest import machine_common_sense as mcs class MyEmptyclass: def __init__(self): pass class MySubclass: def __init__(self): self.my_integer = 7 self.my_string = "h" self.my_list = [8, "i"] self.my_dict = { "my_integer": 9, "my_stri...
null
28
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
29
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
30
import os.path from typing import Optional from pcs import settings from pcs.common import file_type_codes as code from pcs.common.file import FileMetadata def METHOD_NAME(filename: str) -> FileMetadata: return FileMetadata( # The filename is expected to be complete (i.e. booth.conf) and verified ...
null
31
""" @file @brief This file manages the optional Sentry SDK @author Jonathan Thomas <jonathan@openshot.org> @author FeRD (Frank Dana) <ferdnyc@gmail.com> @section LICENSE Copyright (c) 2008-2021 OpenShot Studios, LLC (http://www.openshotstudios.com). This file is part of OpenShot Video Editor (http://www.opens...
null
32
# Copyright (c) Microsoft Corporation. # Licensed under the MIT license. from __future__ import annotations import os import pathlib import re import shutil import tempfile from pathlib import Path from typing import Optional from types import TracebackType import torch # File-related constants CHECKPOINT_FOLDER_PREF...
null
33
"""Condense HTML. 1. Put short html tags back on one line 2. Put short template tags back on one line """ from functools import partial import regex as re from ..helpers import ( inside_ignored_block, inside_protected_trans_block, is_safe_closing_tag, ) from ..settings import Config def METHOD_NAME(ht...
null
34
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
35
import pytest from framework.auth.core import Auth from api_tests.utils import disconnected_from_listeners from osf.models import ( DraftNode, Registration, DraftRegistration, NodeLicense, NodeLog, ) from osf.exceptions import NodeStateError from osf.utils.permissions import READ, WRITE, ADMIN from...
null
36
"""Tests the xonsh lexer.""" import os import pytest from xonsh.pytest.tools import ON_WINDOWS, skip_if_on_unix, skip_if_on_windows @pytest.fixture def check_eval(xonsh_execer, xonsh_session, monkeypatch): def factory(input): env = { "AUTO_CD": False, "XONSH_ENCODING": "utf-8", ...
null
37
""" This type stub file was generated by pyright. """ from collections import UserDict from celery.utils.serialization import strtobool """Worker remote control command implementations.""" __all__ = ("Panel",) DEFAULT_TASK_INFO_ITEMS = ... logger = ... controller_info_t = ... def ok(value): ... def nok(value): ... ...
null
38
"""Decorators used by moviepy.""" import inspect import os import decorator from moviepy.tools import convert_to_seconds @decorator.decorator def outplace(func, clip, *args, **kwargs): """Applies ``func(clip.copy(), *args, **kwargs)`` and returns ``clip.copy()``.""" new_clip = clip.copy() func(new_clip,...
null
39
# container-service-extension # Copyright (c) 2020 VMware, Inc. All Rights Reserved. # SPDX-License-Identifier: BSD-2-Clause from typing import Dict, Optional import container_service_extension.common.utils.pyvcloud_utils as vcd_utils import container_service_extension.common.utils.server_utils as server_utils import...
null
40
"""CheckpointHook with validation results for classification task.""" # Copyright (C) 2023 Intel Corporation # SPDX-License-Identifier: Apache-2.0 # # Copyright (c) Open-MMLab. All rights reserved. from pathlib import Path from typing import Optional from mmcv.runner import BaseRunner from mmcv.runner.dist_utils impo...
null
41
import os.path from typing import Optional from pcs import settings from pcs.common import file_type_codes as code from pcs.common.file import FileMetadata def _for_booth_config(filename: str) -> FileMetadata: return FileMetadata( # The filename is expected to be complete (i.e. booth.conf) and verified ...
null
42
# ************************************************************************** # * # * Authors: Javier Vargas (jvargas@cnb.csic.es) # * # * Unidad de Bioinformatica of Centro Nacional de Biotecnologia , CSIC # * # * This program is free software; you can redistribute it and/or modify # * it under the terms of the GN...
null
43
from base_test import ArkoudaTest from context import arkouda as ak """ Tests basic Arkouda client functionality """ from server_util.test.server_test_util import start_arkouda_server class ClientTest(ArkoudaTest): def test_client_connected(self): """ Tests the following methods: ak.clien...
null
44
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
45
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
46
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
47
# -*- mode: python; coding: utf-8 -*- # Copyright (c) 2021 Radio Astronomy Software Group # Licensed under the 2-clause BSD License """pytest fixtures for UVData tests.""" import os import pytest import pyuvdata.tests as uvtest from pyuvdata import UVData from pyuvdata.data import DATA_PATH from pyuvdata.uvdata.mir_...
null
48
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
49
# coding=utf-8 # Copyright 2023 The TensorFlow Datasets Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
null
50
# -*- coding: utf-8 -*- import pytest from django.utils.timezone import now from api.base.settings.defaults import API_BASE from api_tests.registrations.filters.test_filters import RegistrationListFilteringMixin from osf_tests.factories import ( AuthUserFactory, CollectionFactory, ProjectFactory, Regi...
null
51
# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not us...
null
52
"""Tests for the natural numbers range data type""" from typing import * import pytest from hypothesis import Phase, given, settings, strategies as st from looper.utils import NatIntervalException, NatIntervalInclusive gen_pos_int = st.integers(min_value=1) gen_opt_int = st.one_of(st.integers(), st.none()) def is_...
null
53
#!/usr/bin/env python3 # SPDX-FileCopyrightText: 2009 Fermi Research Alliance, LLC # SPDX-License-Identifier: Apache-2.0 import os import os.path import re import string import sys import time from glideinwms.frontend import glideinFrontendConfig, glideinFrontendDowntimeLib def usage(): print("Usage:") pri...
null
54
#!/usr/bin/env python3 from pathlib import Path import sys import cv2 import depthai as dai import numpy as np # Press WASD to move a manual ROI window for auto-exposure control. # Press N to go back to the region controlled by the NN detections. # Get argument first nnPath = str((Path(__file__).parent / Path('../mo...
null
55
# Copyright 2017-2022 EPAM Systems, Inc. (https://www.epam.com/) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
null
56
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
57
#/############################################################################ # # This module is based on an answer published in: # # http://stackoverflow.com/questions/11513132/embedding-ipython-qt-console-in-a-pyqt-application # # by Tim Rae # # This file is part of the PyMca X-ray Fluorescence Toolkit developed at ...
null
58
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
59
from methods.regular.regular_api import * from shared.utils.task.task_update_manager import Task_Update @routes.route('/api/v1/project/<string:project_string_id>' + '/task/next', methods = ['POST']) @limiter.limit("1 per second, 50 per minute, 1000 per day") @Project_permissions.user_has_p...
null
60
""" Models for the Financial Aid App """ from django.contrib.auth.models import User from django.db import ( models, transaction, ) from rest_framework.exceptions import ValidationError from courses.models import Program from financialaid.constants import FinancialAidStatus from micromasters.models import ( ...
null
61
# Copyright cocotb contributors # Licensed under the Revised BSD License, see LICENSE for details. # SPDX-License-Identifier: BSD-3-Clause """ Tests of cocotb.test functionality * expect_error * expect_fail * timeout """ from collections.abc import Coroutine import pytest from common import MyBaseException, MyExcepti...
null
62
"""Tests for the natural numbers range data type""" from typing import * import pytest from hypothesis import Phase, given, settings, strategies as st from looper.utils import NatIntervalException, NatIntervalInclusive gen_pos_int = st.integers(min_value=1) gen_opt_int = st.one_of(st.integers(), st.none()) def is_...
null
63
# Copyright 2019 Camptocamp (http://www.camptocamp.com). # @author Simone Orsi <simone.orsi@camptocamp.com> # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo.addons.component.core import Component # TODO: this exception is not handled yet on Locomotive side. # Currently if we raise the error t...
null
64
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
65
# Drakkar-Software OctoBot-Tentacles # Copyright (c) Drakkar-Software, All rights reserved. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 3.0 of the License, or...
null
66
################################################################################ # Creme is a free/open-source Customer Relationship Management software # Copyright (C) 2013-2023 Hybird # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General P...
null
67
# coding: utf-8 """ Generated by: https://github.com/openapi-json-schema-tools/openapi-json-schema-generator """ import unittest from unittest.mock import patch import urllib3 import typing_extensions import unit_test_api from unit_test_api.paths.request_body_post_minitems_validation_request_body.post import op...
null
68
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
69
import json from django.conf import settings from django.test import TestCase from django.urls import reverse from parameterized import parameterized from experimenter.legacy.legacy_experiments.api.v1.serializers import ( ExperimentSerializer, ) from experimenter.legacy.legacy_experiments.constants import Experim...
null
70
# Copyright 2023 EPAM Systems, Inc. (https://www.epam.com/) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
null
71
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
72
from typing import Optional from AnyQt.QtCore import Qt, QSizeF, QRectF, QPointF from AnyQt.QtGui import QPixmap, QTransform, QPainter from AnyQt.QtWidgets import ( QGraphicsWidget, QGraphicsItem, QStyleOptionGraphicsItem, QWidget, ) from Orange.widgets.utils.graphicslayoutitem import scaled class GraphicsPixmap...
null
73
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
74
# Copyright (C) 2012 Anaconda, Inc # SPDX-License-Identifier: BSD-3-Clause import errno import os import uuid from contextlib import contextmanager from errno import EACCES, ENOENT, EPERM, EROFS from os.path import isfile, join, lexists from shutil import rmtree from stat import ( S_IRGRP, S_IROTH, S_IRUSR,...
null
75
""" Copyright (c) 2021, NVIDIA CORPORATION. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
null
76
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
77
from __future__ import print_function import IMP import IMP.test import IMP.core import IMP.algebra import IMP.atom linvelkey = IMP.FloatsKey('linvel') class Tests(IMP.test.TestCase): """Test molecular dynamics optimizer states""" def setup_particles(self, coords, copies=1): m = IMP.Model() ...
null
78
from argparse import ArgumentParser, Namespace from pathlib import Path from textwrap import dedent from pyrokinetics import Pyro description = "Convert a gyrokinetics input file to a different code." def add_arguments(parser: ArgumentParser) -> None: parser.add_argument( "target", type=str, ...
null
79
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
80
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
81
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
82
import datetime import pytest from dateutil.parser import parse from pages.experiment_timeline_and_population import TimelineAndPopulationPage @pytest.mark.skip(reason="superceded by e2e tests") @pytest.mark.nondestructive def test_proposed_start_date_fills_correctly(selenium, base_url, fill_overview): """Test p...
null
83
""" This type stub file was generated by pyright. """ import threading from collections import deque from time import time from typing import Any from sentry_sdk._types import MYPY """ A fork of Python 3.6's stdlib queue with Lock swapped out for RLock to avoid a deadlock while garbage collecting. See https://codew...
null
84
from django.contrib.auth.models import User from django.utils import timezone import pytest from dashboard.models import Passport, PassportStamp from passport_score.gr15_providers import providers from passport_score.models import GR15TrustScore from passport_score.utils import handle_submitted_passport, load_passport...
null
85
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
86
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
87
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
88
# Copyright 2017-2023 Posit Software, PBC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
null
89
# coding=utf-8 # Copyright 2023 The TensorFlow Datasets Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
null
90
########################################################################## # # Copyright (c) 2007-2011, Image Engine Design Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redis...
null
91
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
92
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
93
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
94
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
95
# -*- coding: utf-8 -*- ''' Copyright (C) 2021 Gitcoin Core This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
null
96
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null
97
# coding=utf-8 # Copyright 2023 The TensorFlow Datasets Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
null
98
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc from gen_proto.sdv.databroker.v1 import broker_pb2 as sdv_dot_databroker_dot_v1_dot_broker__pb2 class BrokerStub(object): """Missing associated documentati...
null
99
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
null