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 |
|---|---|---|---|---|---|---|---|
759c7029b18f8bbcf6a6399d512abed8b6e12436 | Rename set to depset | bazel/generate_cc.bzl | bazel/generate_cc.bzl | """Generates C++ grpc stubs from proto_library rules.
This is an internal rule used by cc_grpc_library, and shouldn't be used
directly.
"""
def generate_cc_impl(ctx):
"""Implementation of the generate_cc rule."""
protos = [f for src in ctx.attr.srcs for f in src.proto.direct_sources]
includes = [f for src in ct... | Python | 0.001018 | @@ -2525,16 +2525,19 @@
t(files=
+dep
set(out_
|
2944b50b0ef6b341a8d60aed8c2371292e81a255 | update tests | accounts/tests/test_acceptance.py | accounts/tests/test_acceptance.py | import pytest
@pytest.mark.django_db
def test_custom_login_view(client):
response = client.get('/login/')
assert response.status_code == 200
assert response.context['request'].user.is_authenticated() is False
response = client.post('/login/', {'username':'abcd',
... | Python | 0.000001 | @@ -1363,40 +1363,12 @@
gin_
-does_not_redirect_to_unsafe_next
+page
(cli
@@ -1387,35 +1387,34 @@
sponse = client.
-pos
+ge
t('/login/', %7B'u
@@ -1416,121 +1416,270 @@
, %7B'
-username':'abcd',%0A 'password': 'x',%0A
+next': 'http://fake... |
2eb4647751c46cc6d5905f23a2b18df171aa0471 | Fix calculate_makespan function | cloud_sched.py | cloud_sched.py | #!/usr/bin/env python
from __future__ import print_function, division
import copy
import logging
import math
import random
from pprint import pprint
import numpy
from matplotlib import pyplot
from swf_parser import parse_swf_file
logging.basicConfig(level=logging.DEBUG,
format='%(asctime)s %(l... | Python | 0.000007 | @@ -917,24 +917,73 @@
d_sched%22)%0A%0A%0A
+class CloudSchedException(Exception):%0A pass%0A%0A%0A
def filter_t
@@ -2836,44 +2836,279 @@
-# Get index of the minimum processor
+if task%5B'number_of_allocated_processors'%5D %3E n_procs:%0A raise CloudSchedException(%22number of allocated processors ... |
3a107bca420d02edf21f7fba41edf60ee64d76e9 | Move results files instead of copying. | src/dummy/runner/__init__.py | src/dummy/runner/__init__.py | from dummy.utils import git, io, argparser
from dummy import config
from dummy.models import Test
from dummy.runner.models import Metric
from dummy.statistics import Statistic
from dummy.storage import JsonStorageProvider
import os
import glob
import subprocess
import logging
import shutil
logger = logging.getLogger(... | Python | 0 | @@ -4553,12 +4553,11 @@
g( %22
-Copy
+Mov
ing
@@ -4630,15 +4630,11 @@
til.
-copyfil
+mov
e( a
|
e02570e3f22d24d12228c3ea51199d587735917c | Add newline add end of post. | create_post.py | create_post.py | #!/usr/bin/env python
import argparse
import dropbox
import os
from time import gmtime, strftime
def get_link(client, folder_path, opus_number):
folder_metadata = client.metadata(folder_path)
path = folder_metadata['contents'][opus_number-1]['path']
url = client.share(path, short_url=False)['url']
# Fo... | Python | 0 | @@ -737,16 +737,18 @@
.html %25%7D
+%5Cn
'%0A
|
4ee6ce2b8d59266ed7b08422088d20edda1effe2 | Simplify a bit | rst2pdf/tests/input/test_issue_216.py | rst2pdf/tests/input/test_issue_216.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from reportlab.platypus import SimpleDocTemplate, Paragraph
from reportlab.platypus.doctemplate import Indenter
from reportlab.platypus.flowables import *
from reportlab.platypus.xpreformatted import *
from reportlab.lib.styles import getSampleStyleSheet
from copy import c... | Python | 0.001364 | @@ -445,43 +445,8 @@
%0A
- space=Spacer(0,0)%0A %0A
@@ -495,17 +495,16 @@
heading
-1
=Paragra
@@ -511,17 +511,50 @@
ph('
-H
+A h
eading
-1
+at the beginning of the document
',kn
@@ -575,17 +575,16 @@
heading
-1
.keepWit
@@ -699,22 +699,15 @@
ry=%5B
-space,
heading
-1
,con
|
39cde4c4417ba0fe65c8e1d67dadc7ca012fd097 | Fix url in rsa key request | steampy/login.py | steampy/login.py | import base64
import time
import requests
from Crypto.Cipher import PKCS1_v1_5
from Crypto.PublicKey import RSA
from steampy import guard
class LoginExecutor:
COMMUNITY_URL = "https://steamcommunity.com"
def __init__(self, username: str, password: str, shared_secret: str, session: requests.Session) -> None... | Python | 0.000022 | @@ -204,16 +204,65 @@
ity.com%22
+%0A STORE_URL = 'https://store.steampowered.com'
%0A%0A de
@@ -1183,33 +1183,29 @@
n.post(self.
-COMMUNITY
+STORE
_URL + '/log
@@ -1320,33 +1320,29 @@
n.post(self.
-COMMUNITY
+STORE
_URL + '/log
|
b1ee34bcc827e6ac08d445f694f9cec035d4c85f | Update version | bossimage/__init__.py | bossimage/__init__.py | __version__ = '0.1.3'
| Python | 0 | @@ -16,7 +16,7 @@
0.1.
-3
+4
'%0A
|
20ac52cf6d519d63a7945abe0273198d91b86699 | remove an forgotten debug print | pkcs7/pkcs7_decoder.py | pkcs7/pkcs7_decoder.py |
#* dslib - Python library for Datove schranky
#* Copyright (C) 2009-2010 CZ.NIC, z.s.p.o. (http://www.nic.cz)
#*
#* This library is free software; you can redistribute it and/or
#* modify it under the terms of the GNU Library General Public
#* License as published by the Free Software Foundation; eithe... | Python | 0.000006 | @@ -2595,47 +2595,8 @@
%5B0%5D%0A
- print len(decoded%5B1%5D)%0A %0A
|
f02ad2f5b4a8444d7aae5a53a5a5a842b5935fc7 | Update update-episodes/anime1_me | my-ACG/update-episodes/anime1_me.py | my-ACG/update-episodes/anime1_me.py | # -*- coding: utf-8 -*-
import argparse
import importlib
import os
import sys
os.environ['PYWIKIBOT_DIR'] = os.path.dirname(os.path.realpath(__file__))
import pywikibot
sys.path.append('..')
animeSite = importlib.import_module('util.anime1_me', 'Anime1Me').Anime1Me()
site = pywikibot.Site()
site.login()
datasite = ... | Python | 0 | @@ -369,51 +369,8 @@
e):%0A
- if title %3C 'Item:Q756':%0A return%0A
@@ -1090,32 +1090,8 @@
s))%0A
- input()%0A
@@ -1449,28 +1449,8 @@
s))%0A
- input()%0A
|
13deadeab78701b924506ed914f83d54bd9fbef3 | Add tiny test for constituencies method. | mzalendo/core/tests/test_persons.py | mzalendo/core/tests/test_persons.py | import re
import datetime
from django.conf import settings
from django.core import mail
from django_webtest import WebTest
from django.test.client import Client
from django.test import TestCase
from django.contrib.auth.models import User
from core import models
import mzalendo.scorecards.models
class PersonTest(Web... | Python | 0 | @@ -4408,16 +4408,174 @@
erage'%0A%0A
+ def testConstituencies(self):%0A assert not self.alf.constituencies()%0A assert len(self.bob.constituencies()) == 1, self.bob.constituencies()%0A%0A
def
|
dd889eee2be8e055b255a27c64184e72405e77bf | Fix xapparser.py encoding, UTF used in header: http://www.python.org/peps/pep-0263.html | nao_pose/src/xapparser/xapparser.py | nao_pose/src/xapparser/xapparser.py | # Copyright 2013 Séverin Lemaignan
# http://www.ros.org/wiki/nao
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# # Redistributions of source code must retain the above copyright
# notice, this list of condi... | Python | 0.008705 | @@ -1,8 +1,36 @@
+# # -*- coding: utf-8 -*- %0A%0A
# Copyri
|
d53b85f9805faedae23232012ee48c938f15c43f | Remove no longer used encoding message | srt_tools/utils.py | srt_tools/utils.py | #!/usr/bin/env python
import argparse
import codecs
import srt
import logging
import sys
import itertools
import collections
if sys.version_info < (3,):
from codecs import open as _open
else:
_open = open
DASH_STREAM_MAP = {
'input': sys.stdin.buffer,
'output': sys.stdout.buffer,
}
DEFAULT_ENCODING ... | Python | 0.000001 | @@ -362,131 +362,8 @@
_)%0A%0A
-STREAM_ENC_MSG = (%0A '-e/--encoding has no effect on %25s, you need to use --input or --output '%0A 'with a real file'%0A)%0A%0A
%0Adef
|
fb9103a0a8fecd5523c9114d6e461d2ed9b29728 | remove unused imports | castra/core.py | castra/core.py | import tempfile
import bloscpack
import blosc
import pickle
from bisect import bisect
import os
from os import mkdir
from os.path import exists, isdir, join
import pandas as pd
import numpy as np
from pandas import msgpack
import shutil
def escape(text):
return str(text)
def _safe_mkdir(path):
if not exists... | Python | 0.000001 | @@ -57,34 +57,8 @@
kle%0A
-from bisect import bisect%0A
impo
|
1af162bf18405e2343d0971fd3a936e5627000bf | save plot in pdf | ComplexSVanalysis.py | ComplexSVanalysis.py | #!/opt/local/bin/python2.7
# GENERAL
import os
from itertools import dropwhile, islice
# BAM and BED handling
from pysam import AlignmentFile, AlignedSegment
from pybedtools import BedTool
# PLOTTING
import numpy as np
import matplotlib.pyplot as plt
from optparse import OptionParser
# ----------------------------... | Python | 0 | @@ -3537,16 +3537,17 @@
, 24))%0A%09
+#
print co
@@ -3579,24 +3579,25 @@
llection:%0A%09%09
+#
print read,
@@ -4171,17 +4171,42 @@
t.show()
-%09
+%0A%09%09fig.savefig('test.pdf')
%0A%0A# ----
|
39639d45fea8753869feeed4f879533811a9222d | Bump version to 4.1.0rc7 | platformio/__init__.py | platformio/__init__.py | # Copyright (c) 2014-present PlatformIO <contact@platformio.org>
#
# 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 | @@ -625,17 +625,17 @@
1, %220rc
-6
+7
%22)%0A__ver
|
b42d0efa73c0c9e8daf8756753eb3303bdaf79e1 | Bump version to 3.6.2b5 | platformio/__init__.py | platformio/__init__.py | # Copyright (c) 2014-present PlatformIO <contact@platformio.org>
#
# 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.000001 | @@ -636,17 +636,17 @@
, 6, %222b
-4
+5
%22)%0A__ver
|
4da4a917eaa4e41e6a8412944cc14e7607f799fe | Removing the harcoding of has.key() | blog/views.py | blog/views.py | import time
import ipdb
from calendar import month_name
from django.conf import settings
from django.http import Http404
from django.template import RequestContext
from django.core.urlresolvers import reverse
from django.views.generic import TemplateView
from django.core.paginator import Paginator, \
InvalidPage,... | Python | 0.998481 | @@ -1029,41 +1029,34 @@
OST%0A
-%0A
if
-post_data.has_key(%22body%22)
+%22body%22 in post_data
and
|
a93028d6e4dc1439666f7bbed6c4643268542a49 | Bump version to 3.2.0b3 | platformio/__init__.py | platformio/__init__.py | # Copyright 2014-present PlatformIO <contact@platformio.org>
#
# 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 applicabl... | Python | 0.000001 | @@ -632,17 +632,17 @@
, 2, %220b
-2
+3
%22)%0A__ver
|
7f2ec4a303d47d22037e2d7190c6ff6dbc8166bb | Fix pep8 issues (no functional changes) | oom/oomjsonshim.py | oom/oomjsonshim.py | # /////////////////////////////////////////////////////////////////////
#
# oomjsonshim.py : An OOM Southbound SHIM, in Python, that
# packages Southbound API requests into JSON and ships them to a switch
# to be executed, and receives the results, unpacks the JSON, and
# presents them in the form of the standard O... | Python | 0 | @@ -683,16 +683,17 @@
port_t%0A%0A
+%0A
# Set th
@@ -1828,32 +1828,50 @@
+
'address': addre
@@ -1887,35 +1887,37 @@
': page,
- 'offset': offset,%0A
+%0A
@@ -1920,33 +1920,49 @@
-
+'offset': offset,
'length': lengt
@@ -2450,32 +24... |
f39c9fb597facb92701afbfc687e37898e7bf43d | Bump version to 4.4.0b4 | platformio/__init__.py | platformio/__init__.py | # Copyright (c) 2014-present PlatformIO <contact@platformio.org>
#
# 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.000001 | @@ -636,17 +636,17 @@
, 4, %220b
-3
+4
%22)%0A__ver
|
82b04d3287762df7ff5435dccff50c398265d9c7 | remove unused code from bootstrap_env.py | bootstrap_env.py | bootstrap_env.py | #!/usr/bin/env python
from __future__ import (absolute_import, division, print_function,
unicode_literals, with_statement)
import os
import subprocess
import sys
def warning(*objs):
print("WARNING: ", *objs, file=sys.stderr)
def fail(message):
sys.exit("Error: {message}".format(mes... | Python | 0.000004 | @@ -334,141 +334,8 @@
)%0A%0A%0A
-PY2 = sys.version_info%5B0%5D == 2%0Aif PY2:%0A from urllib import urlretrieve%0Aelse:%0A from urllib.request import urlretrieve # noqa%0A%0A%0A
def
|
d700f38c9ee51acd230ae0acfd2e1580ec0d978a | Update copyright | docs/source/conf.py | docs/source/conf.py | # -*- coding: utf-8 -*-
#
# Fandjango documentation build configuration file, created by
# sphinx-quickstart on Tue Dec 27 01:33:45 2011.
#
# This file is execfile()d with the current directory set to its containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# A... | Python | 0 | @@ -1535,17 +1535,17 @@
= u'201
-1
+2
, Johann
|
8d74e9c08de12231dd9d6c0f80914c78773caad7 | Store names and IDs of areas in memory | app/broadcast_areas/__init__.py | app/broadcast_areas/__init__.py | import itertools
import geojson
from notifications_utils.serialised_model import SerialisedModelCollection
from werkzeug.utils import cached_property
from .repo import BroadcastAreasRepository
class SortableMixin:
def __repr__(self):
return f'{self.__class__.__name__}(<{self.id}>)'
def __lt__(self... | Python | 0 | @@ -2860,16 +2860,99 @@
s_group)
+%0A self.items = BroadcastAreasRepository().get_all_areas_for_library(self.id)
%0A%0A de
@@ -3053,121 +3053,8 @@
d)%0A%0A
- @property%0A def items(self):%0A return BroadcastAreasRepository().get_all_areas_for_library(self.id)%0A%0A
%0Acla
|
025a247dc5e8dee346b839f8e78ef720d9739da3 | Minor, minor | streams/utils.py | streams/utils.py | # -*- coding: utf-8 -*-
###############################################################################
try:
from cdecimal import Decimal
except ImportError:
from decimal import Decimal
###############################################################################
def filter_keys(item):
if isinstan... | Python | 0.999998 | @@ -1591,20 +1591,21 @@
eturn list(iterable)
+%0A
|
1f7c3d4cebe0b7ff3adaf367070ad65d75238415 | use the system time zone unless overridden in rapidsms.ini | lib/rapidsms/webui/settings.py | lib/rapidsms/webui/settings.py | #!/usr/bin/env python
# vim: ai ts=4 sts=4 et sw=4
import os
DEBUG = True
TEMPLATE_DEBUG = DEBUG
ADMINS = (
# ('Your Name', 'your_email@domain.com'),
)
MANAGERS = ADMINS
# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
# although not a... | Python | 0 | @@ -54,16 +54,22 @@
mport os
+, time
%0A%0A%0ADEBUG
@@ -114,57 +114,9 @@
= (
-%0A # ('Your Name', 'your_email@domain.com'),%0A)%0A
+)
%0AMAN
@@ -135,323 +135,215 @@
NS%0A%0A
+%0A
#
-Local
+default to the system's
time
-
zone
-for
+settings.
this
-installation. Choices can be found here:%0A# http://en... |
e77085cf7cfff6e2f0695dc94d1981d5290ea96d | fix error | openomni/packet.py | openomni/packet.py | import json
import crccheck
class Packet:
PACKET_TYPE_PDM = 0b101
PACKET_TYPE_POD = 0b111
PACKET_TYPE_ACK = 0b010
PACKET_TYPE_CON = 0b100
PACKET_TYPE_STRINGS = {
PACKET_TYPE_PDM: "PDM",
PACKET_TYPE_POD: "POD",
PACKET_TYPE_ACK: "ACK",
PACKET_TYPE_CON: "CON",
}
... | Python | 0.000002 | @@ -2152,14 +2152,8 @@
nce,
- '02',
%0A
|
68c25e5f7c987f06e7a32b356c5298de30036b3d | test search 2 | bot/slack_bot.py | bot/slack_bot.py | #!/usr/bin/env python
import os
import time
import random
from slackclient import SlackClient
from beepboop import resourcer
from beepboop import bot_manager
import urllib, json
#playlists
playlist = {}
playlist["orangestar"] = "PLOXWDQbF5nQtflxUaCjx8w4VhpzPEAwHA"
playlist["pinocchioP"]= "PLSf-HCzj7cOvFosWKZdPJBTX... | Python | 0 | @@ -1275,177 +1275,8 @@
- print('https://www.googleapis.com/youtube/v3/search?part=snippet&maxResults=1&order=Relevance&q='+search_str+'&type=video&key=AIzaSyD7CsWp3uxChY6fpJzBf1fFlj4r7W6Wk9o')%0A
%0A
|
76688d4df989dd206b39d0370964cdc847de0a32 | fix blocks per second calculation | kid_readout/roach/r2heterodyne.py | kid_readout/roach/r2heterodyne.py | """
Classes to interface to ROACH2 hardware for KID readout systems
"""
__author__ = 'gjones'
import time
import socket
import numpy as np
import scipy.signal
import kid_readout.roach.r2_udp_catcher
import tools
from interface import RoachInterface
from heterodyne import RoachHeterodyne
try:
import numexpr
... | Python | 0.000003 | @@ -4148,16 +4148,28 @@
r_second
+_per_channel
(self):%0A
@@ -4358,8 +4358,133 @@
r_block%0A
+%0A @property%0A def blocks_per_second(self):%0A return self.blocks_per_second_per_channel*len(self.readout_selection)
|
ead09031ef5fc5f15f09a7ab29c4a5e84edab7c1 | fix upload problem | fate_client/flow_sdk/client/api/data.py | fate_client/flow_sdk/client/api/data.py | #
# Copyright 2019 The FATE 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 appli... | Python | 0 | @@ -1131,32 +1131,85 @@
ocess(**kwargs)%0A
+ if config_data.get('use_local_data', 1):%0A
file_nam
@@ -1244,16 +1244,20 @@
+
+
if not o
@@ -1273,32 +1273,36 @@
abs(file_name):%0A
+
file
@@ -1371,16 +1371,20 @@
+
+
if os.pa
@@ -1397,32 +1397,36 @@
sts(... |
ccbd8d4c38aa4746bc8a6a18e841039d21f7db2a | fix Sphinx syntax | neuroglancer_scripts/downscaling.py | neuroglancer_scripts/downscaling.py | #! /usr/bin/env python3
#
# Copyright (c) 2016, 2017, 2018 Forschungszentrum Juelich GmbH
# Author: Yann Leprince <y.leprince@fz-juelich.de>
#
# This software is made available under the MIT licence, see LICENCE.txt.
import numpy as np
from neuroglancer_scripts.utils import ceil_div
__all__ = [
"get_downscaler"... | Python | 0.028419 | @@ -6558,18 +6558,25 @@
. todo::
- t
+%0A T
he major
@@ -6625,20 +6625,16 @@
(clever
-%0A
iterati
@@ -6635,16 +6635,23 @@
teration
+%0A
with nd
|
a3f3f37f7a978c1a5b39007c08f956addedc5bd1 | Update Battle_ship.py | Battle_ship.py | Battle_ship.py | """
Created on Code Academy in python lauguage project.
Created by Jason R. Pittman
Created on 3/19/16
Code partially modified from orginial state.
"""
from random import randint
board = []
for x in range(5):
board.append(["O"] * 5)
def print_board(board):
for row in board:
print " ".join(row)
p... | Python | 0 | @@ -548,16 +548,83 @@
(board)%0A
+%22%22%22%0AREMOVE THESE COMMENTS TO REVEAL%0ALOCATION OF SHIP FOR DEBUGGING%0A
print sh
@@ -645,16 +645,19 @@
hip_col%0A
+%22%22%22
%0A#This i
|
67ce5a756169644b7eab0d970f65bba1b722c60a | Fix error | common/call.py | common/call.py | def call(mod,cmd,*args,**kargs):
"""Calls arbitrary python code
Arguments:
mod - The module from which you are calling
cmd - The command in said module
*args - Any arguments you need to give to it
index=0 - A specific index at which to return
end=0 - An end r... | Python | 0.000004 | @@ -474,16 +474,28 @@
m =
+__import__(%22
__builti
@@ -495,19 +495,20 @@
_builtin
-s
__
+%22)
%0A els
|
9543a63b3ae9df6fa184274dd6e7a647bea66eb2 | Stop raising KeyError if VolumeDriver is not a key of Config, also: I've seen it show up in HostConfig as well. | dvol/dockercontainers.py | dvol/dockercontainers.py | import docker
from twisted.python import log
RETRIES = 5
class NeverLocked(Exception):
pass
class AlreadyLocked(Exception):
pass
class Containers(object):
"""
Operations on the set of containers which pertain to dvol. Also maintain
state on which containers we stopped so that we can start them ... | Python | 0 | @@ -4112,17 +4112,21 @@
Config'%5D
-%5B
+.get(
'VolumeD
@@ -4131,17 +4131,115 @@
eDriver'
-%5D
+) == self.volume_driver_name%0A or%0A container%5B'HostConfig'%5D.get('VolumeDriver')
== self
|
0e6b8365d238bcf4c140f2edcf5be919deb424ed | fix for naming conventions of broken, but available SEs | mirror.py | mirror.py |
# from aggregate import *
import sys
import wikiconfig
import logging
from wiki import *
from publisher import *
import re
# import releases
from namingconventions import *
# rx_public_pages = [
# re.compile(r'^:ficontent:(fiware:ge_usage|architecture)$', re.IGNORECASE),
# re.compile(r'^:ficontent:(socialtv|smartc... | Python | 0 | @@ -1563,16 +1563,121 @@
tions()%0A
+%09%09if nc is None:%0A%09%09%09logging.warning('No naming convention available for %25s' %25 se.get_name())%0A%09%09%09continue%0A
%09%09rx = r
|
e7ad09c2db3fd88858173889999695efbb822ff6 | Create IRCChannel class | IRCMessage.py | IRCMessage.py | from enumType import enum
import GlobalVars
TargetTypes = enum('CHANNEL', 'USER')
class UserStruct:
Hostmask = None
Name = None
User = None
def __init__(self, user):
userArray = user.split('!')
self.Name = userArray[0]
if len(userArray) > 1:
userArray = userArray[... | Python | 0 | @@ -88,103 +88,395 @@
ass
-UserStru
+IRCChannel(obje
ct
+)
:%0A
-Hostmask = None%0A
+def __init__(self, name):%0A self.
Name =
-Non
+nam
e%0A
+ self.Topic = %22%22%0A self.TopicSetBy = %22%22%0A self.
User
+s
=
-None%0A%0A def __init__(self, user):%0A
+%7B%7D%0A ... |
16844f9063d84cac85e04cd48bbb4364f909038c | Bump version number | sslyze/__init__.py | sslyze/__init__.py |
__author__ = 'Alban Diquet'
__license__ = 'GPLv2'
__version__ = '0.13.2'
__email__ = 'nabla.c0d3@gmail.com'
PROJECT_URL = 'https://github.com/nabla-c0d3/sslyze'
PROJECT_DESC = 'Fast and full-featured SSL scanner.'
| Python | 0.000002 | @@ -64,17 +64,17 @@
= '0.13.
-2
+3
'%0A__emai
|
048a5660155eae0980838ac65831e5c99d890ef2 | Remove dependency on RunnerContainerService from st2common. | st2common/st2common/util/config_parser.py | st2common/st2common/util/config_parser.py | # Licensed to the StackStorm, Inc ('StackStorm') under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use th... | Python | 0 | @@ -809,63 +809,35 @@
st2
-acti
+comm
on
-s
.cont
-ainer.service import RunnerContainerService
+ent import utils
%0A%0A__
@@ -1211,47 +1211,13 @@
h =
-RunnerContainerService() %5C%0A
+utils
.get
|
ab68b198c412474ef3b47663c567c3bc9dda74fd | Save last updated time for Notifications | models.py | models.py | import logging
from django.conf import settings
from django.db import models
from django.db import transaction
from django.utils.functional import LazyObject
from mercadopago import MP
logger = logging.getLogger(__name__)
class MercadoPagoService(LazyObject):
"""
MercadoPago service (the same one from the S... | Python | 0 | @@ -3155,24 +3155,79 @@
ult=False)%0A%0A
+ last_update = models.DateTimeField(auto_now=True)%0A%0A
class Me
|
429e419f3baa067002f0b6a832fa3fe8fff72288 | Remove senstive data from settings.py. | editorsnotes/settings.py | editorsnotes/settings.py | # Django settings for editorsnotes project.
DEBUG = True
TEMPLATE_DEBUG = DEBUG
ADMINS = (
('Ryan Shaw', 'ryanshaw@ischool.berkeley.edu'),
)
MANAGERS = ADMINS
DATABASE_ENGINE = 'postgresql_psycopg2'
DATABASE_NAME = 'editorsnotes'
DATABASE_USER = 'editorsnotes'
DATABASE_PASSWORD = 'Beev0dir'
DATABASE_HOST = '' #... | Python | 0 | @@ -164,202 +164,8 @@
NS%0A%0A
-DATABASE_ENGINE = 'postgresql_psycopg2'%0ADATABASE_NAME = 'editorsnotes'%0ADATABASE_USER = 'editorsnotes'%0ADATABASE_PASSWORD = 'Beev0dir'%0ADATABASE_HOST = '' # localhost%0ADATABASE_PORT = '' # default%0A%0A
TIME
@@ -787,128 +787,8 @@
/'%0A%0A
-# Make this unique, and don't share it ... |
8366cc48fabe671fbc45003e8d801c137af928f9 | add support for casatools, the pip-wheel-installable CASA library to be released in october 2019 | spectral_cube/io/casa_image.py | spectral_cube/io/casa_image.py | from __future__ import print_function, absolute_import, division
import six
import warnings
from astropy.io import fits
from astropy.wcs import WCS
import numpy as np
from .. import SpectralCube, StokesSpectralCube, BooleanArrayMask, LazyMask
from .. import cube_utils
# Read and write from a CASA image. This has a f... | Python | 0 | @@ -3365,16 +3365,113 @@
try:%0A
+ import casatools%0A ia = casatools.image()%0A except ImportError:%0A try:%0A
@@ -3502,24 +3502,28 @@
ool%0A
+
ia = iatool(
@@ -3524,24 +3524,28 @@
atool()%0A
+
+
except Impor
@@ -3544,32 +3544,36 @@
pt ImportError:%0A
... |
d3799d7660c0d0463be5b12eea4963c53c3ff9ce | generate correct filename | lib/svtplay_dl/fetcher/rtmp.py | lib/svtplay_dl/fetcher/rtmp.py | # ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
from __future__ import absolute_import
import subprocess
import shlex
from svtplay_dl.log import log
from svtplay_dl.fetcher import VideoRetriever
from svtplay_dl.utils.output import output
class RTMP(VideoRetriever):
def na... | Python | 0.999999 | @@ -272,16 +272,28 @@
t output
+, formatname
%0A%0A%0Aclass
@@ -748,27 +748,59 @@
%5B%22-o%22,
-self.output
+formatname(self.output, self.config, %22flv%22)
%5D%0A
@@ -813,22 +813,28 @@
elf.
-options.
+config.get(%22
silent
+%22)
:%0A
|
4084b31a97fd85b81e80e0af5e6007c367c4582f | correct allowed_hosts | bttn/settings.py | bttn/settings.py | """
Django settings for bttn project.
Generated by 'django-admin startproject' using Django 1.8.4.
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 i... | Python | 0.000141 | @@ -822,16 +822,29 @@
OSTS = %5B
+%22127.0.0.1%22,
%22powerfu
@@ -872,12 +872,110 @@
.com
-/
%22%5D%0A
+%0AADMINS = %5B%22ewjoachim@gmail.com%22%5D%0A%0AEMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
%0A%0A#
|
b8f1f1acfa4c6dfdab9ed9ffd957eb72881957c6 | Update predstd.py | statsmodels/sandbox/regression/predstd.py | statsmodels/sandbox/regression/predstd.py | '''Additional functions
prediction standard errors and confidence intervals
A: josef pktd
'''
import numpy as np
from scipy import stats
def atleast_2dcol(x):
''' convert array_like to 2d from 1d or 0d
not tested because not used
'''
x = np.asarray(x)
if (x.ndim == 1):
x = x[:, None]
... | Python | 0 | @@ -1090,16 +1090,17 @@
pha = 0.
+0
5)%0A
|
f0b7c9024fc8c8cdfe084bc52bd23560c60c7c96 | Make modules uninstallable | l10n_ch_hr_payroll/__openerp__.py | l10n_ch_hr_payroll/__openerp__.py | # -*- coding: utf-8 -*-
#
# File: __openerp__.py
# Module: l10n_ch_hr_payroll
#
# Created by sge@open-net.ch
#
# Copyright (c) 2014-TODAY Open-Net Ltd. <http://www.open-net.ch>
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyrig... | Python | 0 | @@ -1819,11 +1819,12 @@
e':
-Tru
+Fals
e%0A%7D%0A
|
721d5e8fb5318bf08946404836dbc8e0a485431a | make the variable name more detailed | monasca_api/cmd/monasca_db.py | monasca_api/cmd/monasca_db.py | # Copyright 2018 SUSE Linux GmbH
#
# 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 writ... | Python | 0.000658 | @@ -1203,25 +1203,34 @@
ion():%0A f
-p
+ingerprint
= Fingerpri
@@ -1262,33 +1262,42 @@
ine())%0A%0A if f
-p
+ingerprint
.revision is Non
@@ -1323,33 +1323,42 @@
P_NOREVISION %25 f
-p
+ingerprint
.sha1)%0A s
@@ -1393,17 +1393,26 @@
print(f
-p
+ingerprint
.revisio
|
40acac51e88bb4ba5f11e252bade1c68b7f0b2ba | Fix bug | corehq/apps/userreports/expressions/extension_expressions.py | corehq/apps/userreports/expressions/extension_expressions.py | from __future__ import absolute_import
from corehq.apps.userreports.expressions import ExpressionFactory
from corehq.apps.userreports.specs import TypeProperty
from dimagi.ext.jsonobject import JsonObject, StringProperty, DictProperty
CUSTOM_UCR_EXPRESSIONS = [
('indexed_case', 'corehq.apps.userreports.expressions... | Python | 0.000001 | @@ -276,16 +276,21 @@
d_case',
+%0A
'corehq
@@ -319,16 +319,38 @@
essions.
+extension_expressions.
indexed_
|
1c36f24517531ec5a17a7ee320633770db359637 | fix global imports | lib/webinterface_unit_tests.py | lib/webinterface_unit_tests.py | ## This file is part of Invenio.
## Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 CERN.
##
## Invenio is free software; you can redistribute it and/or
## modify it under the terms of the GNU General Public License as
## published by the Free Software Foundation; either version 2 of the
## License, or (at your option... | Python | 0 | @@ -860,35 +860,104 @@
$%22%0A%0A
+%0A
import
-unittest%0Aimport cgi%0A
+cgi%0Afrom invenio.config import CFG_SITE_LANG%0Afrom invenio.importutils import lazy_import
%0Afro
@@ -1014,16 +1014,33 @@
st_suite
+, InvenioTestCase
%0A%0A# SLIP
@@ -1314,16 +1314,17 @@
eless.%0A%0A
+%0A
class _F
@@ -2314,21 +2314,44 @@... |
647fa66357255c9d76bbb2de0278809af06d8e6e | remove required for cli | caliban/cli.py | caliban/cli.py | """
CLI utilities.
"""
from argparse import REMAINDER, ONE_OR_MORE
from absl.flags import argparse_flags
# pylint: disable=redefined-builtin
def boolean_arg(parser, flag, default, help=None, **kwargs):
"""Parses booleans closer to the style of Abseil.
"""
parser.add_argument(f"--{flag}",
... | Python | 0.000001 | @@ -2018,23 +2018,8 @@
and%22
-, required=True
)%0A%0A
|
86d2fd8fef263e85d305fef5cc300cd9e3e04a4e | Add date_created to User model | models.py | models.py | import os
import secrets
from urllib.parse import urlparse
import datetime
from peewee import *
from playhouse.postgres_ext import PostgresqlExtDatabase, TSVectorField
def gen_id():
return secrets.token_urlsafe(24)
database = PostgresqlExtDatabase(
os.environ.get('PG_NAME', 'passwords'),
host = os.enviro... | Python | 0.000002 | @@ -967,16 +967,83 @@
lt=True)
+%0A date_created = DateTimeField(default=datetime.datetime.utcnow)
%0A%0Aclass
|
f33c6a9de962d3dd8b26ed0a05ff89175834cded | actions were missing nicknames | models.py | models.py | from django.utils import simplejson as json
from google.appengine.ext import db
from datetime import datetime
from urllib2 import unquote
import logging
from utils import parse_timestamp, get_or_create, prefetch_refprops
import color
class User(db.Model):
server = db.StringProperty(required=True)
nickname = ... | Python | 0.99988 | @@ -3770,32 +3770,146 @@
user.put()%0A%0A
+ if message_type == 'action':%0A message_content = '%25s %25s' %25 (nickname, message_content)%0A%0A
chan
|
f6bdcaa0f826f8724615bd91be70cb23d7e2f001 | Update Model.toForm to validate form before returning | models.py | models.py | #!/usr/bin/env python
"""models.py
Udacity conference server-side Python App Engine data & ProtoRPC models
$Id: models.py,v 1.1 2014/05/24 22:01:10 wesc Exp $
created/forked from conferences.py by wesc on 2014 may 24
"""
__author__ = 'wesc+api@google.com (Wesley Chun)'
import httplib
import endpoints
from protor... | Python | 0 | @@ -2388,22 +2388,22 @@
-return
+form =
Confere
@@ -2926,16 +2926,69 @@
)%0A
+ form.check_initialized()%0A return form%0A
%0A%0Aclass
@@ -5060,38 +5060,38 @@
(self):%0A
-return
+form =
SessionForm(%0A
@@ -5429,16 +5429,70 @@
)%0A
+ form.check_initialized()%0... |
043dcbb88cabf3005246f63cc4f06a857d4d3fb5 | version fix | most_common_words/__init__.py | most_common_words/__init__.py | # coding=utf-8
from .mcw import MostCommonWords
from .nltk_downloader import NLTKDownloader, NLTKDownloaderError, check_nltk_data_installation
from .printer import Printer
from .github import GitHubClient
__version__ = '0.0.9'
__all__ = (
'MostCommonWords',
'Printer',
'NLTKDownloader', 'NLTKDownloaderErr... | Python | 0.000001 | @@ -221,11 +221,11 @@
'0.
-0.9
+1.0
'%0A%0A_
|
9bb97d0545f7283fea55b50263fd980fab5cb824 | Update ThreadPool.py | octoprint_filemanager/ThreadPool.py | octoprint_filemanager/ThreadPool.py | # http://code.activestate.com/recipes/577187-python-thread-pool/
from Queue import Queue
from threading import Thread
class Worker(Thread):
"""Thread executing tasks from a given tasks queue"""
def __init__(self, tasks):
Thread.__init__(self)
self.tasks = tasks
self.daemon = True
... | Python | 0 | @@ -488,17 +488,19 @@
xception
-,
+ as
e: prin
|
4309705d00d3f3f09ddb1d9c2acc76fd9477af4c | Add error code mapping that is consistent with Discord. | curious/exc.py | curious/exc.py | """
Exceptions raised from within the library.
"""
from curious.http.curio_http import Response
class CuriousError(Exception):
"""
The base class for all curious exceptions.
"""
class HTTPException(CuriousError):
"""
Raised when a HTTP request fails with a 400 <= e < 600 error code.
"""
... | Python | 0 | @@ -44,16 +44,29 @@
ry.%0A%22%22%22%0A
+import enum%0A%0A
from cur
@@ -196,24 +196,1253 @@
.%0A %22%22%22%0A%0A%0A
+# HTTP based exceptions.%0Aclass ErrorCode(enum.IntEnum):%0A UNKNOWN_ACCOUNT = 10001%0A UNKNOWN_APPLICATION = 10002%0A UNKNOWN_CHANNEL = 10003%0A UNKNOWN_GUILD = 10004%0A UNKNOWN_INTE... |
49ae3baa0506e244560b3b4e6ab4e07022e106c0 | Change size of instgram embeds | models.py | models.py | from app import app, db
import datetime
import re
from flask import Markup
from werkzeug.security import generate_password_hash, \
check_password_hash
def markdown_filter(data):
from markdown import markdown
from smartypants import smartypants
return smartypants(markdown(data, extensions=['codehilite... | Python | 0 | @@ -1016,11 +1016,11 @@
th=%22
-612
+400
%22 he
@@ -1029,10 +1029,10 @@
ht=%22
-71
+50
0%22 f
|
06d4b5dde3a566f50ec5c2d12358fce842a42ceb | Add files via upload | locations/spiders/olivegarden.py | locations/spiders/olivegarden.py | # -*- coding: utf-8 -*-
import scrapy
import re
from locations.items import GeojsonPointItem
class OliveGardenSpider(scrapy.Spider):
name = "olivegarden"
allowed_domains = ['olivegarden.com']
start_urls = (
'http://www.olivegarden.com/en-locations-sitemap.xml',
)
def address(self, addres... | Python | 0 | @@ -943,21 +943,27 @@
-regex
+locationURL
= re.co
@@ -974,19 +974,27 @@
e(r'http
-%5CS+
+:/(/%7C/www.)
olivegar
@@ -1050,13 +1050,19 @@
rch(
-regex
+locationURL
, pa
|
e6071dd3086a3de569122062d8153e294ae149d7 | Clear c | netcon.py | netcon.py | """Get optimal contraction sequence using netcon algorithm
Reference:
R. N. C. Pfeifer, et al.: Phys. Rev. E 90, 033315 (2014)
"""
__author__ = "Satoshi MORITA <morita@issp.u-tokyo.ac.jp>"
__date__ = "24 March 2016"
import sys
import logging
import time
import config
class HistTensorFrame:
"""Tensor class ... | Python | 0.000018 | @@ -1943,16 +1943,18 @@
for c
+p1
in rang
@@ -1959,39 +1959,15 @@
nge(
-1
+2
,n
-):%0A cp1 = c
+1
+):
%0A
|
b7b78e1760cc78fb2dfb28fb723146394cb8a96d | Add 'Order Reference' in SO report | addons/sale/report/sale_report.py | addons/sale/report/sale_report.py | # -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from openerp import tools
from openerp.osv import fields, osv
class sale_report(osv.osv):
_name = "sale.report"
_description = "Sales Orders Statistics"
_auto = False
_rec_name = 'date'
_columns = {... | Python | 0.000001 | @@ -314,16 +314,79 @@
mns = %7B%0A
+ 'name': fields.char('Order Reference', readonly=True),%0A
@@ -3216,16 +3216,52 @@
as nbr,%0A
+ s.name as name,%0A
@@ -5356,32 +5356,60 @@
t.categ_id,%0A
+ s.name,%0A
|
d30f7780268916533f196a9e55ae770b55d54f29 | Make message.response keep source/dest info | mycroft/messagebus/message.py | mycroft/messagebus/message.py | # Copyright 2017 Mycroft AI 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 writin... | Python | 0 | @@ -5195,18 +5195,15 @@
e =
-self.reply
+Message
(sel
@@ -5216,79 +5216,95 @@
type
-, data or %7B%7D, context)%0A response_message.msg_type += '.response'
+ + '.response', data or %7B%7D,%0A context or self.context)
%0A
|
cb1626fca0e5746685a63e55da0d0950febdd45c | Version bump | po2strings/__init__.py | po2strings/__init__.py | # -*- coding: utf-8 -*-
"""
po2strings
----------
This utility helps you to localise your Apple or Android applications.
:copyright: (c) 2016 Qurami srl.
:license: MIT, see LICENSE for more details.
"""
VERSION = '0.3.2'
__version__ = VERSION
| Python | 0.000001 | @@ -234,17 +234,17 @@
= '0.3.
-2
+3
'%0A__vers
|
77f7a9417a0e0b1b7441076cae97e966a1493a1b | Remove @login_required decorator from AJAX view | pontoon/teams/views.py | pontoon/teams/views.py | import json
import logging
from django.contrib.auth.decorators import login_required
from django.contrib.auth.models import User
from django.conf import settings
from django.core.exceptions import ImproperlyConfigured
from django.core.mail import EmailMessage
from django.db import transaction
from django.db.models imp... | Python | 0 | @@ -2065,66 +2065,8 @@
)%0A%0A%0A
-@login_required(redirect_field_name='', login_url='/403')%0A
@per
|
7e7d60e01a677207bb9dddbfdcbcff5f7d23f657 | We need the country code in the locale name | porch/views/account.py | porch/views/account.py | # -*- coding: utf-8 -*-
'''
:codeauthor: :email:`Pedro Algarvio (pedro@algarvio.me)`
:copyright: © 2013 by the SaltStack Team, see AUTHORS for more details.
:license: Apache 2.0, see LICENSE for more details.
porch.views.account
~~~~~~~~~~~~~~~~~~~
Account related views
'''
# Import Python l... | Python | 0.999996 | @@ -2145,18 +2145,14 @@
(
-l.language
+str(l)
, l.
|
bc53f9cfeac8b2a477afcf7c0c4a1dfaf58bf925 | Fix attribution non-collapse on trailing whitespace | port_dashboard/scan.py | port_dashboard/scan.py | #!/usr/bin/python3
import os
import re
import sys
import os.path
import subprocess
import pprint
pp = pprint.PrettyPrinter(indent=4)
def unifdef(program_path, args, file_path):
full_args = [program_path] + args + [file_path]
#print(full_args)
p = subprocess.Popen(full_args, shell=True, stdout=subprocess... | Python | 0.998099 | @@ -3338,16 +3338,25 @@
group(1)
+.rstrip()
%0A
|
bc64f48cb466073fede347cbabffe926422192e5 | remove unnecessary code | lib/nodes.py | lib/nodes.py | from collections import Counter, defaultdict
from datetime import datetime
from functools import reduce
def build_mac_table(nodes):
macs = dict()
for node_id, node in nodes.items():
try:
for mac in node['nodeinfo']['network']['mesh_interfaces']:
macs[mac] = node_id
... | Python | 0.00242 | @@ -2101,45 +2101,8 @@
ss%0A%0A
- node%5B'flags'%5D%5B'uplink'%5D = False%0A%0A
%0Adef
|
5969feccb2eb49be07b4331ed29a6c6811ea6e10 | Refactor spacing | neuralstyle/transformernet.py | neuralstyle/transformernet.py | from __future__ import print_function
import numpy as np
import torch
import torch.nn as nn
class TransformerNet(torch.nn.Module):
def __init__(self):
super(TransformerNet, self).__init__()
# Initial convolution layers
self.conv1 = ConvLayer(3, 32, 9, 1)
self.in1 = InstanceNormal... | Python | 0.000001 | @@ -2998,32 +2998,33 @@
rboard/%0A %22%22%22%0A
+%0A
def __init__
@@ -3871,16 +3871,17 @@
%22%22%22%0A
+%0A
def
|
f8ee0cb134ed547ddf3d8078844d034d04e10f44 | Fix broken doctests and missing import. | nipy/core/image/image_list.py | nipy/core/image/image_list.py | from copy import copy
from numpy import asarray
from nipy.core.image.image import Image
class ImageList(object):
''' Class to contain ND image as list of (N-1)D images '''
def __init__(self, images=None):
"""
A lightweight implementation of a list of images.
Parameters
... | Python | 0 | @@ -20,33 +20,26 @@
py%0A%0A
-from
+import
numpy
-import asarray
+as np
%0A%0Afr
@@ -526,33 +526,26 @@
%3E%3E%3E
-from
+import
numpy
-import asarray
+as np
%0A
@@ -1114,32 +1114,35 @@
lse%0A %3E%3E%3E
+np.
asarray(sublist)
@@ -1161,20 +1161,20 @@
(3, 2
-0
, 2
+0
, 20)%0A
@@ -1175,32 +117... |
c434a5f4c4ca55ba8fbea81637dfe4db610bd5d1 | backup view actions | nodeconductor/backup/views.py | nodeconductor/backup/views.py | from django.shortcuts import get_object_or_404
from rest_framework import permissions as rf_permissions
from rest_framework import views
from rest_framework.response import Response
from nodeconductor.core import viewsets
from nodeconductor.backup import models
from nodeconductor.backup import serializers
from nodeco... | Python | 0.000001 | @@ -121,66 +121,78 @@
work
- import views%0Afrom rest_framework.response import Response
+.response import Response%0Afrom rest_framework.decorators import action
%0A%0Afr
@@ -1126,23 +1126,39 @@
def
-get_object(self
+post_save(self, backup, created
):%0A
@@ -1180,20 +1180,22 @@
-When
+Starts
backup
is ... |
59d3c7657c1f49ee0580ab8aee8ce746e66e134e | Update RRDs of offline nodes, ignore key errors | lib/rrddb.py | lib/rrddb.py | #!/usr/bin/env python3
import time
import os
from lib.GlobalRRD import GlobalRRD
from lib.NodeRRD import NodeRRD
class RRD(object):
def __init__(self,
database_directory,
image_path,
display_time_global="7d",
displayTimeGlobal30d = "30d",
... | Python | 0 | @@ -1074,24 +1074,45 @@
e in nodes:%0A
+ try:%0A
@@ -1147,32 +1147,36 @@
+
node_count += 1%0A
@@ -1175,16 +1175,20 @@
nt += 1%0A
+
@@ -1371,16 +1371,66 @@
pdate()%0A
+ except KeyError:%0A pass%0A
|
209c0d0201b76a0f2db7d8b507b2eaa2df03fcae | Replace custom GRW dist with scipy gengamma. Implement file fitting function. | lib/stats.py | lib/stats.py | """
Statistics.
"""
from numpy import exp
from scipy.stats import rv_continuous
from scipy.special import gamma
class grw_gen(rv_continuous):
"""
Generalized Reverse Weibull distribution.
PDF:
a/gamma(g) * x^(a*g-1) * exp(-x^a)
for x,a,g >= 0
"""
def _pdf(self,x,a,g):
... | Python | 0 | @@ -19,28 +19,25 @@
%22%0A%0A%0A
-from
+import
numpy
-import ex
+as n
p%0Afr
@@ -62,425 +62,1290 @@
ort
-rv_continuous%0Afrom scipy.special import gamma%0A%0A%0Aclass grw_gen(rv_continuous):%0A %22%22%22%0A Generalized Reverse Weibull distribution.%0A%0A PDF:%0A %0A a/gamma(g) * x%5E(a*g-1... |
e0367ccff78768d8e0cb0f2274bafe6871d6d392 | Fix filters | resolwe_bio/filters.py | resolwe_bio/filters.py | """.. Ignore pydocstyle D400.
===================
Resolwe Bio Filters
===================
"""
from __future__ import absolute_import, division, print_function, unicode_literals
import rest_framework_filters as filters
from resolwe.flow.filters import CollectionFilter, DataFilter
from resolwe_bio.models import Sampl... | Python | 0.000002 | @@ -719,32 +719,47 @@
delChoiceFilter(
+name='entity',
queryset=Sample.
@@ -1142,16 +1142,31 @@
eFilter(
+name='entity',
queryset
|
8fb22f46faad6768cadb30672e85992aee469bbd | Convert moisture sensor from RC type to Vegetronix VH400 | common/zone.py | common/zone.py | #!/usr/bin/env python
from common.relay import Relay
from common.rc_sensor_cli import RcSensor
from common.temp_sensor import TempSensor
import ConfigParser
import time
import os
import cPickle as Pickle
# Config file
path = os.path.dirname(__file__)
config_file = os.path.join(path, '../garden_pi.cfg')
conf_parser = ... | Python | 0.999998 | @@ -63,29 +63,31 @@
mon.
-rc
+moisture
_sensor
-_cli
import
RcSe
@@ -82,18 +82,29 @@
import
-Rc
+VH400Moisture
Sensor%0Af
@@ -630,20 +630,19 @@
_sensor_
-g
pi
-o
+n
=None, r
@@ -866,20 +866,19 @@
_sensor_
-g
pi
-o
+n
in %5BNon
@@ -977,20 +977,19 @@
_sensor_
-g
pi
-o
+n
= moist
@@ -999,20 +999,19 @@... |
70590907cb6be5b42efa3f900062ac008dc7ad3c | Remove obsolete code. | oneflow/core/models/nonrel.py | oneflow/core/models/nonrel.py | # -*- coding: utf-8 -*-
import datetime
import logging
import simplejson as json
from celery import task
from mongoengine import Document
from mongoengine.fields import (IntField, FloatField, BooleanField,
DateTimeField,
ListField, StringField,
... | Python | 0.000119 | @@ -52,34 +52,8 @@
ging
-%0Aimport simplejson as json
%0A%0Afr
@@ -6078,827 +6078,8 @@
ce')
-%0A gr_import = ReferenceField('GoogleReaderImport')%0A%0A def gr_import_begin(self, gr_data):%0A LOGGER.info('GR import begin%E2%80%A6')%0A%0A self.gr_import = GoogleReaderImport(%0A start_t... |
313aafc11f76888614e2a0523e9e858e71765eaa | Add some more tests for wc module. | tests/test_wc.py | tests/test_wc.py | # Copyright (C) 2005-2007 Jelmer Vernooij <jelmer@samba.org>
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
# This p... | Python | 0 | @@ -766,18 +766,18 @@
%0Aimport
-ra
+wc
%0A%0Aclass
@@ -871,20 +871,515 @@
len(
-ra.version()))%0A
+wc.version()))%0A%0Aclass WorkingCopyTests(TestCase):%0A def test_get_adm_dir(self):%0A self.assertEquals(%22.svn%22, wc.get_adm_dir())%0A%0A def test_is_normal_prop(self):%0A self.assertTrue(wc.... |
f1ed4f42355cb61c4f265a3212f6732fcce4f9d3 | improve formatting | tests_backend.py | tests_backend.py | #!/usr/bin/env python
# this line must precede ckan import
import config
import sys, os, json, ckan, urllib2
from datetime import date, datetime
from iatidataquality import models, db, dqprocessing, dqparsetests, \
dqfunctions, queue
from iatidataquality.dqprocessing import add_hardcoded_result
from lxml import et... | Python | 0.854453 | @@ -564,16 +564,35 @@
, data,
+%0A
test_fun
@@ -770,32 +770,41 @@
on.query.filter(
+%0A
models.TestCondi
@@ -1222,17 +1222,19 @@
e_result
-=
+ =
2%0A%0A
|
f2534c336cb6a97ac62d10f7777e33fa8687ceb0 | Exit with error code in case of test failure | testsuite/run.py | testsuite/run.py | #! /usr/bin/env python2
import argparse
import difflib
import os
import os.path
import subprocess
ROOT_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
TESTS_DIR = os.path.join(ROOT_DIR, 'testsuite', 'tests')
def run_program(*argv):
p = subprocess.Popen(
argv,
stdout=subproc... | Python | 0 | @@ -92,16 +92,27 @@
process%0A
+import sys%0A
%0A%0AROOT_D
@@ -4610,24 +4610,55 @@
main(args):%0A
+ at_least_one_error = False%0A
for tc i
@@ -4896,32 +4896,70 @@
if error:%0A
+ at_least_one_error = True%0A
prin
@@ -5088,16 +5088,62 @@
.name))%0A
+ if at_least_one_error:%0A... |
b367414ec8e357843cae6c9aac0c13378cfcf6e1 | Drop Context repr | texas/context.py | texas/context.py | import collections.abc
import functools
from .path import PathDict
from .traversal import DEFAULT_SEPARATOR
from . import util
MISSING = object()
class Context:
"""
Namespaced dicts.
Create views that include multiple dicts to fall back when getting keys.
By default, uses PathDict for easily lookin... | Python | 0.000001 | @@ -2471,116 +2471,8 @@
s)%0A%0A
- def __repr__(self): # pragma: no cover%0A return %22Context(contexts=%22 + repr(self.contexts) + %22)%22%0A%0A
%0Acla
|
e961785dd55c46864bb8db5d79b7bb20605561b3 | Make events items more height | alignak_app/dock/events_widget.py | alignak_app/dock/events_widget.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2015-2017:
# Matthieu Estrada, ttamalfor@gmail.com
#
# This file is part of (AlignakApp).
#
# (AlignakApp) is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Sof... | Python | 0.001356 | @@ -1667,10 +1667,10 @@
(),
-3
5
+0
))%0A%0A
|
1a7764c3b26010034f2ba809ba23640f82a880cd | remove unused arg and clean up | thejoker/plot.py | thejoker/plot.py | # Third-party
from astropy.time import Time
import astropy.units as u
import matplotlib.pyplot as plt
import numpy as np
from twobody import KeplerOrbit
__all__ = ['plot_rv_curves']
def plot_rv_curves(samples, t_grid, n_plot=None, rv_unit=None, data=None,
ax=None, plot_kwargs=dict(), data_plot_kwa... | Python | 0.000001 | @@ -363,21 +363,8 @@
True
-, trend_t0=0.
):%0A
@@ -1387,41 +1387,8 @@
not.
-%0A trend_t0 : numeric, optional
%0A%0A
@@ -2173,535 +2173,110 @@
or i
- in range(n_plot):%0A this_samples = dict()%0A for k in samples.keys():%0A this_samples%5Bk%5D = samples%5Bk%5D%5Bi%5D%0A this_sa... |
809077fcb7a98c2a9978b5490abae1f3c831daae | Fix pickle protocol version | amqpy/tests/test_basic_message.py | amqpy/tests/test_basic_message.py | from __future__ import absolute_import, division, print_function, unicode_literals
__metaclass__ = type
from datetime import datetime
from decimal import Decimal
import pickle
from .. import Message
class TestBasicMessage:
def check_proplist(self, msg):
"""Check roundtrip processing of a single object
... | Python | 0.00007 | @@ -1310,16 +1310,20 @@
umps(msg
+, -1
))%0A
|
304d95cf48c256cbf5bb27d68193db4f01afb9e8 | list only real bpf objects | tools/bpflist.py | tools/bpflist.py | #!/usr/bin/python
#
# bpflist Display processes currently using BPF programs and maps,
# pinned BPF programs and maps, and enabled probes.
#
# USAGE: bpflist [-v]
#
# Idea by Brendan Gregg.
#
# Copyright 2017, Sasha Goldshtein
# Licensed under the Apache License, Version 2.0
#
# 09-Mar-2017 Sasha Goldshte... | Python | 0.999945 | @@ -1937,18 +1937,30 @@
ch('
-.*
+anon_inode:
bpf-(
+%5B
%5C%5Cw
+-%5D
+)',
|
c99bfaf3d09b1926603a7fef52187e89572a606c | fix cibuild for brave_electron_version auditors: @bbondy | tools/cibuild.py | tools/cibuild.py | #!/usr/bin/env python
import os
import subprocess
import sys
import os.path
UPSTREAM_ELECTRON = '1.4.0'
SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
TARGET_ARCH= os.environ['TARGET_ARCH'] if os.environ.has_key('TARGET_ARCH') else 'x64'
os.environ['npm_config_arch'] = TARGET_ARCH
def exec... | Python | 0.000001 | @@ -71,16 +71,79 @@
s.path%0A%0A
+BRAVE_ELECTRON = process.env.npm_config_brave_electron_version%0A
UPSTREAM
@@ -722,16 +722,52 @@
%25s%5Cn' %5C%0A
+ 'brave_electron_version = %25s%5Cn' %5C%0A
'distu
@@ -843,16 +843,32 @@
GET_ARCH
+, BRAVE_ELECTRON
)%0A f =
|
72757339df13851b45ac5f176a7ed2f1650b7ef5 | change release_connection | tormysql/pool.py | tormysql/pool.py | # -*- coding: utf-8 -*-
# 14-8-8
# create by: snower
import time
import logging
from collections import deque
from tornado.concurrent import Future
from tornado.ioloop import IOLoop
from .client import Client
class ConnectionPoolClosedError(Exception):
pass
class ConnectionNotFoundError(Exception):
pass
c... | Python | 0.000001 | @@ -4275,32 +4275,62 @@
+IOLoop.current().add_callback(
wait_future.set_
@@ -4327,33 +4327,34 @@
uture.set_result
-(
+,
connection)%0A
@@ -7424,28 +7424,29 @@
_check_idle_callback = False
+%0A
|
1948ca6d871032fdee163e5f0e26fe948a8b9871 | Check whether the author of a timeline event is set before using it. Should fix #1516. | trac/Timeline.py | trac/Timeline.py | # -*- coding: iso8859-1 -*-
#
# Copyright (C) 2003, 2004, 2005 Edgewall Software
# Copyright (C) 2003, 2004, 2005 Jonas Borgstrm <jonas@edgewall.com>
#
# Trac is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; ei... | Python | 0.999968 | @@ -4693,28 +4693,77 @@
tle,
- 'author': author,%0A
+%0A 'author': author or 'anonymous', 'href': href,%0A
@@ -4782,26 +4782,13 @@
-'href': href, 'tim
+ 'dat
e':
@@ -4807,12 +4807,9 @@
e('%25
-H:%25M
+x
', t
@@ -4825,35 +4825,35 @@
'
-dat
+tim
e': time.strftim
@@ -... |
52cf2cc138a58c472092b677fc0fd2210f83fa4f | 'eval', not 'valid' | train_convnet.py | train_convnet.py | import numpy as np
import theano
import theano.tensor as T
import nntools as nn
from nntools.theano_extensions import conv
import h5py
# DATASET_PATH = "/home/sedielem/data/urbansound8k/spectrograms.h5"
DATASET_PATH = "data/spectrograms.h5"
NUM_CLASSES = 10
CHUNK_SIZE = 4096
NUM_CHUNKS = 1000
NUM_TIMESTEPS_AUG = 11... | Python | 0.999995 | @@ -4531,21 +4531,20 @@
= iter_
+e
val
-id
(b)%0A
@@ -4686,11 +4686,10 @@
oss_
+e
val
-id
%0A%0A
|
5b557fe66fab24b6daf2300d7681a7d274301bbb | add models.py | project/core/models.py | project/core/models.py | # -*- coding: utf-8 -*-
# core.models
from google.appengine.ext import db
# Create your models here.
class Article(db.Model):
title = db.StringProperty()
updated_at = db.DateTimeProperty(auto_now=True)
created_at = db.DateTimeProperty(auto_now_add=True)
def __unicode__(self):
return self.ti... | Python | 0.000001 | @@ -317,8 +317,534 @@
f.title%0A
+%0Aclass ShortURL(db.Model):%0A long_url = db.StringProperty(verbose_name='long URL', required=True)%0A fallback_url = db.StringProperty(verbose_name='Fallback URL')%0A ipad_url = db.StringProperty(verbose_name='iPad URL')%0A android_url = db.StringProperty(verbose_name='A... |
640f807e6c029c3384d2ba736c997ff0c30125fd | return None when there are no service | tsrc/cli/push.py | tsrc/cli/push.py | """ Common code for push to GitHub or GitLab """
import abc
import argparse
import importlib
import re
from typing import cast, Iterable, Optional
from urllib.parse import urlparse
import attr
from path import Path
import cli_ui as ui
import tsrc
import tsrc.git
import tsrc.cli
def service_from_url(url: str, works... | Python | 0 | @@ -43,16 +43,44 @@
ab %22%22%22%0A%0A
+from typing import Optional%0A
import a
@@ -362,27 +362,37 @@
rkspace) -%3E
+Optional%5B
str
+%5D
:%0A if url
@@ -915,13 +915,12 @@
urn
-%22git%22
+None
%0A%0A%0Ad
@@ -1617,27 +1617,37 @@
() # type:
+Optional%5B
str
+%5D
%0A trackin
@@ -2489,33 +2489,27 @@
(u... |
35fe01413e1e8868776704c8b3492877f3df63e6 | add head sord | tsutil/sorted.py | tsutil/sorted.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Author: Turbidsoul Chen
# @Date: 2014-07-30 10:07:05
# @Last Modified by: Turbidsoul Chen
# @Last Modified time: 2014-07-30 10:14:44
def quick_sorted(lst, func=lambda a, b: cmp(a, b), reversed=False):
if len(lst) <= 1:
return lst
pivot = lst[0]
... | Python | 0.004853 | @@ -169,21 +169,21 @@
14-0
-7-30 10:14:44
+8-07 17:51:57
%0A%0A%0A%0A
@@ -638,32 +638,32 @@
::-1%5D%0A else:%0A
-
return b
@@ -686,8 +686,803 @@
+ after%0A
+%0A%0Adef head_sort(lst, func=lambda a, b: cmp(a, b), reversed=False):%0A def make_maxhead(lst, start, end):%0A root = start%0A wh... |
4858f9bc40495f200584106445f3f1435080594b | Fix events RPC serialization | tupelo/events.py | tupelo/events.py | #!/usr/bin/env python
# vim: set sts=4 sw=4 et:
from typing import Optional
from enum import IntEnum
from .rpc import RPCSerializable, rpc_encode, rpc_decode
class EventType(IntEnum):
NONE = 0
CARD_PLAYED = 1
MESSAGE = 2
TRICK_PLAYED = 3
TURN = 4
STATE_CHANGED = 5
class Event(RPCSerializable... | Python | 0.000009 | @@ -285,16 +285,68 @@
ED = 5%0A%0A
+ def rpc_encode(self):%0A return int(self)%0A%0A
%0Aclass E
|
53e46daf96d903b94d43d0911c637a3bc388d630 | Change minimum length of query on dm+d simple search to 3 | openprescribing/dmd2/forms.py | openprescribing/dmd2/forms.py | from django import forms
from crispy_forms.helper import FormHelper
from crispy_forms.layout import Layout, Field, ButtonHolder, Submit
from crispy_forms.bootstrap import InlineCheckboxes
obj_types_choices = [
("vtm", "VTMs"),
("vmp", "VMPs"),
("amp", "AMPs"),
("vmpp", "VMPPs"),
("ampp", "AMPPs")... | Python | 0.000109 | @@ -582,9 +582,9 @@
gth=
-6
+3
)%0A
|
3491c377d281b9fe45bb764e8604e13a800a25b7 | edit expected values for unit tests to reflect changes in test data | meerkat_nest/test/test_upload.py | meerkat_nest/test/test_upload.py | """
Meerkat Nest Upload Test
Unit tests Meerkat Nest Upload functionality
"""
import meerkat_nest
import copy
import meerkat_nest.util
from meerkat_nest import app
from meerkat_nest.test.test_data.upload_payload import upload_payload, processed_upload_payload
from meerkat_nest import message_service
from unittest imp... | Python | 0 | @@ -911,18 +911,12 @@
dem_
-evaluation
+test
'%0A
|
d49262b0329df8c4ebb53f3c4c4161d2269348a6 | remove unused imports | meinberlin/apps/contrib/views.py | meinberlin/apps/contrib/views.py | from django.http import Http404
from django.shortcuts import get_object_or_404
from django.shortcuts import redirect
from django.views import generic
class ComponentLibraryView(generic.base.TemplateView):
template_name = 'meinberlin_contrib/component_library.html'
class CanonicalURLDetailView(generic.DetailView... | Python | 0.000001 | @@ -1,83 +1,4 @@
-from django.http import Http404%0Afrom django.shortcuts import get_object_or_404%0A
from
|
06592d23cdba672aaf90f2ef46a790cafa6e75fc | fix mock time | test/functional/feature_llmqsimplepose.py | test/functional/feature_llmqsimplepose.py | #!/usr/bin/env python3
# Copyright (c) 2015-2020 The Dash Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
import time
from test_framework.test_framework import DashTestFramework
from test_framework.util import con... | Python | 0.999834 | @@ -3532,23 +3532,17 @@
heduler(
-60 * 60
+5
)%0A
@@ -3566,25 +3566,25 @@
mp_mocktime(
-6
+9
0 * 60)%0A
|
b6127b118744c3608e8e2dced9393b0cde63d7dd | Add a note about how check for True. | opensdraw/examples/picture.py | opensdraw/examples/picture.py | #!/usr/bin/env python
#
# Using Python functions in OpenSDraw example. This requires PIL
# (or Pillow) to work.
#
# Hazen 03/15
#
import numbers
import os
from PIL import Image
# These OpenSDraw modules have some classes that we will use.
import opensdraw.lcad_language.functions as functions
import opensdraw.lcad_lan... | Python | 0 | @@ -3181,16 +3181,83 @@
icture.%0A
+ # (Note: To check for True use 'x is interpreter.lcad_t').%0A
|
6074202fdc8fa0e707c21edf78dd6c78cfce668a | Fix static file locations in setup.py | Agents/PlatformManagerAgent/setup.py | Agents/PlatformManagerAgent/setup.py | # -*- coding: utf-8 -*- {{{
# vim: set fenc=utf-8 ft=python sw=4 ts=4 sts=4 et:
# Copyright (c) 2013, Battelle Memorial Institute
# 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. Redistri... | Python | 0.000001 | @@ -3219,18 +3219,38 @@
oot/
-vendor/*.*
+css/*.css', , 'webroot/js/*.js
'%5D%0A
|
ec7a93e0180790a748ccb5f36c47a9dab22f47f4 | difference tests | test/intervaltree_methods/setlike_test.py | test/intervaltree_methods/setlike_test.py | """
intervaltree: A mutable, self-balancing interval tree for Python 2 and 3.
Queries may be by point, by range overlap, or by range envelopment.
Test module: IntervalTree, Special methods
Copyright 2013-2015 Chaim-Leib Halbert
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file... | Python | 0.999874 | @@ -852,16 +852,60 @@
pytest%0A
+from test.intervaltrees import trees, sdata%0A
try:%0A
@@ -3174,16 +3174,1495 @@
1)%5D)%0A%0A%0A
+def test_difference():%0A minuend = trees%5B'ivs1'%5D()%0A assert isinstance(minuend, IntervalTree)%0A subtrahend = minuend.copy()%0A expected_difference = IntervalTree(... |
6cdcd7564f40fb28c048cfa589ccda08caef28b7 | Fix bitmap enum issue | pc_client/sakuyaclient/tilda_driver.py | pc_client/sakuyaclient/tilda_driver.py | from enum import Enum
import glob
import logging
import serial
from serial.serialutil import SerialException
import time
class NotificationTypes(Enum):
"""
Used to identify a TiLDA notification type.
"""
TICKET = 0
BUILD = 1
CALENDAR = 2
EMAIL = 3
class Bitmaps(Enum):
"""
Used t... | Python | 0.000003 | @@ -661,126 +661,8 @@
2%0A%0A%0A
-class Bitmaps(Enum):%0A %22%22%22%0A Used to identify a bitmap for the GLCD.%0A %22%22%22%0A%0A SAKUYA_1 = 0%0A SAKUYA_2 = 1%0A%0A%0A
clas
|
30726ed0ed50af7deb50ddce569968d937f96fa3 | Implement TagForm clean_slug method. | organizer/forms.py | organizer/forms.py | from django import forms
from .models import Tag
class TagForm(forms.Form):
name = forms.CharField(max_length=31)
slug = forms.SlugField(
max_length=31,
help_text='A label for URL config')
def clean_name(self):
return self.cleaned_data['name'].lower()
def save(self):
... | Python | 0 | @@ -17,16 +17,67 @@
rt forms
+%0Afrom django.core.exceptions import ValidationError
%0A%0Afrom .
@@ -337,16 +337,248 @@
ower()%0A%0A
+ def clean_slug(self):%0A new_slug = (%0A self.cleaned_data%5B'slug'%5D.lower())%0A if new_slug == 'create':%0A raise ValidationError(%0A ... |
8b590862195f9b9b7f38bab7b17e4f8bed81105c | Fix test. | twistedcaldav/directory/test/test_guidchange.py | twistedcaldav/directory/test/test_guidchange.py | ##
# Copyright (c) 2005-2010 Apple Inc. 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 applicable l... | Python | 0.99977 | @@ -1095,16 +1095,30 @@
xmlFile
+, augmentsFile
%0A%0Aimport
@@ -1142,16 +1142,60 @@
st.util%0A
+from twistedcaldav.directory import augment%0A
%0A%0Aclass
@@ -1655,16 +1655,101 @@
lFile%7D)%0A
+ augment.AugmentService = augment.AugmentXMLDB(xmlFiles=(augmentsFile.path,))%0A
|
3882d21339f5f7f34d13371425293d76668d241d | fix template_dirs | minesweeper/settings/__init__.py | minesweeper/settings/__init__.py | # Django settings for minesweeper project
from .local import *
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
import os
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
# here() gives us file paths from the root of the system to the directory
# holding the current file.
here = lambda * x... | Python | 0.000001 | @@ -400,16 +400,19 @@
here(%22..
+/..
%22)%0A# roo
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.