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 |
|---|---|---|---|---|---|---|---|
d11478f1ad2d6caf16aeff087f2399297eec83d2 | Improve qrcode generation, add proper error message to generate_uri assertion about secret length | src/keybar/utils/totp.py | src/keybar/utils/totp.py | import io
import urllib
import time
from base64 import b32encode
from cryptography.hazmat.backends import default_backend
from cryptography.hazmat.primitives.twofactor.totp import TOTP
from cryptography.hazmat.primitives.hashes import SHA1
from django.http import HttpResponse
from django.utils.encoding import force_by... | Python | 0.000001 | @@ -343,16 +343,61 @@
QRCode%0A
+from qrcode.constants import ERROR_CORRECT_H%0A
%0A%0ABASE_U
@@ -559,16 +559,100 @@
QRCode(
+%0A error_correction=ERROR_CORRECT_H,%0A box_size=6,%0A border=4%0A
)%0A%0A u
@@ -729,24 +729,8 @@
')%0A%0A
- print(uri)%0A%0A
@@ -1328,16 +1328,45 @@... |
7bbd2827671d54662a0b13e11a9475a0ea5dee67 | Update apps/lecturers/models.py using f-string | apps/lecturers/models.py | apps/lecturers/models.py | # -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function, unicode_literals
import os
import re
from datetime import datetime
from django.conf import settings
from django.core.validators import MaxValueValidator, MinValueValidator
from django.db import models
from apps.lecturers import... | Python | 0 | @@ -2140,26 +2140,24 @@
s%22,
-%22%25s.jpg%22 %25
+f%22%7B
self.id
+%7D.jpg%22
)%0A
|
fb7e5039033530f1e6064ea54fe952f0781f4da2 | Bump version number for release. | coredata.py | coredata.py | #!/usr/bin/python3 -tt
# Copyright 2012 Jussi Pakkanen
# 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 o... | Python | 0 | @@ -761,17 +761,8 @@
.2.0
--research
'%0A%0Ac
|
37e19505c8f8847e5804c7fb2d95cb678b15fafe | Replace \r\n with \n in run scripts | code_court/courthouse/views/admin/languages.py | code_court/courthouse/views/admin/languages.py | import json
import re
import util
from sqlalchemy.exc import IntegrityError
from flask_login import login_required
from flask import (
abort,
Blueprint,
current_app,
flash,
redirect,
render_template,
request,
url_for,
flash,
)
languages = Blueprint('languages', __name__,
... | Python | 0.000294 | @@ -3225,16 +3225,38 @@
script%22)
+.replace('%5Cr%5Cn', '%5Cn')
%0A%0A if
|
ffd19f324ee532c797dcd5bdbff21f8f3195d4cf | Add --skip_removals flag to roll_preload_list.py | scripts/roll_preload_list.py | scripts/roll_preload_list.py | import argparse
import json
import re
import requests
import sys
def log(s):
sys.stderr.write(s)
class Chunk:
BlankLine, CommentLine, OneLineEntry, Unknown = range(4)
def getPendingRemovals():
log("Fetching pending removal...\n")
return requests.get("https://hstspreload.org/api/v2/pending-removal").json()
d... | Python | 0 | @@ -2769,16 +2769,78 @@
pe=str)%0A
+ parser.add_argument('--skip_removals', action='store_true')%0A
return
@@ -3388,16 +3388,70 @@
movals =
+ %5B%5D%0A if not args.skip_removals:%0A pendingRemovals =
getPend
|
8e880fe763a063f2bd24e9787cb2d7308bbed453 | Output debug not info | panoptes/environment/camera_enclosure.py | panoptes/environment/camera_enclosure.py | import datetime
import zmq
import json
from . import monitor
from panoptes.utils import logger, config, messaging, threads, serial
@logger.has_logger
@config.has_config
class CameraEnclosure(monitor.EnvironmentalMonitor):
"""
Listens to the sensors inside the camera enclosure
Args:
messaging (p... | Python | 0.999802 | @@ -1654,20 +1654,21 @@
.logger.
-info
+debug
(%22camera
|
0a1700b64a2e496217dd0531ebe8326410fd6cdc | Update yamldumper.py | salt/utils/yamldumper.py | salt/utils/yamldumper.py | # -*- coding: utf-8 -*-
'''
salt.utils.yamldumper
~~~~~~~~~~~~~~~~~~~~~
'''
from __future__ import absolute_import
try:
from yaml import CDumper as Dumper
except ImportError:
from yaml import CDumper as Dumper
from salt.utils.odict import OrderedDict
class OrderedDumper(Dumper):
'''
A YAML ... | Python | 0 | @@ -199,35 +199,24 @@
yaml import
-CDumper as
Dumper%0A%0Afrom
|
91f54451fd149506abe57e31f45bc841f9e031ca | Fix unstoppable streaming | camerav4.py | camerav4.py | import picamera
from picamera import PiCamera
import time
from datetime import datetime
import os.path
from subprocess32 import Popen
print "\nSecurity Camera Logger v4 | Ben Broce & William Hampton\n"
print "Streams video to rtsp://pi-ip:8554/ | Captures to pics/[timestamp].jpg"
print "Ctrl-C quits.\n"
stream = raw_... | Python | 0.000013 | @@ -368,16 +368,84 @@
v/p)? %22)
+%0Apreview = raw_input(%22Should I display video preview on Pi (y/n)? %22)
%0A%0Aprint
@@ -752,16 +752,23 @@
= %22V%22):%0A
+%09try:%0A%09
%09Popen(%5B
@@ -787,16 +787,71 @@
m.sh%22%5D)%0A
+%09finally:%0A%09%09print %22%5Cn%5CnExiting...%22%0A%09%09Popen.terminate()%0A
elif (st
... |
aecf2a62d5e6a13dbe906d0d8cd3a2ddd554a21c | version bump 1.1.0 - Increase number of blacklisted domains | disposable_email_checker/__init__.py | disposable_email_checker/__init__.py | __version__ = '1.0.0'
| Python | 0 | @@ -10,13 +10,13 @@
__ = '1.
-0
+1
.0'%0A
|
59c193cdffa46a247e918a93b86c16fe050e27e9 | migrate method to new api | l10n_br_delivery/sale.py | l10n_br_delivery/sale.py | # -*- coding: utf-8 -*-
###############################################################################
# #
# Copyright (C) 2009 Renato Lima - Akretion #
# ... | Python | 0.000001 | @@ -1538,33 +1538,18 @@
-# TODO migrate to new API
+@api.model
%0A
@@ -1571,33 +1571,24 @@
nvoice(self,
- cr, uid,
order, line
@@ -1588,30 +1588,16 @@
r, lines
-, context=None
):%0A
@@ -2173,30 +2173,8 @@
ice(
-%0A cr, uid,
orde
@@ -2181,25 +2181,16 @@
r, lines
-, context
)%0A%0A ... |
643b8e034f6bdcc2d863f0dda99fa91b1eecb54c | Update __init__.py | corner/__init__.py | corner/__init__.py | # -*- coding: utf-8 -*-
__version__ = "2.0.2.dev0"
__author__ = "Dan Foreman-Mackey (foreman.mackey@gmail.com)"
__copyright__ = "Copyright 2013-2016 Daniel Foreman-Mackey and contributors"
__contributors__ = [
# Alphabetical by first name.
"Adrian Price-Whelan @adrn",
"Brendon Brewer @eggplantbren",
"B... | Python | 0.000072 | @@ -508,24 +508,51 @@
hannorein%22,%0A
+ %22Jeremy Heyl @jsheyl%22,%0A
%22Kelle C
|
14efcc349a3b524345808eaf925399bede34c7c6 | make file pep8 compliant | binstar_client/errors.py | binstar_client/errors.py | from clyent.errors import ClyentError
class BinstarError(ClyentError):
def __init__(self, *args, **kwargs):
Exception.__init__(self, *args, **kwargs)
if not hasattr(self, 'message'):
self.message = args[0] if args else None
class Unauthorized(BinstarError):
pass
class Conflict(B... | Python | 0 | @@ -32,16 +32,17 @@
tError%0A%0A
+%0A
class Bi
@@ -58,33 +58,32 @@
r(ClyentError):%0A
-%0A
def __init__
@@ -253,16 +253,17 @@
e None%0A%0A
+%0A
class Un
@@ -294,24 +294,25 @@
:%0A pass%0A%0A
+%0A
class Confli
@@ -335,24 +335,25 @@
:%0A pass%0A%0A
+%0A
class NotFou
@@ -382,17 +382,16 @@
Error):%0A
-... |
600fbdaff54206aaed93e775011b5dcfb054b83c | use url() for /apps urls so we can link to them | apps/marketplace/urls.py | apps/marketplace/urls.py | from django.conf.urls.defaults import *
from views import marketplace, partners
urlpatterns = patterns('',
(r'^$', marketplace),
(r'^partners/$', partners),
)
| Python | 0 | @@ -37,46 +37,20 @@
t *%0A
-from views import marketplace, partner
+%0Aimport view
s%0A%0Au
@@ -83,16 +83,19 @@
+url
(r'%5E$',
mark
@@ -90,16 +90,22 @@
(r'%5E$',
+views.
marketpl
@@ -111,15 +111,38 @@
lace
+, name='marketplace'
),%0A
+url
(r'%5E
@@ -154,21 +154,27 @@
ers/$',
+views.
partners
),... |
38db6404a7f40bc86585c614fc8cbe6691eafb89 | update doc | birdy/native/__init__.py | birdy/native/__init__.py | """
The :func:`import_wps` function *imports* on the fly a python module whose
functions call WPS processes. The module is generated at runtime based on the
process description provided by the WPS server. Calling a function sends
an `execute` request to the server, which returns a response.
The response is parsed to c... | Python | 0 | @@ -24,75 +24,48 @@
ps%60
-function *imports* on the fly a python module whose%0Afunction
+instantiates a class whose method
s call
-
+%0A
WPS
@@ -84,16 +84,18 @@
he m
-odule is
+ethods are
gen
|
270812e89e8e0870bfea01367cf645cf5194a806 | Add sql constraint identation fixed | openacademy/model/openacademy_course.py | openacademy/model/openacademy_course.py | # -*- coding: utf-8 -*-
from openerp import models, fields, api
'''
This module create model of Course
'''
class Course(models.Model):
'''This class create model of Course'''
_name = 'openacademy.course' # Model odoo name
name = fields.Char(string='Title', required=True) # field reserved to identified re... | Python | 0 | @@ -1202,17 +1202,16 @@
-
'CHECK(n
@@ -1228,25 +1228,24 @@
cription)',%0A
-
%22The
@@ -1331,17 +1331,16 @@
-
'UNIQUE(
@@ -1343,25 +1343,24 @@
QUE(name)',%0A
-
%22The
|
80a58ea42892af72bac791e02f75fb1c9e11394e | handle piping errors | motmot/FlyMovieFormat/fmfcat.py | motmot/FlyMovieFormat/fmfcat.py | from optparse import OptionParser
import sys
import motmot.FlyMovieFormat.FlyMovieFormat as FMF
import numpy
import fcntl, os
if 1:
import signal
# Restore the default SIGPIPE handler (Python sets a handler to
# raise an exception).
signal.signal(signal.SIGPIPE, signal.SIG_DFL)
def encode_plane( frame... | Python | 0.000001 | @@ -118,16 +118,28 @@
cntl, os
+%0Aimport time
%0A%0Aif 1:%0A
@@ -2613,25 +2613,312 @@
-out_fd.write(buf)
+while 1:%0A try:%0A out_fd.write(buf)%0A break%0A except IOError, err:%0A if err.errno == 11:%0A print %3E%3E sys.stder... |
658d37fff628a3efac1e7202416ac7495960d4ad | Add translator in script | scripts/replay_notifications.py | scripts/replay_notifications.py | #!/usr/bin/env python
"""
Replay all events in order to create Notification entries to the database which
do not exist yet.
"""
# boilerplate code. copy that
import os
import sys
from argparse import ArgumentParser
sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))
# /end boilerplate code
from paste.depl... | Python | 0.000005 | @@ -332,16 +332,82 @@
ppconfig
+%0Aimport pylons%0Afrom pylons.i18n.translation import _get_translator
%0A%0Afrom a
@@ -708,16 +708,123 @@
l_conf)%0A
+ translator = _get_translator(pylons.config.get('lang'))%0A pylons.translator._push_object(translator)%0A
%0A%0Adef pa
|
6a0ee1d994eaaa563301389295c75fa61999791d | Remove unintended kwarg in mesh class | cubix/core/mesh.py | cubix/core/mesh.py |
from cubix.core.pycompat import *
from cubix.core import glmath
from cubix.core.opengl import gl, pgl
def buffer_object(data):
vbo = pgl.glGenBuffers(1)
gl.glBindBuffer(gl.GL_ARRAY_BUFFER, vbo)
pgl.glBufferData(gl.GL_ARRAY_BUFFER, data, gl.GL_STATIC_DRAW)
return vbo
def bind_object(dataLoc, vbo):
... | Python | 0 | @@ -1241,265 +1241,58 @@
-x1, x2, y1, y2 = self.texture.get_uvcoords()%5B3%5D%0A%0A self.texCoord = %5B%0A %5Bx1, y2%5D,%0A %5Bx2, y2%5D,%0A %5Bx1, y1%5D,%0A %5Bx2, y1%5D,%0A %5D%0A self.nverts = 4%0A%0A self.vao = pgl.glGenVe... |
054e2d98a450b75427a7b06c4549373c2f4bc7a3 | Remove default id reosolver from open tracing | saleor/core/tracing.py | saleor/core/tracing.py | from functools import partial
from graphene.types.resolver import default_resolver
from graphql import ResolveInfo
def should_trace(info: ResolveInfo) -> bool:
if info.field_name not in info.parent_type.fields:
return False
resolver = info.parent_type.fields[info.field_name].resolver
return not ... | Python | 0 | @@ -24,16 +24,52 @@
artial%0A%0A
+from graphene.relay import GlobalID%0A
from gra
@@ -719,16 +719,81 @@
olver):%0A
+ default_resolvers = %5Bdefault_resolver, GlobalID.id_resolver%5D%0A
whil
@@ -871,33 +871,33 @@
if resolver i
-s
+n
default_resolve
@@ -897,16 +897,17 @@
resolver
+s
:%0A
@@ -945,... |
984f5cd2d36634de7bd9876c69f6b3e19ae0c1bd | Fix documentation for MySQL instrumentation (#665) | instrumentation/opentelemetry-instrumentation-mysql/src/opentelemetry/instrumentation/mysql/__init__.py | instrumentation/opentelemetry-instrumentation-mysql/src/opentelemetry/instrumentation/mysql/__init__.py | # Copyright The OpenTelemetry 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 applicable law or agreed to in ... | Python | 0 | @@ -1066,16 +1066,17 @@
S (123)%22
+)
%0A cur
|
53acc35eda9984fdd9eaba78be45afd636c94098 | use unicode literals in shell instead of python2-only byte strings | lambda_uploader/shell.py | lambda_uploader/shell.py | # -*- coding: utf-8 -*-
# Copyright 2015-2016 Rackspace US, 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 appli... | Python | 0.000003 | @@ -1061,20 +1061,9 @@
= '
-%5Cxe2%5Cx9c%5Cx85
+%E2%9C%85
'%0AIN
@@ -1079,55 +1079,21 @@
= '
-%5Cxe2%5Cx81%5Cx89%5Cxef%5Cxb8%5Cx8f'%0ARED_X = '%5Cxe2%5Cx9d%5Cx8c
+%E2%80%BD'%0ARED_X = '%E2%9D%8C
'%0ALA
@@ -1104,16 +1104,9 @@
= '
-%5Cxce%5Cxbb
+%CE%BB
'%0ATR
|
91449465489ccc71e4d0b5527f0b4b54526b3c02 | update comment | python/parameters_tool/strip_comments.py | python/parameters_tool/strip_comments.py | #!/usr/bin/python
## File : strip_comments.py
## Created : <2017-08-03>
## Updated: Time-stamp: <2017-08-03 18:09:41>
## Description :
## For a block of string, remove useless stuff
## 1. Remove leading whitespace
## 2. Remove tailing whitespace
## 3. Remove any lines start with #
##
## Sample:
## ... | Python | 0 | @@ -108,13 +108,13 @@
18:
-09:41
+12:22
%3E%0A##
@@ -310,16 +310,226 @@
Sample:%0A
+## export server_list=%22# server ip%0A## %0A## ## APP%0A## 138.68.52.73:22%0A## ## loadbalancer%0A## #138.68.254.56:2711%0A## #138.68.254.215:2712%22%0A
##... |
df6b13a70241b616f49d4dcc25073084c371f5b1 | Swap out license with rights | share/models/creative/base.py | share/models/creative/base.py | from django.db import models
from share.models.base import ShareObject
from share.models.people import Person
from share.models.base import TypedShareObjectMeta
from share.models.creative.meta import Venue, Institution, Funder, Award, Tag
from share.models.fields import ShareForeignKey, ShareManyToManyField
class Ab... | Python | 0 | @@ -1251,24 +1251,25 @@
(null=True)%0A
+%0A
rights =
@@ -1282,24 +1282,45 @@
s.TextField(
+blank=True, null=True
)%0A langua
@@ -1341,16 +1341,37 @@
xtField(
+blank=True, null=True
)%0A%0A%0Aclas
|
a12ed7d9b2517872eef314551481f993a0779f77 | Use correct version number in fetch_bnf_codes | openprescribing/pipeline/management/commands/fetch_bnf_codes.py | openprescribing/pipeline/management/commands/fetch_bnf_codes.py | from argparse import RawTextHelpFormatter
import datetime
import glob
import os
import zipfile
from lxml import html
import requests
from tqdm import tqdm
from django.conf import settings
from django.core.management import BaseCommand
from openprescribing.utils import mkdir_p
class Command(BaseCommand):
help =... | Python | 0.000009 | @@ -2421,12 +2421,15 @@
n':
-'68'
+version
,%0A
|
5404936d559104bfdce982c3ff8e75be83aafce9 | fix docstring in focal loss (#1878) | tensorflow_addons/losses/focal_loss.py | tensorflow_addons/losses/focal_loss.py | # Copyright 2019 The TensorFlow 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 applica... | Python | 0 | @@ -1810,30 +1810,36 @@
-%5B%5B0.97%5D, %5B0.91
+y_true = %5B%5B1.0%5D, %5B1.0
%5D, %5B0.0
-3
%5D%5D,%0A
@@ -1844,35 +1844,47 @@
,%0A
-%5B%5B1.0%5D, %5B1.0
+y_pred = %5B%5B0.97%5D, %5B0.91
%5D, %5B0.0
+3
%5D%5D)%0A
@@ -1927,18 +1927,21 @@
s: %5B
-0.00010971
+6.8532745e-06
,%0A
@@ -1986,17 +1986... |
a7cd6209bd1b975fcc26bba337b7d14c7a4749d3 | Apply patch for django<1.11 | django_elastipymemcache/memcached.py | django_elastipymemcache/memcached.py | """
Backend for django cache
"""
import socket
from functools import wraps
from django.core.cache import InvalidCacheBackendError
from django.core.cache.backends.memcached import BaseMemcachedCache
from . import client as pyMemcache_client
from .cluster_utils import get_cluster_info
def invalidate_cache_after_error... | Python | 0 | @@ -1355,16 +1355,96 @@
port')%0A%0A
+ # Patch for django%3C1.11%0A self._options = self._options or dict()%0A
|
a8b6e8579ed886fd7f78f6ad8db3f112dac73816 | Use self.settings() context manager in tests | arcutils/tests/test_templatetags.py | arcutils/tests/test_templatetags.py | from django.conf import settings
from django.http import HttpRequest
from django.template import Context, Template
from django.test import TestCase
from arcutils.templatetags.arc import cdn_url, google_analytics
class TestCDNURLTag(TestCase):
def test_cdn_url_has_no_scheme_by_default(self):
self.assertE... | Python | 0.000001 | @@ -1,37 +1,4 @@
-from django.conf import settings%0A
from
@@ -2677,47 +2677,26 @@
-debug = settings.DEBUG%0A
+with self.
settings
.DEB
@@ -2695,22 +2695,26 @@
ings
-.
+(
DEBUG
- =
+=
True
-%0A
+):%0A
@@ -2769,32 +2769,36 @@
strip()%0A
+
self.assertTrue(
@@ -2824,32 +2824,36... |
b7471d6b1d209c8abe2c4920e5d86d8a542758b4 | Remove unused import in StartSliceJob | plugins/CuraEngineBackend/StartSliceJob.py | plugins/CuraEngineBackend/StartSliceJob.py | # Copyright (c) 2015 Ultimaker B.V.
# Cura is released under the terms of the AGPLv3 or higher.
import time
import numpy
from UM.Job import Job
from UM.Application import Application
from UM.Logger import Logger
from UM.Scene.SceneNode import SceneNode
from UM.Scene.Iterator.DepthFirstIterator import DepthFirstItera... | Python | 0 | @@ -94,20 +94,8 @@
r.%0A%0A
-import time%0A
impo
|
4ade02ef18b7f6746989f27a20c26b1d62e0c4a9 | Update if block to use elif | canvasapi/requester.py | canvasapi/requester.py | from __future__ import absolute_import, division, print_function, unicode_literals
from datetime import datetime
import requests
from canvasapi.exceptions import (
BadRequest, CanvasException, Forbidden, InvalidAccessToken,
ResourceDoesNotExist, Unauthorized
)
class Requester(object):
"""
Responsibl... | Python | 0 | @@ -2644,32 +2644,34 @@
gs.%0A
+el
if isinstance(ar
|
a71eeb6961acdd4ccc0f888a47b8799755d56eaa | Make it fill the screen with boxes | cubix/game/gamemanager.py | cubix/game/gamemanager.py | from PIL import Image
from cubix.core.pycompat import *
from cubix.core import window
from cubix.core import events
from cubix.core import context
from cubix.core import timing
from cubix.core import files
from cubix.core import shaders
from cubix.core.opengl import gl
from cubix.core.opengl import pgl
from cubix.core... | Python | 0.000004 | @@ -1952,45 +1952,77 @@
-for i in range(int((self.width/37) *
+numPerRow = int(self.width/37)%0A for i in range(numPerRow * int
(sel
@@ -2034,17 +2034,16 @@
ght/37))
-)
:%0A
@@ -2163,34 +2163,49 @@
if
-i %25 (self.width//32) == 24
+(rowy*32) + (rowy * 5) + 32 %3E= self.width
:%0A
@@ -2615,1... |
9480d9afe7cc1052d9166e28dc07182765dd2a89 | Raise JobError if can't import. Fixes #284 | django_extensions/management/jobs.py | django_extensions/management/jobs.py | """
django_extensions.management.jobs
"""
import os
from imp import find_module
_jobs = None
def noneimplementation(meth):
return None
class JobError(Exception):
pass
class BaseJob(object):
help = "undefined job description."
when = None
def execute(self):
raise NotImplementedError(... | Python | 0 | @@ -732,24 +732,37 @@
port(name):%0A
+ try:%0A
imp = __
@@ -772,24 +772,124 @@
ort__(name)%0A
+ except ImportError, e:%0A raise JobError(%22Failed to import %25s with error %25s%22 %25 (name, e))%0A%0A
mods = n
|
58a36b2f935f15a78edf6b6c158d91797ba105e9 | Add inverse of shortflags test for sanity check | tests/cli.py | tests/cli.py | import os
import sys
import StringIO
from spec import eq_, skip, Spec, ok_, trap
from invoke.runner import run
from invoke.parser import Parser, Context
from invoke.collection import Collection
from invoke.tasks import task
from invoke.exceptions import Failure
import invoke
from _utils import support
class CLI(Sp... | Python | 0.000003 | @@ -4803,18 +4803,72 @@
task -bv
-%22%0A
+ (and inverse)%22%0A for args in ('-bv', '-vb'):%0A
@@ -4895,22 +4895,31 @@
ask
--bv%22)%0A
+%25s%22 %25 args)%0A
a =
@@ -4914,16 +4914,17 @@
+
a = r%5B0%5D
@@ -4929,16 +4929,20 @@
0%5D.args%0A
+
@@ -4954,32 +495... |
e8793a837dc88ee283193042e28c393e89346fb2 | Remove unused _suffix arg from CASBackend._validate_ticket() | arcutils/cas/backends.py | arcutils/cas/backends.py | import logging
import textwrap
from xml.etree import ElementTree
from urllib.request import urlopen
from django.conf import settings as django_settings
from django.contrib.auth import get_user_model
from django.contrib.auth.backends import ModelBackend
from django.contrib.auth.hashers import make_password
from django.... | Python | 0.000002 | @@ -4417,21 +4417,8 @@
vice
-, suffix=None
):%0A
|
a2849e7d016c812317fc503dc15f8f3dfec7da0a | use apply_async instead of delay | mrbelvedereci/build/handlers.py | mrbelvedereci/build/handlers.py | from django.db.models.signals import post_save
from django.dispatch import receiver
from mrbelvedereci.build.models import Build
from mrbelvedereci.build.tasks import run_build
@receiver(post_save, sender=Build)
def create_repo_webhooks(sender, **kwargs):
build = kwargs['instance']
created = kwargs['created']
... | Python | 0.000001 | @@ -451,21 +451,28 @@
n_build.
-delay
+apply_async(
(build.i
@@ -472,16 +472,17 @@
build.id
+)
, countd
|
e84b4a5c5b148423d450fe5e3d01310d92652841 | rename dashboard url name to crm_dashboard | crm/urls.py | crm/urls.py | # -*- coding: utf-8 -*-
# ----------------------------------------------------------------------------
# $Id: urls.py 425 2009-07-14 03:43:01Z tobias $
# ----------------------------------------------------------------------------
#
# Copyright (C) 2008-2009 Caktus Consulting Group, LLC
#
# This file is part of d... | Python | 0.000025 | @@ -787,16 +787,20 @@
, name='
+crm_
dashboar
|
1bb90728d9ef6c08452d2094e9930b6aa916389e | Remove use of girder.events in queue adapter | cumulus/queue/__init__.py | cumulus/queue/__init__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
###############################################################################
# Copyright 2015 Kitware 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 cop... | Python | 0 | @@ -822,35 +822,8 @@
se%0A%0A
-from girder import events%0A%0A
from
@@ -1780,145 +1780,8 @@
er:%0A
- e = events.trigger('queue.adapter.get', system)%0A if len(e.responses) %3E 0:%0A cls = e.responses%5B-1%5D%0A else:%0A
@@ -1847,16 +1847,16 @@
system)%0A
+
else
@@ -2138,28... |
45b13b0cd235e10dc69f5fa2a9e65e704cebb043 | fix silly bugs | crawler/crawler.py | crawler/crawler.py | from __future__ import absolute_import
import re
import bs4
import traceback
import progressbar
import itertools
from requests_futures.sessions import FuturesSession
from django.db import transaction
from crawler.course import (
curriculum_to_trs, course_from_tr, syllabus_url, course_from_syllabus
)
from data_cent... | Python | 0.000102 | @@ -2827,24 +2827,45 @@
ProgressBar(
+maxval=len(cou_codes)
)%0A for fu
@@ -3631,32 +3631,55 @@
rse in progress(
+itertools.izip_longest(
%0A
@@ -3706,17 +3706,16 @@
rse_list
-)
%0A
@@ -3715,24 +3715,25 @@
+)
):%0A
|
e8ea3fb530b26adbcf3fa2ba602e3e96a91c5736 | Create a method to render duration in "H:m:s" format. | base/components/social/youtube/models.py | base/components/social/youtube/models.py | # -*- coding: utf-8 -*-
import datetime
import dateutil
from django.db import models
from django.utils.encoding import smart_unicode
from components.people.models import Group, Idol
from .api import Api
class Channel(models.Model):
username = models.CharField(max_length=60)
# Optional relationships.
i... | Python | 0 | @@ -2306,24 +2306,119 @@
t.save()%0A%0A
+ def duration_display(self):%0A return str(datetime.timedelta(seconds=self.duration))%0A%0A
def entr
|
580bdccc23b319a8becda0fd312d586b3c5a68d1 | Update `salt.modules.config` to use `salt.utils.fopen` instead of `open` | salt/modules/config.py | salt/modules/config.py | '''
Return config information
'''
# Import python libs
import re
import os
import urllib
# Import salt libs
import salt.utils
# Set up the default values for all systems
DEFAULTS = {'mongo.db': 'salt',
'mongo.host': 'salt',
'mongo.password': '',
'mongo.port': 27017,
'm... | Python | 0 | @@ -5093,16 +5093,28 @@
with
+salt.utils.f
open(fn_
|
39cedb77312faa5afe46409d996b8dec587e6cf7 | use simplier gridder | scripts/iemre/grid_p01d_12z_pre1997.py | scripts/iemre/grid_p01d_12z_pre1997.py | """Make a gridded analysis of p01d_12z based on obs."""
import sys
import subprocess
import datetime
import numpy as np
import verde as vd
import pyproj
from metpy.units import units as mpunits
from metpy.units import masked_array
from pandas.io.sql import read_sql
from pyiem.iemre import get_grids, XAXIS, YAXIS, set_... | Python | 0.000001 | @@ -813,42 +813,36 @@
vd.S
-pline(damping=1e-10, mindist=100e3
+cipyGridder(method=%22nearest%22
)),%0A
|
f9fb155ab3ffb8831f90526faf0397c5d20fdf46 | Use internal_prod | cupy/manipulation/dims.py | cupy/manipulation/dims.py | import six
import cupy
from cupy import core
zip_longest = six.moves.zip_longest
six_zip = six.moves.zip
def atleast_1d(*arys):
"""Converts arrays to arrays with dimensions >= 1.
Args:
arys (tuple of arrays): Arrays to be converted. All arguments must be
cupy.ndarray objects. Only zero... | Python | 0.000001 | @@ -3945,16 +3945,21 @@
e =
+core.
internal
.pro
@@ -3954,17 +3954,17 @@
internal
-.
+_
prod(r_s
|
707c4c801a0c35a1503575a6bd8c82fed6c589b6 | Update tv example to use data module. Rewrap some text. | doc/examples/plot_lena_tv_denoise.py | doc/examples/plot_lena_tv_denoise.py | """
====================================================
Denoising the picture of Lena using total variation
====================================================
In this example, we denoise a noisy version of the picture of Lena using the
total variation denoising filter. The result of this filter is an image that
has... | Python | 0 | @@ -218,25 +218,25 @@
ture of Lena
-
+%0A
using the%0Ato
@@ -232,17 +232,17 @@
sing the
-%0A
+
total va
@@ -292,17 +292,17 @@
s filter
-
+%0A
is an im
@@ -309,17 +309,17 @@
age that
-%0A
+
has a mi
@@ -360,17 +360,17 @@
being as
-
+%0A
close to
@@ -387,17 +387,17 @@
al image
-%0A
+
as possi
@@ -430,17... |
584317c7b5e8536eb0aa4203cd7ff0287d581367 | Refactor configuration parsing | blimp/commands/launch.py | blimp/commands/launch.py | import time
import boto3
from clint.textui import indent, puts, puts_err
from helpers.aws import json_serialize_instance
def _get_launch_args_and_tags(args, config):
role_config = config['roles'][args.role]
launch_args = {
'ImageId': role_config['ami_id'],
'MinCount': 1,
'MaxCount':... | Python | 0 | @@ -171,397 +171,107 @@
-role_config = config%5B'roles'%5D%5Bargs.role%5D%0A%0A launch_args = %7B%0A 'ImageId': role_config%5B'ami_id'%5D,%0A 'MinCount': 1,%0A 'MaxCount': 1,%0A 'KeyName': config%5B'key_pair'%5D,%0A 'SecurityGroupIds': role_config%5B'security_group_ids'%5D,%0... |
507cdda01f9208127f8ce5f1ecadc6d5d521fe4d | fix for flake8 | cupy/manipulation/kind.py | cupy/manipulation/kind.py | import numpy
import cupy
from cupy import core
# TODO(okuta): Implement asfarray
def asfortranarray(a, dtype=None):
"""Return an array laid out in Fortran order in memory.
Args:
a (~cupy.ndarray): The input array.
dtype (str or dtype object, optional): By default, the data-type is
... | Python | 0 | @@ -1,30 +1,4 @@
-import numpy%0A%0Aimport cupy%0A
from
|
e157cfbf85bab3373ef7b4e5e76da20bd572bebb | modify method name: get_by_name_or_all to get_artist_by_name refactoring methods | art_archive_api/utils.py | art_archive_api/utils.py | from flask import abort
def get_by_name_or_all(model, name):
objects = []
objects_count = 0
if name:
objects = model.query.filter_by(name=name)
objects_count = objects.count()
else:
objects = model.query.all()
objects_count = model.query.count()
return objects, obj... | Python | 0.000002 | @@ -31,22 +31,22 @@
get_
+artist_
by_name
-_or_all
(mod
@@ -76,30 +76,8 @@
= %5B%5D
-%0A objects_count = 0
%0A%0A
@@ -142,48 +142,8 @@
me)%0A
- objects_count = objects.count()%0A
@@ -181,19 +181,9 @@
uery
-.all()%0A
+%0A
@@ -198,27 +198,23 @@
count =
-model.query
+objects
.count()
... |
9f44888c00d29bd1d1a53eb09ab90b61f33c5e05 | Update existing settings migration with minor field change. | awx/main/migrations/0002_v300_changes.py | awx/main/migrations/0002_v300_changes.py | # -*- coding: utf-8 -*-
# Copyright (c) 2016 Ansible, Inc.
# All Rights Reserved.
from __future__ import unicode_literals
from django.db import migrations, models
from django.conf import settings
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER... | Python | 0 | @@ -971,32 +971,42 @@
odels.TextField(
+blank=True
)),%0A
|
0f5e2cd04b0518a846e898214b484b43e1b051d9 | Add tests | tests/cupyx_tests/jit_tests/test_raw.py | tests/cupyx_tests/jit_tests/test_raw.py | import unittest
import numpy
import cupy
from cupyx import jit
from cupy import testing
class TestRaw(unittest.TestCase):
def test_raw_onw_thread(self):
@jit.rawkernel()
def f(x, y):
y[0] = x[0]
x = cupy.array([10], dtype=numpy.int32)
y = cupy.array([20], dtype=numpy... | Python | 0.000001 | @@ -2872,32 +2872,671 @@
x == y).all())%0A%0A
+ def test_shared_memory(self):%0A @jit.rawkernel()%0A def f(x, y):%0A tid = jit.threadIdx.x%0A ntid = jit.blockDim.x%0A bid = jit.blockIdx.x%0A i = tid + bid * ntid%0A%0A smem = jit.shared_malloc(nump... |
f3999c68e0494a08678f1bd6b4fb9e6ad031df92 | Fix Flakes Errors: openspending/test/unit/model/helpers.py | openspending/test/unit/model/helpers.py | openspending/test/unit/model/helpers.py | from tempfile import mkdtemp
SIMPLE_MODEL = {
'dataset': {
'name': 'test',
'label': 'Test Case Model',
'description': 'I\'m a banana!'
},
'mapping': {
'amount': {
'type': 'value',
'label': 'Amount',
'column': 'amount',
'datatyp... | Python | 0.000078 | @@ -1,34 +1,4 @@
-from tempfile import mkdtemp%0A%0A
SIMP
|
7893695348a23472835e6d6c2d57b8ac4dea2dc3 | Document test intention. | test/broker/03-publish-timeout-qos2.py | test/broker/03-publish-timeout-qos2.py | #!/usr/bin/python
# Test whether a PUBLISH to a topic with QoS 2 results in the correct packet
# flow. This test introduces delays into the flow in order to force the broker
# to send duplicate PUBREC and PUBCOMP messages.
import subprocess
import socket
import time
from struct import *
rc = 0
keepalive = 600
connec... | Python | 0 | @@ -1444,16 +1444,91 @@
%09%09else:%0A
+%09%09%09# Timeout is 8 seconds which means the broker should repeat the PUBREC.%0A
%09%09%09pubre
|
b82c783b573493a92f166181898c4122a1f2aef6 | Add docstring to hadoop module | salt/modules/hadoop.py | salt/modules/hadoop.py | # -*- coding: utf-8 -*-
'''
Support for hadoop
:maintainer: Yann Jouanin <yann.jouanin@intelunix.fr>
:maturity: new
:depends:
:platform: linux
'''
# Import python libs
import os
import sys
import shlex
# Import salt libs
import salt.utils
from salt.state import STATE_INTERNAL_KEYWORDS as _STATE_INTERNAL_KEYWORDS
f... | Python | 0 | @@ -857,24 +857,252 @@
nd, *args):%0A
+ '''%0A Hadoop command wrapper %0A%0A In order to prevent random execution the module name is checked%0A%0A Follows hadoop command template:%0A hadoop module -command args%0A E.g.: hadoop dfs -ls /%0A '''%0A
out = No
@@ -1563,19 +1563,1... |
88a0fbd3e5fda85770480cf28305676fad0dd568 | fix slug override | bluebottle/geo/models.py | bluebottle/geo/models.py | from django.contrib.contenttypes.fields import GenericForeignKey
from django.contrib.contenttypes.models import ContentType
from django.db import models
from django.template.defaultfilters import slugify
from django.utils.translation import ugettext_lazy as _
from geoposition.fields import GeopositionField
from parler... | Python | 0.000002 | @@ -5120,12 +5120,11 @@
elf.
-titl
+nam
e)%0A%0A
|
3accbbc1b0c656238425cb4c34d2efe28ec2a885 | Support snet | cfshorty.py | cfshorty.py | from hashlib import sha256
from urllib import quote, unquote
from urlparse import urlparse
from flask import Flask, abort, request, redirect, render_template, jsonify
from jinja2 import Template
from swiftly.client import Client
app = Flask(__name__)
# Load default config and override config from an environment varia... | Python | 0 | @@ -421,24 +421,46 @@
/.swiftly',%0A
+ USE_SNET = False,%0A
CF_USERN
@@ -1300,16 +1300,40 @@
+ app.config%5B'USE_SNET'%5D,
cache_p
@@ -1369,16 +1369,28 @@
_PATH'%5D,
+%0A
eventle
@@ -1418,28 +1418,16 @@
NTLET'%5D,
-%0A
region=
@@ -1450,16 +1450,28 @@
EGION'%5D,
+%0A ... |
c326026ac36f94565816c1082afc2e8e52a5c664 | Fix bug related to prepresentation of site objects | src/tmlib/models/site.py | src/tmlib/models/site.py | import logging
import numpy as np
from sqlalchemy import Column, Integer, ForeignKey, Boolean
from sqlalchemy.orm import relationship, backref
from sqlalchemy import UniqueConstraint
from tmlib.models.base import ExperimentModel, DateMixIn
logger = logging.getLogger(__name__)
class Site(ExperimentModel, DateMixIn)... | Python | 0 | @@ -4472,16 +4472,19 @@
%25r, well
+_id
=%25r, y=%25
@@ -4531,13 +4531,11 @@
well
-.name
+_id
, se
|
c546192a83dce300ad46193e351229a5969e979d | Remove warming up from TestBase._test_jitted() (#571) | sdc/tests/tests_perf/test_perf_base.py | sdc/tests/tests_perf/test_perf_base.py | import os
import unittest
import numba
from sdc.tests.tests_perf.test_perf_utils import *
class TestBase(unittest.TestCase):
iter_number = 5
results_class = TestResults
@classmethod
def create_test_results(cls):
drivers = []
if is_true(os.environ.get('SDC_TEST_PERF_EXCEL', True)):
... | Python | 0.000001 | @@ -1365,61 +1365,8 @@
c)%0A%0A
- # Warming up%0A cfunc(*args, **kwargs)%0A%0A
|
56df3ee2ac088f40dd43df6e6fd8641aedd320b9 | Use explicit class-based view name | corehq/apps/auditcare/tests/test_middleware.py | corehq/apps/auditcare/tests/test_middleware.py | from contextlib import contextmanager
from unittest.mock import patch
from django.conf import settings as default_settings
from django.test import SimpleTestCase
from testil import Config, eq
from .. import middleware as mod
class TestAuditMiddleware(SimpleTestCase):
def setUp(self):
self.request = Con... | Python | 0.000003 | @@ -1260,35 +1260,37 @@
nc = make_view(%22
-The
+Class
View%22)%0A s
@@ -1819,35 +1819,37 @@
nc = make_view(%22
-The
+Class
View%22, %22corehq.a
@@ -4429,27 +4429,29 @@
make_view(%22
-The
+Class
View%22)%0A e
@@ -4470,35 +4470,37 @@
ss__.__name__, %22
-The
+Class
View%22)%0A eq(fu
@@ -4781,19 +478... |
ad74ac75f6fea996a2ffb6efd62b0628ff8ccc3e | check if executor and loop are running before close | bndl/compute/executor.py | bndl/compute/executor.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 th... | Python | 0.000001 | @@ -2541,24 +2541,79 @@
top(*args):%0A
+ if executor.running and loop.is_running():%0A
try:
@@ -2613,16 +2613,20 @@
try:%0A
+
@@ -2695,16 +2695,20 @@
+
except T
@@ -2720,16 +2720,20 @@
tError:%0A
+
|
83efc4d5ebf22e68529521c3c9198b8105943b19 | Fix error with invalid team information and team size limits (#1220) | CTFd/teams.py | CTFd/teams.py | from flask import render_template, request, redirect, url_for, Blueprint
from CTFd.models import db, Teams
from CTFd.utils.decorators import authed_only, ratelimit
from CTFd.utils.decorators.modes import require_team_mode
from CTFd.utils import config, get_config
from CTFd.utils.user import get_current_user
from CTFd.u... | Python | 0 | @@ -2330,32 +2330,100 @@
current_user()%0A%0A
+ if team and verify_password(passphrase, team.password):%0A
team_siz
@@ -2467,32 +2467,36 @@
ault=0)%0A
+
+
if team_size_lim
@@ -2544,32 +2544,36 @@
it:%0A
+
errors.append(%0A
@@ -2563,32 +2563,36 @@
errors.append(%0A... |
d310075ec946e3931de8e8b98fe32e5938c656d8 | update version string (before too long we should have proper version tags). | caesure/connection.py | caesure/connection.py | # -*- Mode: Python -*-
import re
import random
import struct
import time
import coro
from caesure.bitcoin import dhash, network
from caesure.ansi import *
from caesure.proto import VERSION, pack_inv, unpack_version
def make_nonce():
return random.randint (0, 1 << 64)
ipv6_server_re = re.compile ('\[([A-Fa-f0-9:... | Python | 0 | @@ -980,12 +980,11 @@
0141
-1118
+203
/'%0A
|
d6cfc95c436b7eb4be372795948a8f9097d60015 | Remove unused import | astropy_helpers/sphinx/ext/__init__.py | astropy_helpers/sphinx/ext/__init__.py | from __future__ import division, absolute_import, print_function
from .numpydoc import setup
| Python | 0.000001 | @@ -63,32 +63,4 @@
on%0A%0A
-from .numpydoc import setup%0A
|
abb870fff0a4bdad84486f7786654604ee23d6ce | allow for Decimal and other types not inherently addable to float in SMA calculator. | cubes/statutils.py | cubes/statutils.py | from collections import deque
from cubes.model import Attribute
def _wma(values):
n = len(values)
denom = n * (n + 1) / 2
total = 0.0
idx = 1
for val in values:
total += float(idx) * float(val)
idx += 1
return round(total / denom, 4)
def _sma(values):
# use all the values
... | Python | 0 | @@ -349,17 +349,24 @@
a i, c:
-c
+float(c)
+ i, va
|
57a913f2808ce1525746714e4284355df0510d03 | FIX simpler fix of BS4 bug with tags | lyricstagger/helpers/wikia.py | lyricstagger/helpers/wikia.py | """
Helper to download lyrics from lyrics.wikia.com
"""
from __future__ import unicode_literals
import re
import requests
from bs4 import BeautifulSoup, NavigableString, Tag
import logging
class Wikia:
"""Lyrics Downloader for lyrics.wikia.com"""
url = "http://lyrics.wikia.com/api.php"
def __init__(self)... | Python | 0 | @@ -1225,28 +1225,23 @@
ame
+not
in %5B'
-br', 'b', 'span
+script
'%5D a
|
071661e2ffa39440a57c16b2b7f7ffb7d05845d5 | check SUNLIGHT_KEY in addition to SUNLIGHT_API_KEY | call_server/config.py | call_server/config.py | import os
import twilio.rest
import sunlight
class DefaultConfig(object):
PROJECT = 'CallPower'
DEBUG = False
TESTING = False
ENVIRONMENT = "Default"
APP_NAME = "call_server"
APPLICATION_ROOT = None # the path where the application is configured
SQLALCHEMY_DATABASE_URI = os.environ.get(... | Python | 0.000013 | @@ -1632,24 +1632,111 @@
T_API_KEY')%0A
+ if not SUNLIGHT_API_KEY:%0A SUNLIGHT_API_KEY = os.environ.get('SUNLIGHT_KEY')%0A
sunlight
|
add62d6fddb5e71ce565ddbbb0da33098c311cef | Add ImageMetrics to the -multimedia channel | channels.py | channels.py | channels = {
"#huggle":
lambda x: x.get("X-Bugzilla-Product", None) == "Huggle",
"#pywikibot":
lambda x: x.get("X-Bugzilla-Product", None) == "Pywikibot",
"#wikimedia-corefeatures":
lambda x: (x.get("X-Bugzilla-Product", None) == "MediaWiki extensions") and \
(x.get... | Python | 0.000005 | @@ -2564,16 +2564,53 @@
Handler%22
+,%0A %22ImageMetrics%22
%5D%0A
|
f0dff35e18599061ec5917137ebc18310ae9ffd1 | add Indenter vs keepWithNext breakage found by Ilpo Nyyssönen | reportlab/test/test_platypus_breaking.py | reportlab/test/test_platypus_breaking.py | #Copyright ReportLab Europe Ltd. 2000-2004
#see license.txt for license details
#history http://www.reportlab.co.uk/cgi-bin/viewcvs.cgi/public/reportlab/trunk/reportlab/test/test_platypus_breaking.py
"""Tests pageBreakBefore, frameBreakBefore, keepWithNext...
"""
import sys, os, time
from string import split, strip, j... | Python | 0 | @@ -996,16 +996,45 @@
Template
+, Indenter, SimpleDocTemplate
%0Afrom re
@@ -4032,16 +4032,478 @@
(self)%0A%0A
+ def test1(self):%0A '''Ilpo Nyyssnen posted this broken test'''%0A normalStyle = ParagraphStyle(name = 'normal')%0A keepStyle = ParagraphStyle(name = 'keep', keepWithNext = True)%0... |
1a8f9212c91a11af2ffb8fbebf86e1ac5d8f4a4c | Fix docstring | batchflow/models/tf/layers/drop_block.py | batchflow/models/tf/layers/drop_block.py | """
Golnaz Ghiasi, Tsung-Yi Lin, Quoc V. Le "`DropBlock: A regularization method for convolutional networks
<https://arxiv.org/abs/1810.12890>`_"
"""
import tensorflow as tf
from .pooling import max_pooling
# TODO:
# When max_pooling allows for dynamic kernel size, implement block_size as fraction
# of spatial_dims.
... | Python | 0.00003 | @@ -578,25 +578,26 @@
Input tensor
+.
%0A
-
dropout_
@@ -682,17 +682,8 @@
or
-float or
tupl
@@ -695,18 +695,8 @@
ints
- or floats
%0A
@@ -809,113 +809,8 @@
ts.%0A
- If float %3C 0, block_size is calculated as a fraction of corresponding spatial%0A dimension.%0A
@@ -1116,25 +1116,25... |
b0f0ec664d1a74e71d8ab9192a2eca0b29de07e3 | version bump to 1.0.0 | moviepy/version.py | moviepy/version.py | __version__ = "0.2.4.0"
| Python | 0 | @@ -12,13 +12,11 @@
= %22
-0.2.4
+1.0
.0%22%0A
|
403c9fe403a722449ff22d4ac989db00cff4010e | fix AdminExportMixin | leprikon/admin/export.py | leprikon/admin/export.py | import csv
from datetime import datetime
from functools import partial
import django_excel
from django.http import HttpResponse
from django.utils.encoding import force_text
from django.utils.translation import ugettext_lazy as _
def lookup_attr(obj, name):
for n in name.split('__'):
obj = getattr(obj, n)... | Python | 0 | @@ -3058,16 +3058,28 @@
except
+ (TypeError,
ValueEr
@@ -3077,24 +3077,25 @@
, ValueError
+)
:%0A
|
bd45223f8606948936d2c0fa1c104a0c2f13d630 | Update 8x8 generator | test/environments/instances/8x8/gen.py | test/environments/instances/8x8/gen.py | #!/usr/bin/python
import random
import os
import errno
for i in range(100):
s=set()
g=set()
while len(s) < 20:
s.add((random.randint(0,7),random.randint(0,7)))
while len(g) < 20:
g.add((random.randint(0,7),random.randint(0,7)))
start=list(s)
goal=list(g)
for size in range(2,22,2):
if not o... | Python | 0 | @@ -296,14 +296,12 @@
nge(
-2,22
+1
,2
+1
):%0A
|
74e2b12d5ba576c63c8da86698fe93e9701a9d00 | delete specific settings from parent app | organization/core/context_processors.py | organization/core/context_processors.py | # -*- coding: utf-8 -*-
#
# Copyright (c) 2016-2017 Ircam
# Copyright (c) 2016-2017 Guillaume Pellerin
# Copyright (c) 2016-2017 Emilie Zawadzki
# This file is part of mezzanine-organization.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public L... | Python | 0.000001 | @@ -3764,58 +3764,8 @@
RL,%0A
- 'team_page_id': settings.TEAM_PAGE_ID%0A
|
f1e52992e26a32dc76e933dfa8f5800542f8628f | Update parameter | sequence_prediction/sequence_generator/predict.py | sequence_prediction/sequence_generator/predict.py | #!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2015, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions ... | Python | 0.000001 | @@ -2559,17 +2559,17 @@
Count%22:
-4
+2
0,%0A
|
1a8c06e655b622e7504a615c902ddb9b278f6470 | add urdu mapping [skip ci] | custom/icds/translations/integrations/const.py | custom/icds/translations/integrations/const.py | from __future__ import absolute_import
from __future__ import unicode_literals
API_USER = "api"
SOURCE_LANGUAGE_MAPPING = {
# 'hq_code' : 'transifex_code'
'hin': 'hi', # hindi
'ori': 'or', # oriya
'tam': 'ta', # tamil
'pan': 'pa', # punjabi
'asm': 'as', # assamese
'ben': 'bn', # bengal... | Python | 0.000014 | @@ -543,10 +543,35 @@
telugu%0A
+ 'urd': 'ur', # urdu%0A
%7D%0A
|
e98d141a281aaaa5af9e03afdd7a9543cf7e795a | Fix salt.states.selinux._refine_value() | salt/states/selinux.py | salt/states/selinux.py | '''
Management of SELinux rules.
============================
If SELinux is available for the running system, the mode can be managed and
booleans can be set.
.. code-block:: yaml
enforcing:
selinux.mode
samba_create_home_dirs:
selinux.boolean:
- value: True
- persist: Tr... | Python | 0 | @@ -383,35 +383,24 @@
lue that is
-completely
predictable%0A
@@ -415,34 +415,49 @@
-if any(%5B%0A str(
+mode = str(mode).lower()%0A if any(%5B
mode
-)
.sta
@@ -474,33 +474,32 @@
'),%0A
-str(
+
mode
-)
== '1',%0A
@@ -507,52 +507,16 @@
-str(mode).startswith('E'),%0A s... |
d9304cd7c19e29fc24ba474a5c7983ce3bb88a2b | Fix benchmark name | lib/node_modules/@stdlib/types/ndarray/ind2sub/benchmark/python/numpy/benchmark.py | lib/node_modules/@stdlib/types/ndarray/ind2sub/benchmark/python/numpy/benchmark.py | #!/usr/bin/env python
"""Benchmark numpy.unravel_index."""
from __future__ import print_function
import timeit
NAME = "unravel_index"
REPEATS = 3
ITERATIONS = 1000000
def print_version():
"""Print the TAP version."""
print("TAP version 13")
def print_summary(total, passing):
"""Print the benchmark sum... | Python | 0.001182 | @@ -114,29 +114,23 @@
NAME = %22
-unravel_index
+ind2sub
%22%0AREPEAT
|
deb749252a83f59c0bfee3b14abafc5582fb3986 | fix 500 - closes #20 | letsmeet/events/views.py | letsmeet/events/views.py | from rules.contrib.views import PermissionRequiredMixin
from django.shortcuts import redirect
from django.contrib.auth.mixins import LoginRequiredMixin
from django.views.generic import (
CreateView,
DetailView,
UpdateView,
)
from .models import Event, EventRSVP, EventComment
from .forms import EventUpdate... | Python | 0.000001 | @@ -87,16 +87,35 @@
redirect
+, get_object_or_404
%0Afrom dj
@@ -443,32 +443,52 @@
-obj = Event.objects.get(
+return get_object_or_404(%0A Event,
%0A
@@ -525,16 +525,28 @@
'slug'),
+%0A
communi
@@ -593,27 +593,8 @@
'))%0A
- return obj%0A
%0A%0Acl
|
9b46fc08cafeef07ffba6569a1a30b730490dd83 | Improve pole.py day change calculation | bot/action/extra/pole.py | bot/action/extra/pole.py | from bot.action.core.action import Action
from bot.api.domain import Message, Chat
SECONDS_IN_A_DAY = 86400
OFFSET_FROM_UTC_IN_SECONDS = 2 * 3600
class PoleAction(Action):
def process(self, event):
if event.global_gap_detected: # reset everything
event.state.last_message_timestamp = None
... | Python | 0.000001 | @@ -700,39 +700,35 @@
current_message_
-seconds
+day
= self.get_seco
@@ -723,34 +723,26 @@
elf.get_
-seconds_within_day
+day_number
(current
@@ -790,23 +790,19 @@
message_
-seconds
+day
= self.
@@ -805,34 +805,26 @@
elf.get_
-seconds_within_day
+day_number
(int(pre
@@ -885,17 +885,14 @@
age_
-seconds %3C
+da... |
745ab5a354299207cbe069c5c5d2632ef8c54c07 | version bump | seed_stage_based_messaging/__init__.py | seed_stage_based_messaging/__init__.py | __version__ = '0.9.12'
VERSION = __version__
| Python | 0.000001 | @@ -17,9 +17,9 @@
.9.1
-2
+3
'%0AVE
|
420118a9e238c744040e72937bd7cacae728f74b | update ilsgateway location type test | custom/ilsgateway/tests/test_locations_sync.py | custom/ilsgateway/tests/test_locations_sync.py | from datetime import datetime
import json
import os
from django.test import TestCase
from corehq.apps.commtrack.tests.util import bootstrap_domain as initial_bootstrap
from corehq.apps.locations.models import Location, SQLLocation
from custom.ilsgateway.api import Location as Loc, ILSGatewayAPI
from custom.ilsgateway.t... | Python | 0 | @@ -2472,32 +2472,37 @@
on.location_type
+.name
)%0A self.a
@@ -2700,24 +2700,29 @@
ocation_type
+.name
)%0A se
|
7f49672497104455d0276ac863f4b2791ee4c7bd | Replace Video constructor with generic class of subclasses. | mr/video/opencv.py | mr/video/opencv.py | import os
import cv2
import numpy as np
class Frame(object):
"""Iterable object that returns frames of video as numpy arrays of integers
0-255.
Parameters
----------
filename : string
gray : Convert color image to grayscale. True by default.
invert : Invert black and white. True by default... | Python | 0 | @@ -3071,21 +3071,30 @@
_copy =
-Video
+self.__class__
(self.fi
|
72da5e5a0137215c7a7ea72496a6fdfe5d830f68 | set extend_existing on redefined usershub models | backend/geonature/core/users/models.py | backend/geonature/core/users/models.py | from sqlalchemy import ForeignKey
from pypnusershub.db.models import User
from utils_flask_sqla.serializers import serializable
from sqlalchemy.sql import select, func
from sqlalchemy.dialects.postgresql import UUID
from geonature.utils.env import DB
@serializable
class VUserslistForallMenu(DB.Model):
__tablenam... | Python | 0 | @@ -740,32 +740,57 @@
: %22utilisateurs%22
+, %22extend_existing%22: True
%7D%0A id_organis
@@ -1308,32 +1308,57 @@
: %22utilisateurs%22
+, %22extend_existing%22: True
%7D%0A id_role_gr
|
c4ea2d360ebf0fc9b9d9494ed43e540eaf2282d8 | add compatibility import | dask/array/into.py | dask/array/into.py | from __future__ import absolute_import, division, print_function
import numpy as np
from toolz import merge, accumulate
from into import discover, convert, append, into
from datashape.dispatch import dispatch
from datashape import DataShape
from operator import add
import itertools
from .core import rec_concatenate, A... | Python | 0 | @@ -376,16 +376,49 @@
flatten%0A
+from ..compatibility import long%0A
%0A%0A@disco
|
f346daeb6d75c3235d52a98f54b91e03999e228f | Configure CORS to accept requests form web application | backend/restapp/restapp/settings.py | backend/restapp/restapp/settings.py | """
Django settings for restapp project.
Generated by 'django-admin startproject' using Django 1.9.4.
For more information on this file, see
https://docs.djangoproject.com/en/1.9/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.9/ref/settings/
"""
import os
#... | Python | 0.000001 | @@ -1055,24 +1055,43 @@
aticfiles',%0A
+ 'corsheaders',%0A
'rest_fr
@@ -1261,32 +1261,77 @@
ionMiddleware',%0A
+ 'corsheaders.middleware.CorsMiddleware',%0A
'django.midd
@@ -3573,8 +3573,67 @@
tatic/'%0A
+%0ACORS_ORIGIN_WHITELIST = (%0A 'localhost:8080',%0A )%0A
|
83a1ccd0cd657b08fd6bd43b212d1b526f466474 | Use unicodecode instead of unaccent postgresql because this extension is not in postgresql 8.4 | server/localfinance/views.py | server/localfinance/views.py | # -*- coding: utf-8 -*-
import os
import json
from sqlalchemy import func
from pyramid.view import view_config
from pyramid.response import FileResponse
from cornice import Service
from cornice.resource import resource, view
from .models import AdminZoneFinance, DBSession, AdminZone, Stats as StatsModel, ADMIN_LEVEL_C... | Python | 0.000002 | @@ -40,16 +40,33 @@
rt json%0A
+import unidecode%0A
from sql
@@ -550,16 +550,112 @@
'term'%5D%0A
+ term_ascii = unicodedata.normalize('NFKD', unicode(term)).encode('ascii', 'ignore').lower()%0A
resu
@@ -937,45 +937,24 @@
ike(
-func.lower(func.unaccent(term
+term_ascii
+%22%25%22))
-))
%5C%0A
|
c1d73206436389f27187f3b52ff0daf6e106918c | Fix serialization of Marathon Constraints | marathon/models/constraint.py | marathon/models/constraint.py | from ..exceptions import InvalidOperatorError
from .base import MarathonObject
class MarathonConstraint(MarathonObject):
"""Marathon placement constraint.
See https://mesosphere.github.io/marathon/docs/constraints.html
:param str field: constraint operator target
:param str operator: must be one of ... | Python | 0.002336 | @@ -1118,16 +1118,286 @@
ict__)%0A%0A
+ def json_repr(self):%0A %22%22%22Construct a JSON-friendly representation of the object.%0A%0A :rtype: list%0A %22%22%22%0A if self.value:%0A return %5Bself.field, self.operator, self.value%5D%0A else:%0A return %5Bself... |
381dc5a1f92916d8ce66c7eef95e2237ff20b044 | fix tests | astropy/coordinates/tests/test_sites.py | astropy/coordinates/tests/test_sites.py | from __future__ import (absolute_import, division, print_function,
unicode_literals)
from ...tests.helper import pytest, assert_quantity_allclose
from ... import units as u
from .. import Latitude, Longitude, EarthLocation, get_site, add_site, remove_site
def test_get_site():
# Compare to ... | Python | 0.000001 | @@ -1732,35 +1732,43 @@
now
-try add/remove with aliases
+check that alias removals works too
%0A
@@ -1926,37 +1926,16 @@
ite_name
-, remove_aliases=True
)%0A as
@@ -2047,32 +2047,32 @@
= (initlen + 2)%0A
+
remove_site(
@@ -2092,29 +2092,8 @@
s%5B1%5D
-, remove_aliases=True
)%0A
|
2ce05b9525d3b66676a269496de12b0cb54137c1 | Set title directly on the graph constructor | mrdp/processing.py | mrdp/processing.py | """
Climate Data Online aggregation and graphing
TODO Add a box plot of the temperature data to be more interesting?
"""
from csv import reader as csv_reader
from datetime import date
from pygal import Line
__all__ = [
'render_graphs',
'aggregate_monthly_data',
'monthly_total_precip_line',
'monthly_a... | Python | 0 | @@ -2830,106 +2830,105 @@
ine(
-x_labels=MONTH_NAMES, x_label_rotation=90)%0A graph.config.title = %22Precipitation%22 + append_title
+title=%22Precipitation%22 + append_title,%0A x_labels=MONTH_NAMES, x_label_rotation=90)
%0A%0A
@@ -3341,105 +3341,120 @@
ine(
-x_labels=MONTH_NAMES, x_label_rota... |
e82cfc45585268b5942c169b8a0a61f8110ac832 | Change exception handling | ysniff.py | ysniff.py | #!/usr/bin/env python
import boto.rds
import fileinput
import sys
import os
from subprocess import call
mac_index = 12
time_index = 1
start_t_us = 0
start_u_us = 0
MAC_LEN = 17
SAMPLE_PERIOD = 30 # Seconds.
PUSH_TO_AWS_PERIOD = 300 # Seconds.
maclist = set()
buffer = {}
# Function to re-associate with YaleGuest for ... | Python | 0.000001 | @@ -698,12 +698,16 @@
pt E
-rror
+xception
as
|
bdb8d48e0030474a616ec2e7e6d5f19132bb18e7 | Fix account init | module/plugins/accounts/XFileSharingPro.py | module/plugins/accounts/XFileSharingPro.py | # -*- coding: utf-8 -*-
import re
from module.plugins.internal.XFSPAccount import XFSPAccount
class XFileSharingPro(XFSPAccount):
__name__ = "XFileSharingPro"
__type__ = "account"
__version__ = "0.03"
__description__ = """XFileSharingPro multi-purpose account plugin"""
__license__ = "... | Python | 0 | @@ -22,19 +22,8 @@
*-%0A%0A
-import re%0A%0A
from
@@ -202,17 +202,17 @@
_ = %220.0
-3
+4
%22%0A%0A _
@@ -375,16 +375,16 @@
om%22)%5D%0A%0A%0A
-
HOST
@@ -400,16 +400,122 @@
None%0A%0A%0A
+ def init(self):%0A if self.HOSTER_NAME:%0A return super(XFileSharingPro, self).init()%0A%0A%0A
... |
c20118536c397daac0f1c6eeffeeefd663571f40 | fix sqlcreate | daiquiri/core/management/commands/sqlcreate.py | daiquiri/core/management/commands/sqlcreate.py | import socket
from django.conf import settings
from django.core.management.base import BaseCommand
class Command(BaseCommand):
requires_system_checks = False
can_import_settings = True
def add_arguments(self, parser):
parser.add_argument('--schema', help='Show commands for a science schema.')
... | Python | 0.000095 | @@ -1125,32 +1125,30 @@
if
-'data' in config
+config%5B'data'%5D
:%0A
@@ -1982,32 +1982,39 @@
%0A if
+config%5B
'default' in con
@@ -2002,34 +2002,25 @@
ig%5B'default'
- in config
+%5D
:%0A
@@ -2562,32 +2562,30 @@
if
-'data' in config
+config%5B'data'%5D
:%0A
@@ -32... |
ee931a528a1483bedc2951dd202f369460c0fec4 | Update version | bottle_utils/__init__.py | bottle_utils/__init__.py | __version__ = '0.3.4'
__author__ = 'Outernet Inc <hello@outernet.is>'
| Python | 0 | @@ -16,9 +16,9 @@
0.3.
-4
+5
'%0A__
|
9a914ff1d1a40416fc890a1b90b7d017d214ff2c | Revert "Update __init__.py" | salt/wheel/__init__.py | salt/wheel/__init__.py | # -*- coding: utf-8 -*-
'''
Modules used to control the master itself
'''
from __future__ import absolute_import
#import python libs
import os
import collections
# Import salt libs
from salt import syspaths
import salt.config
import salt.loader
from salt.client import mixins
from salt.utils.error import raise_error
... | Python | 0 | @@ -3955,43 +3955,8 @@
'''%0A
- return self.low(fun, kwarg)
%0A%0AWh
|
595f2dfab6841555df27bd145a871b717a4c4c49 | handle not having any siblings | cvserver.py | cvserver.py | # coding: utf-8
from __future__ import print_function
from __future__ import unicode_literals
import requests
import bs4
import re
DEBUG = False
def response_for_image(image_url, client_name):
base_url = 'http://deeplearning.cs.toronto.edu/api/url.php'
files = {
'urllink': ('', image_url),
'u... | Python | 0.000003 | @@ -1306,24 +1306,24 @@
())%0A
-captions
+next_sib
= heade
@@ -1347,24 +1347,30 @@
ng()
-.find_all('li')%0A
+%0A if next_sib:%0A
@@ -1397,17 +1397,107 @@
in
-captions%5D
+next_sib.findall('li')%5D%0A else:%0A print(%22no headers found?%22)%0A print(soup.prettify())
%0A%0A%0Ad
|
a806272275fa0071abf038ceed913995c5e99bb5 | add support of IAM roles | z3/get.py | z3/get.py | import argparse
import sys
import boto.s3
from z3.config import get_config
def download(bucket, name):
key = bucket.get_key(name)
key.get_contents_to_file(sys.stdout)
def main():
cfg = get_config()
parser = argparse.ArgumentParser(
description='Read a key from s3 and write the content to s... | Python | 0 | @@ -19,16 +19,20 @@
port sys
+, re
%0A%0Aimport
@@ -40,149 +40,119 @@
boto
-.s3%0A%0Afrom z3.config import get_config%0A%0A%0Adef download(bucket, name):%0A key = bucket.get_key(name)%0A key.get_contents_to_file(sys.stdout)%0A%0A
+3%0Aimport botocore%0Afrom boto3.s3.transfer import TransferConfig%0Afrom z3.con... |
88544bedd046e642d0780cd9aede3141a03d2f90 | change arg parser around - part 3 ... can run a single test suite now | ott/loader/otp/preflight/test_runner.py | ott/loader/otp/preflight/test_runner.py | import os
import sys
import time
import inspect
import logging
log = logging.getLogger(__file__)
from mako.template import Template
from ott.utils.config_util import ConfigUtil
from ott.utils import web_utils
from ott.utils import file_utils
from ott.utils import otp_utils
from ott.loader.otp.preflight.test_suite im... | Python | 0 | @@ -4745,16 +4745,22 @@
factory(
+args,
graph_di
@@ -4783,56 +4783,8 @@
=dir
-, hostname=args.hostname, filter=args.test_suite
)%0A%0Ai
|
d4b1852bcbdbfd458209f4e69c5cb7a5c3d9b9c4 | Fix schema | marshmallow_peewee/convert.py | marshmallow_peewee/convert.py | import peewee as pw
from marshmallow import fields, validate as ma_validate
from marshmallow.compat import OrderedDict
class Related(fields.Nested):
def __init__(self, nested=None, meta=None, **kwargs):
self.meta = meta or {}
return super(Related, self).__init__(nested, **kwargs)
def init_mo... | Python | 0.000004 | @@ -2056,46 +2056,8 @@
me,%0A
- 'default': field.default,%0A
@@ -2162,16 +2162,134 @@
%7D%0A
+%0A if field.default is not None and not callable(field.default):%0A params%5B'default'%5D = field.default%0A%0A
|
e8d71eea391a002bdaa6cf923b3858b14aec1b7f | update and added VP9 Profile 2 | resources/lib/services/msl/profiles.py | resources/lib/services/msl/profiles.py | # -*- coding: utf-8 -*-
"""MSL video profiles"""
from __future__ import unicode_literals
import xbmcaddon
from resources.lib.globals import g
import resources.lib.common as common
HEVC = 'hevc-main-'
HEVC_M10 = 'hevc-main10-'
CENC_PRK = 'dash-cenc-prk'
CENC = 'dash-cenc'
CENC_TL = 'dash-cenc-ctl'
HDR = 'hevc-hdr-mai... | Python | 0 | @@ -370,16 +370,25 @@
10-'%0AVP9
+_PROFILE0
= 'vp9-
@@ -397,16 +397,47 @@
ofile0-'
+%0AVP9_PROFILE2 = 'vp9-profile2-'
%0A%0ABASE_L
@@ -833,32 +833,66 @@
'heaac-2-dash',%0A
+ 'playready-heaac-2-dash',%0A
# Unkown
@@ -888,16 +888,17 @@
# Unk
+n
own%0A
@@ -1154,36 +1154,8 @@
sh',
- 'playrea... |
3f2581aa9f3dddc2e9cf2d79421655d5858bfcbc | Use --ati on ATI cards or for other places you want interactive card choosing | hydrogen.py | hydrogen.py | #!/usr/bin/env python
import pyopencl as cl
import numpy
import sys
from math import *
from time import time
from PIL import Image
from optparse import OptionParser
def independentPsi(n, l):
"""The first term of psi is constant with respect to the entire image, so
it can be computed outside of the inner loop... | Python | 0 | @@ -2876,16 +2876,161 @@
g 0.1%22)%0A
+ parser.add_option(%22-a%22, %22--ati%22, action=%22store_true%22, default=False,%0A dest=%22promptForDevice%22, help=%22prompt for device%22)%0A
pars
@@ -3999,17 +3999,56 @@
%5D)%0A%0A
-#
+if not options.promptForDevice:%0A
if optio
@@ ... |
d29f175ce5a410044130569ba765bc7c9829c0a6 | Add missing import | salt/wheel/__init__.py | salt/wheel/__init__.py | # -*- coding: utf-8 -*-
'''
Modules used to control the master itself
'''
from __future__ import absolute_import
#import python libs
import os
import collections
# Import salt libs
from salt import syspaths
import salt.config
import salt.loader
from salt.client import mixins
class WheelClient(mixins.SyncClientMixin,... | Python | 0.000466 | @@ -270,16 +270,57 @@
mixins%0A
+from salt.utils.error import raise_error%0A
%0A%0Aclass
|
5a7887b6a2fcaacb452ee6b2344f29c337478167 | Version bump to 0.4.0 | cartridge/__init__.py | cartridge/__init__.py | __version__ = "0.3.7"
| Python | 0 | @@ -14,9 +14,9 @@
%220.
-3.7
+4.0
%22%0A
|
3a177a48b1e8f51eb9f13b874879b7fa47216897 | Add comments to multimission-simulation | grizli/version.py | grizli/version.py | # Should be one commit behind latest
__version__ = "0.1.1-25-g3109f16"
| Python | 0 | @@ -56,16 +56,16 @@
.1-2
-5-g3109f16
+9-gac73d73
%22%0A
|
6934ba49ff6f594910843d951606f80db67d9b4b | return to older return | hyml/ext.py | hyml/ext.py | #!/usr/bin/python3
# -*- coding: utf-8 -*-
# Copyright (c) Marko Manninen <elonmedia@gmail.com>, 2017
import hy, hy.importer as hyi
from jinja2.ext import extract_from_ast
import itertools
def extract_from_ast(source, keywords):
d = None
def filter_hy(e):
# basicly we are searching for babel keyword e... | Python | 0.999999 | @@ -1269,16 +1269,38 @@
chunks%0A
+ if long_list:%0A
for
@@ -1329,24 +1329,28 @@
_list), n):%0A
+
t =
@@ -1376,16 +1376,20 @@
+
# add em
@@ -1428,16 +1428,20 @@
r babel%0A
+
@@ -1665,27 +1665,8 @@
e))%0A
- if source:%0A
@@ -1709,33 +1709,8 @@
ce... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.