commit stringlengths 40 40 | subject stringlengths 1 3.25k | old_file stringlengths 4 311 | new_file stringlengths 4 311 | old_contents stringlengths 0 26.3k | lang stringclasses 3
values | proba float64 0 1 | diff stringlengths 0 7.82k |
|---|---|---|---|---|---|---|---|
957d93639a4877258a55ec31c1817569da61c14f | Add scaletree script | coalescent/scripts/scaletree.py | coalescent/scripts/scaletree.py | Python | 0.000001 | @@ -0,0 +1,2348 @@
+#!/usr/bin/env python3%0Afrom __future__ import division, print_function%0A%0Afrom ete3 import Tree%0Aimport numpy as np%0Afrom numpy import median, mean%0A%0Aimport itertools as itl%0Afrom math import ceil, log%0Afrom string import ascii_uppercase%0A%0A%0AMETRICS = %5B%0A 'mean',%0A 'median',... | |
33a5f8394265770bcdcae152a7e9635572fe6e09 | Change the revision number for downloading chrome 29 from continuous archive. | chrome/test/chromedriver/archive.py | chrome/test/chromedriver/archive.py | # Copyright (c) 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Downloads items from the Chromium continuous archive."""
import os
import platform
import urllib
import util
CHROME_27_REVISION = '190466'
CHROME_2... | Python | 0.000002 | @@ -364,11 +364,11 @@
'208
-334
+261
'%0A%0A_
|
3026a02f1b8739eee42a53906db3169f8fc9653e | Add fibonacci-modified | fibonacci-modified/solution.py | fibonacci-modified/solution.py | Python | 0.001069 | @@ -0,0 +1,139 @@
+import sys%0A%0Aa, b, n = %5Bint(x) for x in sys.stdin.readline().split()%5D%0Ac = b*b + a%0A%0Afor i in range(3, n):%0A a, b, c = b, c, c*c+b%0A%0Aprint(c)
| |
594902c5f2dea525889e79bfabfb6e3f20abc4ab | Fix initial tuple for ignorable nexts in mezzanine.utils.login_redirect. | mezzanine/utils/urls.py | mezzanine/utils/urls.py |
import re
import unicodedata
from django.core.urlresolvers import reverse, NoReverseMatch
from django.shortcuts import redirect
from django.utils.encoding import smart_unicode
from mezzanine.conf import settings
from mezzanine.utils.importing import import_dotted_path
def admin_url(model, url, object_id=None):
... | Python | 0 | @@ -1491,16 +1491,17 @@
ts = (%22%22
+,
)%0A if
|
436947a267582ba11387b8363721299be76fc6e0 | Fix unicode handling for slugs in Django 1.5 | mezzanine/utils/urls.py | mezzanine/utils/urls.py |
import re
import unicodedata
from django.core.urlresolvers import resolve, reverse, NoReverseMatch
from django.shortcuts import redirect
from django.utils.encoding import smart_unicode
from mezzanine.conf import settings
from mezzanine.utils.importing import import_dotted_path
def admin_url(model, url, object_id=N... | Python | 0.000055 | @@ -1368,16 +1368,24 @@
char in
+unicode(
smart_un
@@ -1388,24 +1388,25 @@
t_unicode(s)
+)
:%0A ca
|
e58a84208a46cf749f92d8170ed81794ecfa3137 | Update downloadable clang to r347933 | third_party/clang_toolchain/download_clang.bzl | third_party/clang_toolchain/download_clang.bzl | """ Helpers to download a recent clang release."""
def _get_platform_folder(os_name):
os_name = os_name.lower()
if os_name.startswith("windows"):
return "Win"
if os_name.startswith("mac os"):
return "Mac"
if not os_name.startswith("linux"):
fail("Unknown platform")
return "L... | Python | 0 | @@ -1676,12 +1676,12 @@
%2234
-6388
+7933
%22%0A
@@ -1703,17 +1703,17 @@
ISION =
-3
+1
%0A%0A pa
@@ -1820,238 +1820,238 @@
%22: %22
-d47b7ac4756c3f8e3bbfa0e81bf199ec8e9faa3a6b11573f0705e9c04af7ad51%22,%0A %22Mac%22: %22de2b0c701e19cda633ea02804866dd24d8506afb8cae51fbcce3415b76f4ded3%22,%0A %22... |
46ba4d805722044bcc4066d9cccedbbe414b94a3 | fix AndroidBrowserFinderTest. | tools/telemetry/telemetry/system_stub.py | tools/telemetry/telemetry/system_stub.py | # Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Provides stubs for os, sys and subprocess for testing
This test allows one to test code that itself uses os, sys, and subprocess.
"""
import os
impor... | Python | 0.000026 | @@ -2234,16 +2234,21 @@
warder(_
+=None
):%0A r
|
0bf2ed3b865180f3a46f3e34e3b90c9beccd720a | Create models.py | consultant/consultant/models.py | consultant/consultant/models.py | Python | 0.000001 | @@ -0,0 +1,509 @@
+from django.db import models%0Afrom django import forms%0Afrom django.forms import ModelForm%0A%0Aclass School(models.Model):%0A%0A name = models.CharField(max_length=500)%0A four_year_college = models.Boolean(default=true)%0A is_public = models.Boolean(default=true)%0A population = models.Interg... | |
b57add183aa5fb4466583756cd0a3c22b5ae8f0b | add feature extractor abstract class | laserchicken/feature_extractor.py | laserchicken/feature_extractor.py | Python | 0 | @@ -0,0 +1,1295 @@
+class FeatureExtractor(object):%0A def get_requirements(self):%0A %22%22%22%0A Get a list of names of the point attributes that are needed for this feature extraction. For simple features,%0A this could be just x, y, and z. Other features can build on again other features to ... | |
c97ab456f22dca6a69e3775cc1353dbf3957389a | Add basic support for LimitlessLED | homeassistant/components/light/limitlessled.py | homeassistant/components/light/limitlessled.py | Python | 0 | @@ -0,0 +1,2516 @@
+%22%22%22%0Ahomeassistant.components.light.limitlessled%0A~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%0A%0ASupport for LimitlessLED bulbs, also known as...%0A%0AEasyBulb%0AAppLight%0AAppLamp%0AMiLight%0ALEDme%0Adekolight%0AiLight%0A%0A%22%22%22%0Aimport random%0Aimport logging%0A%0Afrom homeassistant.helper... | |
278a69902937812a87de0fe476787cc0f702231f | Create Triangle.py | learning/test/Triangle.py | learning/test/Triangle.py | Python | 0.000013 | @@ -0,0 +1,688 @@
+class Triangle(object):%0A number_of_sides = 3%0A %0A def __init__(self, angle1, angle2, angle3):%0A self.angle1 = angle1%0A self.angle2 = angle2%0A self.angle3 = angle3%0A %0A def check_angles(self):%0A if (self.angle1+self.angle2+self.angle3) == 180:%0... | |
99c5cedcb910a8fe7919bb773f39da76da51332b | improve module description | account_journal_period_close/__openerp__.py | account_journal_period_close/__openerp__.py | # -*- coding: utf-8 -*-
#
#
# Authors: Adrien Peiffer
# Copyright (c) 2014 Acsone SA/NV (http://www.acsone.eu)
# All Rights Reserved
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsibility of assessing all potential
# consequences result... | Python | 0.000055 | @@ -1514,36 +1514,32 @@
%22%22%22%0A
-Account Journal Period Close
+Close period per journal
%0A===
@@ -1563,16 +1563,11 @@
====
-======%0At
+%0A%0AT
his
@@ -1584,168 +1584,438 @@
ows
-to add some ac
+fine grained
co
-u
nt
- move in a close period.%0ATo do this, you have to specify account journals on which
+... |
94d342cc643b89f33e637e86e064cce747635696 | Update release version | authentic2/__init__.py | authentic2/__init__.py | import sys
import os
sys.path.append(os.path.join(os.path.dirname(__file__), 'vendor'))
# The version of Authentic
VERSION = "2.0.1"
| Python | 0 | @@ -128,7 +128,7 @@
2.0.
-1
+2
%22%0A
|
531ed8190dcc1c29c642867e9a916cf3aad89e5b | add module `models`, including 'ValidateModelMixin` | lu_dj_utils/models.py | lu_dj_utils/models.py | Python | 0 | @@ -0,0 +1,1283 @@
+# coding: utf-8%0A%22%22%22Source: lookup_www.common.models (but just a subset)%0A%0A%22%22%22%0Afrom __future__ import absolute_import, print_function, unicode_literals%0A%0A%0A###############################################################################%0A# MIXINS%0A#############################... | |
d1e61c154d38eb63c03ad5f3111fd230f33b1204 | Add politifact plugin. | plumeria/plugins/politifact.py | plumeria/plugins/politifact.py | Python | 0 | @@ -0,0 +1,1222 @@
+import re%0A%0Aimport plumeria.util.http as http%0Afrom plumeria.command import commands, CommandError%0Afrom plumeria.command.parse import Text%0Afrom plumeria.message.mappings import build_mapping%0Afrom plumeria.util.collections import SafeStructure%0Afrom plumeria.util.ratelimit import rate_limi... | |
6c142b44775007937903409b61829eb8dd594f99 | add migrator for previous bugs | lbrynet/extras/daemon/migrator/migrate9to10.py | lbrynet/extras/daemon/migrator/migrate9to10.py | Python | 0 | @@ -0,0 +1,694 @@
+import sqlite3%0Aimport os%0A%0A%0Adef do_migration(conf):%0A db_path = os.path.join(conf.data_dir, %22lbrynet.sqlite%22)%0A connection = sqlite3.connect(db_path)%0A cursor = connection.cursor()%0A%0A query = %22select stream_hash, sd_hash from main.stream%22%0A for stream_hash, sd_has... | |
8c484a273c4b8de3cf4b8647ad41621dc01c659b | Fix handling of duplicate album artists in ftintitle | beetsplug/ftintitle.py | beetsplug/ftintitle.py | # This file is part of beets.
# Copyright 2013, Verrus, <github.com/Verrus/beets-plugin-featInTitle>
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without... | Python | 0.000004 | @@ -3334,24 +3334,27 @@
(albumartist
+, 1
)%0A if
|
c634f327d63a74f115408daaae40b8ffeff4a2e8 | add start of matchpixels | utils/match_pixels.py | utils/match_pixels.py | Python | 0.000001 | @@ -0,0 +1,2159 @@
+__author__ = 'ajtag'%0A%0A%0Aimport csv%0Aimport xml.etree.ElementTree as ET%0Aimport os.path%0Aimport math%0Afrom collections import namedtuple%0A%0Awhite = 255,255,255%0A%0ALamp = namedtuple(%22Lamp%22, %5B%22x%22, %22y%22, 'name', 'dmx', 'channel'%5D)%0A%0Adef parse_imagemask_svg(x, y, scale, x_o... | |
92b50e57002152a62b77ce328a079abeaa8e34fa | Version bump | wargaming/__init__.py | wargaming/__init__.py | VERSION = (0, 0, 1)
def get_version(version=None):
"""Derives a PEP386-compliant version number from VERSION."""
if version is None:
version = VERSION
return '.'.join(str(x) for x in version)
| Python | 0.000001 | @@ -14,9 +14,9 @@
0,
-1
+2
)%0A%0A%0A
|
0f3ad20a379edf8c73b5f2960b2b81e0019ecbf4 | Enable typecheck | tests/cupyx_tests/scipy_tests/sparse_tests/test_linalg.py | tests/cupyx_tests/scipy_tests/sparse_tests/test_linalg.py | import unittest
import numpy
import pytest
try:
import scipy.sparse
import scipy.sparse.linalg
import scipy.stats
scipy_available = True
except ImportError:
scipy_available = False
import cupy
from cupy import testing
from cupy.testing import condition
from cupyx.scipy import sparse
import cupyx.s... | Python | 0.000001 | @@ -2305,59 +2305,8 @@
p',%0A
- type_check=False,%0A
@@ -3170,151 +3170,33 @@
-type_check=False,%0A accept_error=(ValueError,%0A NotImplementedError
+accept_error=(ValueError,
))%0A
|
6979f943c6320ba077eb0ff93159854e929cc11f | Bump version to 0.7.0 | sqlitebiter/_version.py | sqlitebiter/_version.py | # encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <gogogo.vm@gmail.com>
"""
from __future__ import absolute_import
VERSION = "0.6.2"
| Python | 0 | @@ -134,9 +134,9 @@
%220.
-6.2
+7.0
%22%0A
|
3e09762a1c444eb0a3331afb34c39e284ba6fa7d | Fix failing specials test. | pgcli/packages/pgspecial/iocommands.py | pgcli/packages/pgspecial/iocommands.py | from __future__ import print_function
import re
import logging
from codecs import open
import click
from .namedqueries import namedqueries
from . import export
_logger = logging.getLogger(__name__)
TIMING_ENABLED = True
use_expanded_output = False
@export
def is_expanded_output():
return use_expanded_output
de... | Python | 0.000001 | @@ -339,27 +339,31 @@
output(cur,
-arg
+pattern
, verbose, *
@@ -610,27 +610,31 @@
timing(cur,
-arg
+pattern
, verbose, *
@@ -2649,35 +2649,39 @@
amed_query(cur,
-arg
+pattern
, verbose, **kwa
@@ -2742,19 +2742,23 @@
%0A if
-arg
+pattern
== '':%0A
@@ -2788,35 +2788,39 @@
ed_queries(cur,
-arg
+pattern
... |
1fa11627b2b5595da931d498d9076dca3034530a | Fix sql query for postgres | pi_director/controllers/controllers.py | pi_director/controllers/controllers.py | import shlex
import logging
from pi_director.models.models import (
DBSession,
RasPi,
Tags,
Logs
)
from sqlalchemy import desc, and_
def get_pis():
PiList = DBSession.query(RasPi).filter(RasPi.uuid!="default").order_by(desc(RasPi.lastseen)).all()
return PiList
def get_logs(uuid):
log... | Python | 0.999997 | @@ -1,32 +1,4 @@
-import shlex%0Aimport logging%0A
from
@@ -115,14 +115,40 @@
desc
-, and_
+%0A%0Afrom datetime import datetime%0A
%0A%0A%0Ad
@@ -214,18 +214,20 @@
sPi.uuid
+
!=
+
%22default
@@ -355,18 +355,20 @@
ogs.uuid
+
==
+
uuid).al
@@ -971,16 +971,20 @@
r = %22%22%22%0A
+
SELE
@@ -1006,15 +... |
d3ab133d41a5390517399ab6d7794ed370d81402 | deal with non-matching files | bin/catfiles.py | bin/catfiles.py | #!/usr/bin/env python
import argparse
import os
from glob import glob
import re
import logging
parser = argparse.ArgumentParser(description="Concatenate fastq files from same subject.")
parser.add_argument("directory", help="folder containing fastq files")
parser.add_argument("-r", "--regex", help="pattern to find id... | Python | 0 | @@ -14,16 +14,17 @@
v python
+3
%0A%0Aimport
@@ -1499,16 +1499,17 @@
args.log
+:
%0A log
@@ -1917,16 +1917,39 @@
in files
+ if re.search(regex, x)
%5D%0Aids =
|
655d6bb84802c312b73c2cdf6d0270f110f465e8 | FIX update price from planned | product_computed_list_price/product.py | product_computed_list_price/product.py | # -*- coding: utf-8 -*-
##############################################################################
# For copyright and license notices, see __openerp__.py file in module root
# directory
##############################################################################
from openerp import models, fields, api
import log... | Python | 0 | @@ -2031,32 +2031,49 @@
in self.search(%5B
+%0A
('list_price_typ
@@ -2088,16 +2088,56 @@
, False)
+,%0A ('id', 'in', self.ids)
%5D):%0A
|
d4a13cdea28d109cb2595fb6ab03c70b4c060483 | Remove unused import | tracker_project/tracker/sockets.py | tracker_project/tracker/sockets.py | from __future__ import absolute_import, unicode_literals
import logging
from django.conf import settings
from kombu import BrokerConnection
from kombu.mixins import ConsumerMixin
from socketio.namespace import BaseNamespace
from socketio.sdjango import namespace
from .queues import notifications_queue
@namespace('... | Python | 0.000001 | @@ -55,24 +55,8 @@
ls%0A%0A
-import logging%0A%0A
from
|
6a999c5a006f603c2218a4cfbc1d6ccb38178bb5 | Fix up utils and node | downstream_node/lib/utils.py | downstream_node/lib/utils.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
from heartbeat import Challenge
def model_to_json(model):
""" Returns a JSON representation of an SQLAlchemy-backed object.
From Zato: https://github.com/zatosource/zato
"""
_json = {}
_json['fields'] = {}
_json['pk'] = getattr(model, '... | Python | 0.000003 | @@ -43,19 +43,8 @@
-*-%0A
-import json
%0Afro
@@ -82,426 +82,267 @@
def
-model_to_json(model):%0A %22%22%22 Returns a JSON representation of an SQLAlchemy-backed object.%0A From Zato: https://github.com/zatosource/zato
+query_to_list(query):%0A %22%22%22 Takes a model query thing nad returns a list of dict... |
3b5dc1cbc520fe59886c1e37c74a7f3e11f7150d | Remove of debugging code | MS1/ddp-erlang-style/create_floats.py | MS1/ddp-erlang-style/create_floats.py | #!/usr/bin/python
__author__ = 'mcsquaredjr'
from dna_lib import *
from string import Template
import subprocess
CMD = "../create-floats INPUT $ITEMCOUNT $CHUNKCOUNT $CHUNKNO"
DEBUG = False
lines = my_lines()
myip = get_ip()
chunks = chunk_numbers()
for i, line in enumerate(lines):
port = int(MIN_PORT) + i + 1
... | Python | 0 | @@ -577,46 +577,8 @@
se:%0A
- if i == 0 or i == 11:%0A
|
3cf801d4f6de574267eb7795578241c4f19375eb | Add ProcessTick() to blank plugin | plugins/blank/generate_blank_plugin.py | plugins/blank/generate_blank_plugin.py | #!/usr/bin/env python
import argparse
import os
import sys
import cidl
C_TYPES = {
'int': 'int',
'float': 'float',
'bool': 'bool',
'string': 'const char *',
}
def generate_source(file, idl):
file.write('#include <sampgdk/a_objects.h>\n')
file.write('#include <sampgdk/a_players.h>\n')
file.write('... | Python | 0 | @@ -1280,24 +1280,156 @@
e('%7D%5Cn%5Cn')%0A%0A
+ file.write('PLUGIN_EXPORT void PLUGIN_CALL ProcessTick() %7B%5Cn')%0A file.write(' sampgdk::ProcessTick();%5Cn')%0A file.write('%7D%5Cn%5Cn')%0A%0A
callbacks
@@ -2052,24 +2052,56 @@
mxUnload%5Cn')
+%0A file.write('%5CtProcessTick%5Cn')
%0A%0A callback
|
8eb968743f8a605116b253edad2d26649def3756 | Update to show missed blocks vs bad guesses | plugins/blockaccuracy/blockaccuracy.py | plugins/blockaccuracy/blockaccuracy.py | # tracks accuracy of block predictions as noted in lp.blocks['_owner']
# required pident plugin to work
import time
import eventlet
import traceback
from eventlet.green import time, threading
from peak.util import plugins
class BlockAccuracy:
def __init__(self, bitHopper):
self.bitHopper = bitHopper
... | Python | 0 | @@ -1780,20 +1780,25 @@
%5Bpool%5D%5B'
-miss
+incorrect
'%5D = 0%0A
@@ -2823,32 +2823,86 @@
+ str(block) )%0A
+ pools%5Blp_owner%5D%5B'incorrect'%5D += 1%0A
@@ -2945,63 +2945,8 @@
= 1%0A
- pools%5Bverified_owner%5D%5B'miss'%5D += 1%0A
@@ -3269,20 +3269... |
9f401479498b6694a6a6040a50de65518290a4cd | add wrap_nested for wrapping nested dicts | xoinvader/settings.py | xoinvader/settings.py | """
Module for handling settings.
"""
class Settings(dict):
"""Container for storing all game settings."""
def __init__(self, *args, **kwargs):
super(Settings, self).__init__(*args, **kwargs)
def __getattr__(self, name):
return self[name]
__setattr__ = dict.__setitem__
__delat... | Python | 0.000001 | @@ -106,24 +106,29 @@
ettings.%22%22%22%0A
+ %0A
def __in
@@ -137,16 +137,35 @@
__(self,
+ wrap_nested=False,
*args,
@@ -231,16 +231,232 @@
kwargs)%0A
+ if wrap_nested:%0A self._wrap_nested()%0A%0A def _wrap_nested(self):%0A for key, value in self.iteritems():%0A if ... |
b5080ff954af99379b08cb7a6cec636f41073a34 | Allow piping from standard input | bin/gtts-cli.py | bin/gtts-cli.py | #! /usr/bin/python
from __future__ import print_function
from gtts import gTTS
from gtts import __version__
import sys
import argparse
import os
import codecs
def languages():
"""Sorted pretty printed string of supported languages"""
return ", ".join(sorted("{}: '{}'".format(gTTS.LANGUAGES[k], k) for k in gTT... | Python | 0.000001 | @@ -1062,16 +1062,99 @@
s.text:%0A
+ if args.text == %22-%22:%0A text = sys.stdin.read()%0A else:%0A
|
3395e7f1954f939e6d7edfc9cf7886e4256ce6fc | Solve vehicle forces using a matrix. TODO: get results to match previous method of using the brute force equations. | ymd/ymd_calculator.py | ymd/ymd_calculator.py | import numpy as np
def tire_model(alpha):
""" returns tire force generated at a given slip angle
input - alpha (degree)
output - lateral tire force (N)
"""
# assume 600N/degree cornering stiffness
return 100*alpha
def main():
# define test conditions
beta = 9 # degrees
... | Python | 0 | @@ -12,16 +12,28 @@
y as np%0A
+import math%0A
%0A%0Adef ti
@@ -305,16 +305,31 @@
+#
beta =
-9
+math.radians(1)
#
@@ -344,16 +344,17 @@
+#
delta =
0 #
@@ -353,20 +353,61 @@
a =
-0 # degrees
+math.radians(0) # degrees%0A beta = 1%0A delta = 0
%0A%0A
@@ -540,17 +540,17 @@
dist = .
-5... |
4e0465fef8f137566ca1b66795742eaebf5f4c7a | Add config-download-dir flag to cell export command | tripleoclient/v1/overcloud_cell.py | tripleoclient/v1/overcloud_cell.py | # 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 writing, software
# distrib... | Python | 0.000002 | @@ -2458,24 +2458,323 @@
e%3E.yaml%22'))%0A
+ parser.add_argument('--config-download-dir',%0A action='store',%0A help=_('Directory to search for config-download '%0A 'export data. Defaults to '%0A ... |
094dc1a1ccf922681bf9c3b70e478511983d931a | Edit method yield-nodes() | sitemap.py | sitemap.py | """Functions for parsing sitemap.
Copyright 2017 Stephan Kulla
"""
import re
class SitemapTransformer(object):
"""Transforms a JSON by changing its dictionaries."""
def __call__(self, node):
"""Replacing all nodes in a sitemap tree.
Not the most generic solution for a JSON transformer! :-... | Python | 0 | @@ -62,17 +62,16 @@
la%0A%22%22%22%0A%0A
-%0A
import r
@@ -73,17 +73,16 @@
ort re%0A%0A
-%0A
class Si
@@ -1291,21 +1291,32 @@
e%7D%0A%0Adef
-yield
+generate_sitemap
_nodes(s
@@ -1313,32 +1313,37 @@
ap_nodes(sitemap
+_text
):%0A %22%22%22Genera
@@ -1390,54 +1390,132 @@
emap
-. It yields tuples%0A %60(cod... |
ad2b8bce02c7b7b7ab477fc7fccc1b38fb60e63a | Allow for the case when a header isn't needed | turbustat/statistics/input_base.py | turbustat/statistics/input_base.py | # Licensed under an MIT open source license - see LICENSE
from astropy.io.fits import PrimaryHDU
from spectral_cube import SpectralCube
from spectral_cube.lower_dimensional_structures import LowerDimensionalObject
def input_data(data):
'''
Accept a variety of input data forms and return those expected by the... | Python | 0.000003 | @@ -208,16 +208,35 @@
lObject%0A
+import numpy as np%0A
%0A%0Adef in
@@ -248,16 +248,33 @@
ata(data
+, no_header=False
):%0A '
@@ -373,16 +373,604 @@
tistics.
+%0A%0A Parameters%0A ----------%0A data : astropy.io.fits.PrimaryHDU, SpectralCube,%0A spectral_cube.LowerDimensionalObject, np.ndarr... |
ccba0b9af690d98f12e5ee36b024c6e781709cba | handle exception from rmtree of a tmpdir | project/internal/test/tmpfile_utils.py | project/internal/test/tmpfile_utils.py | import tempfile
import shutil
import os
from project.internal.makedirs import makedirs_ok_if_exists
from project.local_state_file import LocalStateFile
local_tmp = os.path.abspath("./build/tmp")
makedirs_ok_if_exists(local_tmp)
class TmpDir(object):
def __init__(self, prefix):
self._dir = tempfile.mkdte... | Python | 0 | @@ -1,24 +1,80 @@
+from __future__ import print_function, absolute_import%0A%0A
import tempfile%0Aimport s
@@ -88,16 +88,27 @@
mport os
+%0Aimport sys
%0A%0Afrom p
@@ -462,16 +462,31 @@
eback):%0A
+ try:%0A
@@ -514,16 +514,404 @@
lf._dir)
+%0A except Exception as e:%0A # prefer... |
0e1245f2e232c00bbeeea9b11fb08864d6a68a60 | try to make the columns equal width | Touche.glyphsPlugin/Contents/Resources/toucheTool.py | Touche.glyphsPlugin/Contents/Resources/toucheTool.py | # coding=utf-8
from Touche import Touche
from Foundation import NSUserDefaults
from vanilla import CheckBox, Group, List, ProgressSpinner, Button, TextBox, FloatingWindow
# from mojo.UI import MultiLineView, OpenSpaceCenter
# from mojo.roboFont import OpenWindow, CurrentFont
from robofab.world import CurrentFont
from ... | Python | 0.999999 | @@ -2173,16 +2173,29 @@
t glyph%22
+, %22width%22: 90
%7D, %7B%22tit
@@ -2336,32 +2336,74 @@
owPair)%0A
+self.w.outputList._setColumnAutoresizing()
%0A self._r
|
fcdbb6f6a0dc102161f1f752202ae9b95a4afbc0 | simplify API | src/bda/bfg/app/browser/form.py | src/bda/bfg/app/browser/form.py | from yafowil.base import factory
from yafowil.controller import Controller
from paste.httpexceptions import HTTPFound
from bda.bfg.tile import Tile
from bda.bfg.app.browser.utils import make_url
class Form(Tile):
@property
def form(self):
"""Return yafowil compound.
Not implemente... | Python | 0.998268 | @@ -647,22 +647,11 @@
self
-, form=None
):%0A
+
@@ -673,41 +673,8 @@
e()%0A
- form = form or self.form%0A
@@ -749,16 +749,21 @@
troller(
+self.
form, se
@@ -1344,36 +1344,32 @@
f._process_form(
-form
)%0A %0A def n
@@ -1766,24 +1766,24 @@
et('from'))%0A
+
retu
@@ -1804,20 +1804... |
f8702fa29504648a535b11401f1515eccdc02103 | fix raise warning | pymatgen/analysis/elasticity/stress.py | pymatgen/analysis/elasticity/stress.py | # coding: utf-8
# Copyright (c) Pymatgen Development Team.
# Distributed under the terms of the MIT License.
"""
This module provides the Stress class used to create, manipulate, and
calculate relevant properties of the stress tensor.
"""
import math
import warnings
import numpy as np
from pymatgen.core.tensors im... | Python | 0 | @@ -2259,21 +2259,18 @@
ise
-warnings.warn
+ValueError
(%22Th
@@ -2303,19 +2303,16 @@
metric,
-%22 %22
so devia
|
21b6f0f94885493a74e5b28ac6861c3d80865a6e | Rename langlink to blango_lang, so it's passed to the template when calling locals(). | blango/views.py | blango/views.py | from django.shortcuts import render_to_response, get_object_or_404
from django.http import HttpResponseRedirect
from django.template import RequestContext
from django.db import connection
try:
from django import newforms as forms
except ImportError:
from django import forms
from datetime import date
from set... | Python | 0 | @@ -1343,24 +1343,27 @@
+b
lang
-link
+o_lang
= lang
@@ -1437,16 +1437,19 @@
+b
lang
-link
+o_lang
= '
|
67727112c17623f39019fe36929c95225cc7bf7c | Use non-deprecated assertion | python_analytics/tests/test_tracker.py | python_analytics/tests/test_tracker.py | from __future__ import absolute_import, unicode_literals
import unittest
import uuid
from mock import patch
import requests
import responses
from six.moves.urllib import parse
from ..events import Event
from ..tracker import _AnalyticsHandler, Tracker
from ..utils import get_user_agent
class TestAnalyticsHandler(... | Python | 0.003241 | @@ -527,24 +527,16 @@
ertRegex
-pMatches
(user_ag
@@ -927,16 +927,8 @@
egex
-pMatches
(%0A
|
47843e9effeb78b5facf259f732865970e886113 | Rename form sets | blocks/views.py | blocks/views.py | from .forms import BlockForm
from django.core.urlresolvers import reverse
from django.forms.models import inlineformset_factory
from django.views.generic import (
ListView,
CreateView,
UpdateView,
)
from nested_formset import nestedformset_factory
from blocks import models
class BlockView(object):
m... | Python | 0.000002 | @@ -664,16 +664,19 @@
lockForm
+Set
= neste
@@ -689,24 +689,24 @@
et_factory(%0A
-
models.B
@@ -866,16 +866,19 @@
lockForm
+Set
= inlin
@@ -1065,32 +1065,35 @@
NestedBlockForm
+Set
%0A%0A%0Aclass EditBui
@@ -1208,32 +1208,35 @@
lass = BlockForm
+Set
%0A%0A%0Aclass EditBui
@@ -1368,16 +1368,19 @@
lockF... |
81e6d00cf5279c0829622dc5e6d867805544873b | remove python2-isms | utils/lit/tests/unit/TestRunner.py | utils/lit/tests/unit/TestRunner.py | # RUN: %{python} %s
#
# END.
import unittest
import platform
import os.path
import tempfile
import lit
from lit.TestRunner import ParserKind, IntegratedTestKeywordParser, \
parseIntegratedTestScript
class TestIntegratedTestKeywordParser(unittest.TestCase):
inputTestCase = None
@... | Python | 0.000028 | @@ -3491,29 +3491,24 @@
self.assert
-Items
Equal(list_p
@@ -4187,13 +4187,8 @@
sert
-Items
Equa
|
72890acdb8153e6fb26f610367a8dab0c219f287 | Use basename of GERRIT_PROJECT when matching repos | bob/rev_file.py | bob/rev_file.py | #
# Copyright (c) SAS Institute Inc.
#
# 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 w... | Python | 0 | @@ -1757,16 +1757,33 @@
oject =
+os.path.basename(
os.envir
@@ -1802,16 +1802,17 @@
ROJECT'%5D
+)
%0A
|
ce7040b3b5e2df883ec8fcf4401dd324034f13d3 | Check for id to exist before creating links | zc_common/remote_resource/relations.py | zc_common/remote_resource/relations.py | from collections import OrderedDict
import json
import six
from django.db.models.manager import BaseManager
from rest_framework_json_api.relations import ResourceRelatedField
from zc_common.remote_resource.models import RemoteResource
class RemoteResourceField(ResourceRelatedField):
def __init__(self, related_... | Python | 0 | @@ -1716,16 +1716,35 @@
ated_obj
+ and related_obj.id
:%0A
|
d9d754270972cc6d66d32b68240934a988fc9d54 | Use a temporal media directory when running the selenium tests | src/catalogue/tests/selenium.py | src/catalogue/tests/selenium.py | # -*- coding: utf-8 -*-
import time
from commons.test import WirecloudSeleniumTestCase
__test__ = False
class CatalogueSeleniumTests(WirecloudSeleniumTestCase):
__test__ = True
def test_add_gadget_to_catalog_wgt(self):
driver = self.driver
self.login()
self.change_main_view("ma... | Python | 0 | @@ -31,16 +31,128 @@
rt time%0A
+from shutil import rmtree%0Afrom tempfile import mkdtemp%0A%0Afrom django.conf import settings%0A%0Aimport catalogue.utils
%0Afrom co
@@ -194,16 +194,52 @@
TestCase
+%0Afrom commons.wgt import WgtDeployer
%0A%0A__test
@@ -330,16 +330,625 @@
= True%0A%0A
+ def setUp(self):%0A%0A ... |
5b295e6ec32ba35edd08e6dc5c8ca08e30f86d52 | update cftp comment | src/cftp/cftp/lozenge_tiling.py | src/cftp/cftp/lozenge_tiling.py | """
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Perfectly random lozenge tiling of a hexagon using
Propp-Wilson's "coupling from the past" algorithm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"""
import random
from .cftp import MonotoneMarkovChain
class LozengeTiling(MonotoneMarkovChain):
r"""
... | Python | 0 | @@ -813,124 +813,8 @@
gon.
- The number%0A s%5Bk%5D%5Bj%5D records the offset of the j-th vertex in s%5Bk%5D along the (+30)%0A direction from the origin.
%0A%0A
|
2ef4362be90e2314b69a2ff17ccb5d25ef8905fd | Set default version for cloud databases. | rackspace/database/database_service.py | rackspace/database/database_service.py | # 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 writing, software
# distributed under t... | Python | 0 | @@ -811,24 +811,76 @@
ervice.%22%22%22%0A%0A
+ if not version:%0A version = %22v1%22%0A%0A
supe
|
2639f65a01952d9c819276f2d2222707db53c13a | Add daughter and son | radar/radar/models/family_histories.py | radar/radar/models/family_histories.py | from collections import OrderedDict
from sqlalchemy import Column, Integer, ForeignKey, Boolean, String, Index
from sqlalchemy.dialects import postgresql
from sqlalchemy import orm
from radar.database import db
from radar.models.common import MetaModelMixin, uuid_pk_column, patient_id_column, patient_relationship
fro... | Python | 0.000668 | @@ -831,16 +831,55 @@
ther'),%0A
+ (17, 'Daughter'),%0A (18, 'Son'),%0A
%5D)%0A%0A%0A@lo
|
a307bddf490b6ad16739593d4ca51693b9a340fe | Fix custom template tag to work with django 1.8 | regulations/templatetags/in_context.py | regulations/templatetags/in_context.py | from django import template
register = template.Library()
class InContextNode(template.Node):
def __init__(self, nodelist, subcontext_names):
self.nodelist = nodelist
self.subcontext_names = subcontext_names
def render(self, context):
new_context = {}
for field in self.subcon... | Python | 0 | @@ -528,16 +528,63 @@
= value%0A
+ new_context = context.new(new_context)%0A
@@ -615,25 +615,8 @@
der(
-template.Context(
new_
@@ -623,17 +623,16 @@
context)
-)
%0A%0A%0A@regi
|
fd6e6b22411d7d5c47c4fdc73c1c94d54c37a845 | Make test inputs floats, not ints | HARK/ConsumptionSaving/tests/test_ConsRiskyContribModel.py | HARK/ConsumptionSaving/tests/test_ConsRiskyContribModel.py | # -*- coding: utf-8 -*-
"""
Created on Tue Jan 26 10:06:51 2021
@author: Mateo
"""
import unittest
from copy import copy
import numpy as np
from HARK.ConsumptionSaving.ConsRiskyContribModel import (
RiskyContribConsumerType,
init_risky_contrib,
)
class test_(unittest.TestCase):
def setUp(self):
... | Python | 0.003421 | @@ -1788,35 +1788,37 @@
.dfracFunc_Adj(3
+.
, 4
+.
), -0.87671241%0A
@@ -1922,32 +1922,33 @@
.ShareFunc_Adj(5
+.
, 0.1), 0.146414
@@ -2048,35 +2048,37 @@
s%5B%22Cns%22%5D.cFunc(3
+.
, 4
+.
, 0.1), 2.456088
@@ -3066,35 +3066,37 @@
.dfracFunc_Adj(3
+.
, 4
+.
), -0.8767603%0A
@@ -3199,32 +3199,33 @@
.ShareF... |
0ea4b24660ea77affe4264df3a09d93ad7f51420 | Set no_auth to get-bundle and signup config endpoint | src/eduid_webapp/jsconfig/app.py | src/eduid_webapp/jsconfig/app.py | # -*- coding: utf-8 -*-
#
# Copyright (c) 2016 NORDUnet A/S
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or
# without modification, are permitted provided that the following
# conditions are met:
#
# 1. Redistributions of source code must retain the above copyright
# ... | Python | 0 | @@ -1618,48 +1618,8 @@
rom
-__future__ import absolute_import%0A%0Afrom
edui
@@ -1662,16 +1662,68 @@
pp_no_db
+%0Afrom eduid_common.authn.utils import no_authn_views
%0A%0A%0Adef j
@@ -1743,24 +1743,29 @@
app(name
+: str
, config
):%0A %22
@@ -1756,16 +1756,22 @@
, config
+: dict
):%0A %22
@@ -2091,296... |
b8812bd155f9dbdfb038b2b422a960d28dc6e1d7 | fix bug where moduleId would not be set. | vistrails/gui/module_annotation.py | vistrails/gui/module_annotation.py | ############################################################################
##
## Copyright (C) 2006-2007 University of Utah. All rights reserved.
##
## This file is part of VisTrails.
##
## This file may be used under the terms of the GNU General Public
## License version 2.0 as published by the Free Software Foundat... | Python | 0 | @@ -7121,32 +7121,76 @@
f.table.module:%0A
+ moduleId = self.table.module.id%0A
if k
@@ -7392,35 +7392,23 @@
-self.table.
module
-.i
+I
d)%0A
|
803ee1755dca1d78d15c69e0f8254408b87bbf9b | Update to remove empty query code | assignments/assignment1/exercise/src/frontend/app.py | assignments/assignment1/exercise/src/frontend/app.py | import web
import pysolr
import json
from nltk.tokenize import word_tokenize
urls = (
'/', 'SimpleIndexSearchPage',
'/searchSimpleIndex', 'SearchSimpleIndex',
)
CATEGORY = {'b': 'Business', 'e': 'Entertainment', 't': 'Science and Technology', 'm': 'Health'}
render = web.template.render('templates/', base='lay... | Python | 0.000003 | @@ -496,54 +496,8 @@
%5D'%5D%0A
- if len(query) == 0:%0A query = '*:*'%0A
@@ -1842,8 +1842,9 @@
pp.run()
+%0A
|
ab5c80580758403a42e8f6256530b95607290234 | add helper method for attaching bills | pupa/models/vote.py | pupa/models/vote.py | from .base import BaseModel
from .schemas.vote import schema
class Vote(BaseModel):
"""
"""
_type = 'vote'
_schema = schema
_collection = 'votes'
__slots__ = ("session", "chamber", "date", "motion", "type", "passed",
"organization", "organization_id", "bill", "vote_counts",
... | Python | 0 | @@ -1573,16 +1573,200 @@
%7D%0A%0A
+ def set_bill(self, bill):%0A self.add_bill(name=bill.name, id=bill._id)%0A if hasattr(bill, 'chamber') and bill.chamber:%0A self.bill%5B'chamber'%5D = bill.chamber%0A%0A
def
|
7696f4bd7b40ddc06a5317476c4b9491b37fd4e1 | Revert "removing str()" | vumi/transports/httprpc/httprpc.py | vumi/transports/httprpc/httprpc.py | # -*- test-case-name: vumi.transports.httprpc.tests.test_httprpc -*-
import uuid
import json
from twisted.internet.defer import inlineCallbacks
from twisted.python import log
from twisted.web import http
from twisted.web.resource import Resource
from twisted.web.server import NOT_DONE_YET
from vumi.transports.base im... | Python | 0 | @@ -2840,24 +2840,52 @@
, content):%0A
+ data = str(content)%0A
log.
@@ -2925,23 +2925,20 @@
st with
-content
+data
:%22, repr
@@ -2938,23 +2938,20 @@
%22, repr(
-content
+data
))%0A
@@ -3070,23 +3070,20 @@
t.write(
-content
+data
)%0A
|
6e6c7697c078fc0b2c121d191a54942256415015 | Bump to 0.0.13-dev | pyaxiom/__init__.py | pyaxiom/__init__.py | __version__ = "0.0.12"
# Package level logger
import logging
try:
# Python >= 2.7
from logging import NullHandler
except ImportError:
# Python < 2.7
class NullHandler(logging.Handler):
def emit(self, record):
pass
logger = logging.getLogger("pyaxiom")
logger.addHandler(logging.NullH... | Python | 0 | @@ -13,17 +13,21 @@
= %220.0.1
-2
+3-dev
%22%0A%0A# Pac
|
fa1d7570241cc42d784da8f9aa1aa0451c0ff453 | Add tests for textutils.is_terminated(). | pybtex/textutils.py | pybtex/textutils.py | # Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Andrey Golovizin
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to ... | Python | 0 | @@ -1407,25 +1407,28 @@
_terminated(
-s
+text
):%0A %22%22%22Re
@@ -1429,24 +1429,32 @@
%22%22%22
+%0A
Return
-t
+T
rue if
-s
+text
end
@@ -1484,16 +1484,374 @@
aracter.
+%0A%0A %3E%3E%3E is_terminated('')%0A False%0A %3E%3E%3E is_terminated('.')%0A True%0A %3E%3E%3E is_terminated('Done... |
80a58961d0f77b4603cbc606fe96fdea603a7c19 | Add django Admin Models | pyforms/__init__.py | pyforms/__init__.py | #!/usr/bin/python
# -*- coding: utf-8 -*-
from pyforms.utils.settings_manager import conf
conf += 'pyforms.settings'
__author__ = "Ricardo Ribeiro"
__credits__ = ["Ricardo Ribeiro"]
__license__ = "MIT"
__version__ = '3.0.0'
__maintainer__ = ["Ricardo Ribeiro", "Carlos MΓ£o de Ferro"]
__email__ = ["ricardojvr@... | Python | 0.000001 | @@ -895,28 +895,236 @@
appmanager import start_app%0A
+%0A%09from pyforms_web.web.django_pyforms.model_admin import ModelAdmin%0A%09from pyforms_web.web.django_pyforms.model_admin import ViewFormAdmin%0A%09from pyforms_web.web.django_pyforms.model_admin import EditFormAdmin%0A
|
985ac26903ddd2735fe2836bdd17708e974a1360 | fix pep8 errors | pyltr/metrics/ap.py | pyltr/metrics/ap.py | """
(Mean) Average Precision
TODO: better docs
"""
import numpy as np
from . import Metric
from sklearn.externals.six.moves import range
class AP(Metric):
def __init__(self, k=10, cutoff=0.5):
super(AP, self).__init__()
self.k = k
self.cutoff = cutoff
def evaluate(self, qid, targe... | Python | 0.000031 | @@ -1700,32 +1700,33 @@
new_num_rel =
+(
total_num_rel if
@@ -1718,38 +1718,116 @@
otal_num_rel
- if j %3C self.k
+%0A if j %3C self.k%0A
else (total
@@ -1839,16 +1839,17 @@
rel - 1)
+)
%0A
@@ -1870,32 +1870,33 @@
new_metri... |
10f0b888762415a548f7b579aa766991061947ec | BUMP 0.10.2 support subclasses of dict in c encoder | pymongo/__init__.py | pymongo/__init__.py | # Copyright 2009 10gen, Inc.
#
# 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 writing, soft... | Python | 0 | @@ -942,17 +942,17 @@
= %220.10.
-1
+2
%22%0A%22%22%22Cur
|
d107ad5c8a25cda1887609bdeb8e0e6da083253a | BUMP 0.9.7 --no_ext option, version number and a bug fix | pymongo/__init__.py | pymongo/__init__.py | # Copyright 2009 10gen, Inc.
#
# 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 writing, soft... | Python | 0 | @@ -881,9 +881,9 @@
0.9.
-6
+7
%22%0A%22%22
|
92e3e3d5e0a31bf5e7d210b98f1328105e4afa68 | Add a short explanation to clean-bot | python/clean-bot.py | python/clean-bot.py | #!/usr/bin/python
import math
def findAllDirt(row_position, col_position, board):
dirt_locations = {}
i = 0
for row in board:
j = 0
for col in row:
if col == "d":
#Calculate the dirt's "score"
score = abs(row_position - i) + abs(col_position ... | Python | 0.001483 | @@ -24,16 +24,119 @@
t math%0A%0A
+# A naive solution to HackerRank's botclean challenge: https://www.hackerrank.com/challenges/botclean%0A%0A
def find
@@ -1310,16 +1310,17 @@
, pos%5B1%5D, board)
+%0A
|
0c16b0f025286ca7929059d99bda78d4b13cd331 | Clean up main program arguments | python/xpkg/main.py | python/xpkg/main.py | #! /usr/bin/env python
# Author: Joseph Lisee <jlisee@gmail.com>
import argparse
import os
import shlex
import sys
# Project Imports
from xpkg import core
from xpkg import util
def install(args):
"""
Installs a given package.
"""
if args.tree:
tree_path = os.path.abspath(args.tree)
els... | Python | 0 | @@ -213,19 +213,20 @@
Install
-s a
+ the
given p
@@ -223,32 +223,56 @@
he given package
+ (name, archive, or xpd)
.%0A %22%22%22%0A%0A i
@@ -1577,27 +1577,74 @@
ion
-on the given packag
+about the environment, an installed package, or package%0A archiv
e.%0A
@@ -4094,31 +4094,20 @@
elp=
-'Jump into ... |
b69c7ea7ee82d1d7ddec7ddafdb8f4cf62c5d738 | Bump Version: 0.20.1 β 0.20.2 | pyvista/_version.py | pyvista/_version.py | """ version info for pyvista """
# major, minor, patch
version_info = 0, 20, 1
# Nice string for the version
__version__ = '.'.join(map(str, version_info))
| Python | 0 | @@ -74,9 +74,9 @@
20,
-1
+2
%0A%0A#
|
31511037a205e9235e1d8b5597964f1065a952de | Remove broken linebreak fixes | pywikibot/editor.py | pywikibot/editor.py | #!/usr/bin/python
# -*- coding: utf-8 -*-
"""Text editor class for your favourite editor."""
#
# (C) Gerrit Holl, 2004
# (C) Pywikibot team, 2004-2014
#
# Distributed under the terms of the MIT license.
#
__version__ = '$Id$'
#
import sys
import os
import tempfile
import codecs
import pywikibot
from pywikibot import ... | Python | 0.00161 | @@ -227,19 +227,8 @@
%0A#%0A%0A
-import sys%0A
impo
@@ -233,16 +233,16 @@
port os%0A
+
import t
@@ -2026,470 +2026,8 @@
nd%0A%0A
- def convertLinebreaks(self, text):%0A %22%22%22Convert line-breaks.%22%22%22%0A if sys.platform == 'win32':%0A return text.replace('%5Cr%5Cn', '%5Cn')%0A ... |
f03fc1ab982dff47c101a64b6acc47b8400620e1 | Change how URIs are built with regard to port | queries/__init__.py | queries/__init__.py | """
Queries: PostgreSQL database access simplified
Queries is an opinionated wrapper for interfacing with PostgreSQL that offers
caching of connections and support for PyPy via psycopg2ct.
The core `queries.Queries` class will automatically register support for UUIDs,
Unicode and Unicode arrays.
"""
__version__ = '1... | Python | 0.000003 | @@ -1710,24 +1710,75 @@
RI%0A%0A %22%22%22%0A
+ if port:%0A host = '%25s:%25s' %25 (host, port)%0A
if passw
@@ -1815,27 +1815,24 @@
l://%25s:%25s@%25s
-:%25i
/%25s' %25 (user
@@ -1844,30 +1844,24 @@
sword, host,
- port,
dbname)%0A
@@ -1891,11 +1891,8 @@
s@%25s
-:%25i
/%25s'
@@ -1910,14 +191... |
afde51459eb7bdf9149d8623dd3b66b2fb02ce2c | Switch to using search vector | quotations/views.py | quotations/views.py | from django.conf import settings
from django.core.paginator import Paginator, PageNotAnInteger, EmptyPage
from django.db.models import Count, Q
from django.shortcuts import render, redirect
from rest_framework import viewsets
from quotations import models as quotation_models, serializers
from libs import query_set
d... | Python | 0.000001 | @@ -26,16 +26,72 @@
ettings%0A
+from django.contrib.postgres.search import SearchVector%0A
from dja
@@ -193,11 +193,8 @@
ount
-, Q
%0Afro
@@ -713,192 +713,145 @@
-quotation_ids = _s
+search_vector = S
earch
-_terms(quotations, %22text%22, search_terms).values_list('id', flat=True)%0A authors = _search... |
0961994801f8d42ba1a6acc65f9a5d46735d4b27 | Add cluster to required relations | src/lib/charm/openstack/trove.py | src/lib/charm/openstack/trove.py | # Copyright 2016 TransCirrus Inc.
#
# 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 writing... | Python | 0 | @@ -5589,16 +5589,27 @@
service'
+, 'cluster'
%5D%0A%0A r
|
7bb3ddd218478b77c4d02831e1a32511bdd414fc | add todo for troubling mark bug | rj_gameplay/rj_gameplay/role/marker.py | rj_gameplay/rj_gameplay/role/marker.py | import stp
from rj_gameplay.skill import mark
from rj_msgs.msg import RobotIntent
class MarkerRole(stp.role.Role):
"""Role to produce marking behavior"""
def __init__(self, robot: stp.rc.Robot, target_robot: stp.rc.Robot) -> None:
super().__init__(robot)
self.mark_skill = None
self.... | Python | 0 | @@ -16,71 +16,155 @@
rj_
-gameplay.skill import mark%0A%0Afrom rj_msgs.msg import RobotIntent
+msgs.msg import RobotIntent%0A%0A# TODO: mark skill has not been updated, how is it working here (see basicDefense)?%0Afrom rj_gameplay.skill import mark
%0A%0A%0Ac
|
ff7f15d2b4d6dd428b242d8a61bc1ff15e3ef607 | fix micropub syndication targets | redwind/micropub.py | redwind/micropub.py | from . import app
from . import auth
from . import util
from .models import get_settings
from flask import request, abort, make_response, url_for, jsonify
from flask.ext.login import login_user
import datetime
import jwt
import requests
import urllib
SYNDICATION_TARGETS = {
'https://twitter.com/kylewm2': 'twitter'... | Python | 0.000001 | @@ -3027,32 +3027,16 @@
target)
-%0A
for tar
@@ -3065,17 +3065,8 @@
GETS
-.values()
%5D))%0A
|
4ca6cd6556a05f2061cdf8a64cfa05c000b6347c | Version 0.19.2 | repokid/__init__.py | repokid/__init__.py | # Copyright 2020 Netflix, Inc.
#
# 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... | Python | 0 | @@ -944,17 +944,17 @@
= %220.19.
-1
+2
%22%0A%0A%0Adef
|
6646c7f5bd61b832e4e22ab0ea4fc60469b7064b | version change | request/__init__.py | request/__init__.py | __version__ = '1.2.2'
__copyright__ = 'Copyright (c) 2009-2014, Kyle Fuller'
__licence__ = 'BSD'
__author__ = [
'Kyle Fuller <inbox@kylefuller.co.uk>',
'Jannis Leidel (jezdez)',
'krisje8 <krisje8@gmail.com>',
]
__URL__ = 'http://django-request.readthedocs.org/en/latest/'
| Python | 0.000001 | @@ -12,17 +12,17 @@
= '1.2.
-2
+3
'%0A__copy
|
d5f156f96ab559bef0cc62f5208329ad3d169778 | Add format_func to resource formatter | brightway_projects/processing/calculation_package.py | brightway_projects/processing/calculation_package.py | from ..filesystem import md5, safe_filename
from .utils import create_datapackage_metadata, create_numpy_structured_array
from pathlib import Path
import json
import tempfile
import uuid
import zipfile
def format_calculation_resource(res):
"""Format metadata for a `datapackage resource <https://frictionlessdata.i... | Python | 0.000002 | @@ -114,16 +114,38 @@
ed_array
+, dictionary_formatter
%0Afrom pa
@@ -793,32 +793,125 @@
r more details.%0A
+ data (iterator): Iterator to be fed into %60%60format_function%60%60 to generate array rows.%0A
nrows (i
@@ -1010,16 +1010,183 @@
py array
+%0A format_function (callable, optional): ... |
7f599646d1ff9a9053fb6237448ea558c34a1df3 | Add further conversion targets to bazel_to_cmake() | build_tools/bazel_to_cmake/bazel_to_cmake_targets.py | build_tools/bazel_to_cmake/bazel_to_cmake_targets.py | #!/usr/bin/env python3
# Copyright 2020 Google LLC
#
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | Python | 0.00005 | @@ -1725,32 +1725,78 @@
GET_MAPPING = %7B%0A
+ %22@llvm-project//llvm:core%22: %5B%22LLVMCore%22%5D,%0A
%22@llvm-proje
@@ -2381,24 +2381,89 @@
Standard%22%5D,%0A
+ %22@llvm-project//mlir:CFGTransforms%22: %5B%22MLIRLoopToStandard%22%5D,%0A
%22@llvm-p
@@ -2650,24 +2650,90 @@
inalgOps%22%5D,%0A
+ %2... |
0a93635b5f9854e9490890bbe2436a2749181b07 | fix logger problem (#21342) | python/paddle/fluid/trainer_factory.py | python/paddle/fluid/trainer_factory.py | # Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved.
#
# 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 app... | Python | 0 | @@ -710,28 +710,154 @@
np%0A%0A
-logging.basicConfig(
+FORMAT = '%25(asctime)s-%25(levelname)s: %25(message)s'%0Alogging.basicConfig(level=logging.INFO, format=FORMAT)%0Alocal_logger = logging.getLogger(__name__
)%0A%0Af
@@ -4837,37 +4837,42 @@
lo
-gging
+cal_logger
.warning(%22the va
@@ -4907,16 +490... |
0de4e356442c99f6df9346c53d7f7e69eb824491 | Add docstrings | pyxform/tests_v1/test_sheet_columns.py | pyxform/tests_v1/test_sheet_columns.py | from pyxform.tests_v1.pyxform_test_case import PyxformTestCase
class InvalidSurveyColumnsTests(PyxformTestCase):
"""
Invalid survey column tests
"""
def test_missing_name(self):
"""
every question needs a name (or alias of name)
"""
self.assertPyxformXform(
... | Python | 0.000005 | @@ -2869,55 +2869,171 @@
-def _simple_choice_ss(self, choice_sheet=None):
+%22%22%22%0A Invalid choice cheet column tests%0A %22%22%22%0A%0A def _simple_choice_ss(self, choice_sheet=None):%0A %22%22%22%0A Return simple choices sheet%0A %22%22%22%0A
%0A
@@ -3340,32 +3340,99 @@
t_... |
7117a0e177409a0a7ba0363770219c6f774eadbd | Address issue https://github.com/globaleaks/GlobaLeaks/issues/1059 | backend/globaleaks/utils/structures.py | backend/globaleaks/utils/structures.py | # -*- coding: UTF-8
# structures
# **********
#
# This file contains the complex structures stored in Storm table
# in order to checks integrity between exclusive options, provide defaults,
# supports extensions (without changing DB format)
from globaleaks import LANGUAGES_SUPPORTED_CODES
from globaleaks.models im... | Python | 0 | @@ -1813,48 +1813,8 @@
turn
- %22*_Translate in '%25s' %5B%25s%5D%22 %25 (language,
tra
@@ -1843,17 +1843,16 @@
anguage%5D
-)
%0A
@@ -1882,87 +1882,9 @@
rn %22
-# Missing translation for '%25s' in '%25s'%22 %25 %5C%0A (attr, language)
+%22
%0A%0Ade
|
14884dc7eaf05439daf11e02174514c1cb226bb5 | Fix retrieve error | backend/unpp_api/apps/partner/views.py | backend/unpp_api/apps/partner/views.py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db.models import Q
from rest_framework.generics import (
ListAPIView,
CreateAPIView,
RetrieveAPIView,
RetrieveUpdateAPIView,
get_object_or_404,
)
from django_filters.rest_framework import DjangoFilterBackend
from account.s... | Python | 0.000003 | @@ -2737,32 +2737,58 @@
s)%0A )
+.order_by().distinct('id')
%0A return
|
c24dc1d2336d8b1fbb6cfdb686d888b99fbfb60c | update membership calculation | bapa/modules/membership/controllers.py | bapa/modules/membership/controllers.py | from bapa import db
from bapa.services import verify_ipn
from bapa.models import User, Profile, Ipn, Payment
from bapa.utils import parse_ratings, is_too_old
import cloudinary
import cloudinary.uploader
from datetime import datetime
from dateutil.parser import parse
def get_user_profile(user_id):
"""Get a user... | Python | 0 | @@ -228,16 +228,27 @@
datetime
+, timedelta
%0Afrom da
@@ -2174,31 +2174,16 @@
tswith('
-Membership Dues
')).orde
@@ -2269,17 +2269,26 @@
d_at
-.year ==
+ %3E (datetime(year=
date
@@ -2284,35 +2284,32 @@
e(year=datetime.
-utc
now().year%0A%0A%0Adef
@@ -2302,16 +2302,107 @@
w().year
+, month=1, day=1) - timede... |
7ab3224a1157c650414a78b014a162c00de8ee46 | add testing compiled library in recurse mode. | bento/commands/tests/test_recursive.py | bento/commands/tests/test_recursive.py | import os
import shutil
import unittest
import tempfile
from bento.core \
import \
PackageDescription, PackageOptions
from bento.core.errors \
import \
InvalidPackage
from bento.core.node \
import \
create_root_with_source_tree
from bento.core.node_package \
import \
Nod... | Python | 0 | @@ -2754,24 +2754,73 @@
rces: foo.c%0A
+ CompiledLibrary: _bar%0A Sources: foo.c%0A
%22%22%22%0A%0A
@@ -3230,24 +3230,81 @@
: bar/foo.c%0A
+ CompiledLibrary: bar._bar%0A Sources: bar/foo.c%0A
%22%22%22%0A%0A
|
737635a0b0e54e1ac8db9e0d55ca5a4fc718979b | implement Storage.__contains__ ("name in storage") | bepasty/storage/filesystem/__init__.py | bepasty/storage/filesystem/__init__.py | # Copyright: 2013 Bastian Blank <bastian@waldi.eu.org>
# License: BSD 2-clause, see LICENSE for details.
import collections
import os
import pickle
import logging
import tempfile
logger = logging.getLogger(__name__)
class Storage(object):
"""
Filesystem storage - store meta and data into separate files in a... | Python | 0.000665 | @@ -2045,16 +2045,151 @@
d name%0A%0A
+ def __contains__(self, name):%0A meta_filename = self._filename(name) + '.meta'%0A return os.path.exists(meta_filename)%0A%0A
%0Aclass I
|
a6766452bff0d092ea53bce0d67929ec2364c99e | correct db path | bigappleserialbus/bigappleserialbus.py | bigappleserialbus/bigappleserialbus.py | #!/usr/bin/env python
__author__ = 'Jeremy B. Merrill'
__email__ = 'jeremybmerrill@gmail.com'
__license__ = 'Apache'
__version__ = '0.1'
from onpi import is_on_pi
import logging
LOG_FILENAME = '/tmp/buses.log'
if is_on_pi():
try:
logging.basicConfig(filename=LOG_FILENAME,level=logging.DEBUG)
except IOError:
... | Python | 0.000012 | @@ -3635,16 +3635,19 @@
e__)), %22
+../
buses.db
|
c3addf83867efcf2941d6c13aa042099cadbedaa | test email is sent | website/user/tests/registration.py | website/user/tests/registration.py | from django.test import TestCase, Client
from django.contrib.auth.models import User
from ..forms import RegisterForm
class RegisterTest(TestCase):
def setUp(self):
User.objects.create_user('username', 'email@email.fr', 'password')
self.client = Client()
def test_correct_registration(self):
... | Python | 0.000002 | @@ -1,20 +1,49 @@
+from django.core import mail%0A
from django.test imp
@@ -683,16 +683,62 @@
de, 302)
+%0A self.assertEqual(len(mail.outbox), 1)
%0A%0A de
|
048513c487a4df9e101bb5b4642813479851646f | add StaticMobSlot | aaf2/mobslots.py | aaf2/mobslots.py | from __future__ import (
unicode_literals,
absolute_import,
print_function,
division,
)
from uuid import UUID
from . import core
from .utils import register_class
@register_class
class MobSlot(core.AAFObject):
class_id = UUID("0d010101-0101-3800-060e-2b3402060101")
__slots__ = ()
def ... | Python | 0 | @@ -2474,24 +2474,150 @@
ditRate'%5D.value = value%0A
+%0A@register_class%0Aclass StaticMobSlot(MobSlot):%0A class_id = UUID(%220d010101-0101-3a00-060e-2b3402060101%22)%0A __slots__ = ()%0A
|
b8facc0c107c1072b8f5723070f85e0a1dbbf2b9 | disable broken tests | wheelcms_axle/tests/test_search.py | wheelcms_axle/tests/test_search.py | from .models import Type1Type, Type2Type
from wheelcms_axle.content import TypeRegistry, type_registry
from wheelcms_axle.node import Node
import pytest
from wheelcms_axle.spoke import indexfactory
from haystack.query import SearchQuerySet, EmptySearchQuerySet
##
## These tests should be written in such a way that t... | Python | 0.000002 | @@ -1428,37 +1428,55 @@
ith tox%0A
-def disabled_
+@pytest.skip(%22broken%22)%0A def
test_find_me
@@ -2171,16 +2171,43 @@
t == o%0A%0A
+ @pytest.skip(%22broken%22)%0A
def
@@ -3345,32 +3345,59 @@
%5D.object == t1%0A%0A
+ @pytest.skip(%22broken%22)%0A
def test_sea
@@ -3693,16 +3693,43 @@
1, ... |
90251628f1ca13a7d4bd84e05df264e42f24cbe1 | Update exceptions | abraia/client.py | abraia/client.py | import os
import requests
from io import BytesIO
from . import config
class APIError(Exception):
def __init__(self, message):
super(APIError, self).__init__(message)
self.message = message
class Client(object):
def __init__(self):
self.auth = config.load_auth()
def load_user(se... | Python | 0.000001 | @@ -123,16 +123,24 @@
message
+, code=0
):%0A
@@ -180,16 +180,22 @@
(message
+, code
)%0A
@@ -219,16 +219,41 @@
message%0A
+ self.code = code%0A
%0A%0Aclass
@@ -517,38 +517,25 @@
PIError(
-'GET %7B%7D %7B%7D'.format(url
+resp.text
, resp.s
@@ -537,33 +537,32 @@
esp.status_code)
-)
%0A ... |
6df13c43c0227c16dbb128d908b8fbeff92ff11c | add STATIC_ROOMT | wsgi/hornbook/hornbook/settings.py | wsgi/hornbook/hornbook/settings.py | """
Django settings for hornbook project.
For more information on this file, see
https://docs.djangoproject.com/en/1.8/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.8/ref/settings/
"""
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
i... | Python | 0.000012 | @@ -3368,18 +3368,16 @@
tatic/'%0A
-#
STATIC_R
@@ -3418,22 +3418,21 @@
'../../
-static
+media
')%0ASTATI
|
4a6f76857a626dd756675a4fe1dd3660cf63d8b7 | Move module time to main() | alg_fibonacci.py | alg_fibonacci.py | """Fibonacci series:
0, 1, 1, 2, 3, 5, 8,...
- Fib(0) = 0
- Fib(1) = 1
- Fib(n) = Fib(n - 1) + Fib(n - 2)
"""
from __future__ import print_function
import time
def fibonacci(n):
"""Get nth number of Fibonacci series by recursion."""
if n == 0:
return 0
elif n == 1 or n == 2:
return 1
... | Python | 0 | @@ -149,20 +149,8 @@
ion%0A
-import time%0A
%0A%0Ade
@@ -375,16 +375,32 @@
main():%0A
+ import time%0A
n =
|
d859d33650fcd3dc92662a9a764fd1bcd3ed7d9f | Revise docstring typo | alg_quicksort.py | alg_quicksort.py | from __future__ import absolute_import
from __future__ import print_function
from __future__ import division
def quicksort(nums):
"""Quick sort algortihm by recursion with list comprehension.
Procedure:
- Pick a pivot which ideally is a median pf the list.
- Arrange half elements which are smalle... | Python | 0.000013 | @@ -433,17 +433,17 @@
half, re
-v
+c
ursively
|
e8573a7a297b634362255545d8f61a341ab82901 | Add missing documentation | amqpy/message.py | amqpy/message.py | """Messages for AMQP
"""
from . import spec
from amqpy.serialization import AMQPReader, AMQPWriter
__all__ = ['Message']
class GenericContent:
"""Abstract base class for AMQP content
Subclasses should override the PROPERTIES attribute.
"""
# TODO: see if we can merge GenericContent into Message; why... | Python | 0.000005 | @@ -4799,16 +4799,56 @@
arameter
+%0A%0A #: Message body (bytes or str)
%0A
@@ -4865,24 +4865,25 @@
= body%0A
+%0A
self.cha
@@ -4878,89 +4878,129 @@
-self.channel = channel # associated channel%0A self.delivery_info = %7B%7D # d
+#: Associated channel, set after receiving a m... |
664bfd6eb769486043f3ec43cdfe3cd2889aeb3e | Test fix | resize_tool/test.py | resize_tool/test.py | import unittest
import os
from PIL import Image
from resize_tool.resizer import Resizer
class TestBaseConfig(unittest.TestCase):
def test_new_filename_default_step(self):
resizer = Resizer()
resizer.set_current_seq_value(50)
resizer.set_file_name_pattern("OBR_adasdas_$$.jpg")
s... | Python | 0.000001 | @@ -4107,19 +4107,19 @@
r_image.
-jpg
+JPG
%22%7D%0A
|
39612a8ba085b8bf1810a7917f33ac4683895a81 | fix test | chainer/training/triggers/manual_schedule_trigger.py | chainer/training/triggers/manual_schedule_trigger.py | import warnings
class ManualScheduleTrigger(object):
"""Trigger invoked at specified point(s) of iterations or epochs.
This trigger accepts iterations or epochs indicated by given point(s).
There are two ways to specify the point(s): iteration and epoch.
``iteration`` means the number of updates, wh... | Python | 0.000002 | @@ -2350,33 +2350,24 @@
if
-(fire or
hasattr(self
@@ -2379,39 +2379,169 @@
inished_is_tmp')
-) and %5C
+:%0A del self._finished_is_tmp%0A if epoch_detail %3E= max(self.points):%0A self.finished = True
%0A
@@ -2529,34 +2529,43 @@
rue%0A ... |
378a5bcf9af0514f2893f1c8c5774e142460275c | Allow longer tags | web/tracker/models.py | web/tracker/models.py | from collections import defaultdict
from django.core.urlresolvers import reverse
from django.db import models
import datetime as dt
PRO = (
(None, "~"),
(1, "Finished"),
(2, "Stopped"),
(3, "Pending"),
(4, "Ongoing"),
)
RAT = (
(None, "~"),
(0, "βββββ Terrible"),
(1, "βββββ Poor"),
... | Python | 0.00003 | @@ -3512,17 +3512,17 @@
_length=
-2
+5
0)%0A o
|
16eab36418623d95e4c8f0085272f4d09d373731 | Update KeepAliveRPCProvider arguments, documentation. | web3/providers/rpc.py | web3/providers/rpc.py | import contextlib
import gevent
from geventhttpclient import HTTPClient
import logging
from .base import BaseProvider # noqa: E402
logger = logging.getLogger(__name__)
class RPCProvider(BaseProvider):
"""Create a RPC client.
.. note ::
You should preferably create only one client per process,
... | Python | 0 | @@ -2242,322 +2242,8 @@
y.%0A%0A
-%3C%3C%3C%3C%3C%3C%3C HEAD%0A HTTP client and underlying TCP/IP network connection is recycled across requests.%0A :class:%60HTTPClient%60 connection pooling is used for connections.%0A%0A Preferably create only one instance of KeepAliveProvider per process,%0A though the ... |
acec42118095c0642bbc9b8dfbb584520b7681b9 | rpc-api 'core.start' method in Network Controller | ryu/services/protocols/bgp/api/core.py | ryu/services/protocols/bgp/api/core.py | # Copyright (C) 2014 Nippon Telegraph and Telephone 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 appli... | Python | 0.999395 | @@ -1308,16 +1308,29 @@
ext.')%0A%0A
+ try:%0A
wait
@@ -1355,16 +1355,66 @@
aiter')%0A
+ except KeyError:%0A waiter = hub.Event()%0A
comm
|
20043f0bbf06fabd4862744123650bad46ccf13d | fix priority reference. | xadmin/templatetags/xadmin_tags.py | xadmin/templatetags/xadmin_tags.py | import re
from django import template
from django.template import Library
from django.utils import six
from django.utils.html import escape
from django.utils.safestring import mark_safe
from xadmin.util import static, vendor as util_vendor
register = Library()
@register.simple_tag(takes_context=True)
def username_... | Python | 0 | @@ -951,20 +951,26 @@
getattr(
-view
+block_func
, %22prior
|
827b3fed5265786fa7cef4ccb5a56c33d188fad4 | Update function name in test as well. | AFQ/tests/test_data.py | AFQ/tests/test_data.py | import botocore
import filecmp
import numpy as np
import numpy.testing as npt
import os
import os.path as op
import pytest
import s3fs
import shutil
from glob import glob
from moto import mock_s3
from uuid import uuid4
import AFQ.data as afd
import nibabel as nib
DATA_PATH = op.join(op.abspath(op.dirname(__file__)),... | Python | 0 | @@ -5394,24 +5394,33 @@
= afd.read_
+resample_
roi(roi, res
|
580bf8031f76976cc2f20a95c528cd7d75b35917 | Fix docstring. | chainer/testing/unary_function_test.py | chainer/testing/unary_function_test.py | import unittest
import numpy
import chainer
from chainer import cuda
import chainer.functions as F
from chainer.testing import attr
from chainer.testing import condition
def func_class(func):
name = func.__name__
name = name[0].upper() + name[1:]
return getattr(F, name, None)
def setattr1(klass, metho... | Python | 0.000001 | @@ -1518,16 +1518,17 @@
eterize%60
+
ed param
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.