hash stringlengths 40 40 | diff stringlengths 131 26.7k | message stringlengths 7 694 | project stringlengths 5 67 | split stringclasses 1
value | diff_languages stringlengths 2 24 |
|---|---|---|---|---|---|
0bef6227e013a1d610a1b7de16e43efc6142fdaa | diff --git a/src/Guzzle/Plugin/OAuth2Plugin.php b/src/Guzzle/Plugin/OAuth2Plugin.php
index <HASH>..<HASH> 100644
--- a/src/Guzzle/Plugin/OAuth2Plugin.php
+++ b/src/Guzzle/Plugin/OAuth2Plugin.php
@@ -23,9 +23,11 @@ class OAuth2Plugin extends \CommerceGuys\Guzzle\Plugin\Oauth2\Oauth2Plugin
*/
public function setCach... | possibility to override the access token cache file | Double-Opt-in_php-client-api | train | php |
c64a8cd25199c58d685a908255c78c9bd10adba8 | diff --git a/eZ/Publish/Core/FieldType/Page/Type.php b/eZ/Publish/Core/FieldType/Page/Type.php
index <HASH>..<HASH> 100644
--- a/eZ/Publish/Core/FieldType/Page/Type.php
+++ b/eZ/Publish/Core/FieldType/Page/Type.php
@@ -68,10 +68,10 @@ class Type extends FieldType
switch ( $name )
{
... | EZP-<I>: fixed method called and improved validation error message | ezsystems_ezpublish-kernel | train | php |
e5987a20ca9f5752b2b246c815f741040b194cb1 | diff --git a/test-utils/src/main/java/apoc/util/TestContainerUtil.java b/test-utils/src/main/java/apoc/util/TestContainerUtil.java
index <HASH>..<HASH> 100644
--- a/test-utils/src/main/java/apoc/util/TestContainerUtil.java
+++ b/test-utils/src/main/java/apoc/util/TestContainerUtil.java
@@ -72,6 +72,7 @@ public class Te... | Fixes #<I>: improve neo4j testcontainers performance | neo4j-contrib_neo4j-apoc-procedures | train | java |
7e444a9ba8e81a4fd6382b36ca680ea8b72c8eca | diff --git a/src/main/org/codehaus/groovy/control/SourceUnit.java b/src/main/org/codehaus/groovy/control/SourceUnit.java
index <HASH>..<HASH> 100644
--- a/src/main/org/codehaus/groovy/control/SourceUnit.java
+++ b/src/main/org/codehaus/groovy/control/SourceUnit.java
@@ -296,7 +296,7 @@ public class SourceUnit extends P... | Fixed a typo in SourceUnit javadoc (closes #<I>) | apache_groovy | train | java |
e7ac5e7f523548286a412dd2588bc17d4e8e11eb | diff --git a/test/writetime.js b/test/writetime.js
index <HASH>..<HASH> 100644
--- a/test/writetime.js
+++ b/test/writetime.js
@@ -5,6 +5,9 @@ var _ = require('underscore');
var util = require('util');
var test_utils = require('./test-utils');
+var types = TestClient.types;
+var encodings = TestClient.encodings;
+
... | test: update writetime test to the new encoding API | demmer_node-cassandra-native-driver | train | js |
67c61731e621ef6829773a5d90fb24ffc6933544 | diff --git a/ext/zookeeper_base.rb b/ext/zookeeper_base.rb
index <HASH>..<HASH> 100644
--- a/ext/zookeeper_base.rb
+++ b/ext/zookeeper_base.rb
@@ -27,7 +27,7 @@ class ZookeeperBase
ZOO_LOG_LEVEL_DEBUG = 4
def_delegators :czk,
- :get_children, :exists, :delete, :get, :set, :set_acl, :get_acl, :client_id, :s... | not sure this is necessary, but... | zk-ruby_zookeeper | train | rb |
6fb3586c070d442b8f5341cdfceac40937e49384 | diff --git a/lib/octokit/request.rb b/lib/octokit/request.rb
index <HASH>..<HASH> 100644
--- a/lib/octokit/request.rb
+++ b/lib/octokit/request.rb
@@ -23,13 +23,13 @@ module Octokit
end
def ratelimit
- resp = get("/", {}, api_version, false, true)
- return resp.headers["X-RateLimit-Limit"].to_i
+ ... | My attempt at using head instead of get. | octokit_octokit.rb | train | rb |
9af452aee53dd300535dadd108ce3e60c5f11a2e | diff --git a/airflow/providers/sftp/hooks/sftp.py b/airflow/providers/sftp/hooks/sftp.py
index <HASH>..<HASH> 100644
--- a/airflow/providers/sftp/hooks/sftp.py
+++ b/airflow/providers/sftp/hooks/sftp.py
@@ -21,6 +21,8 @@ import stat
from typing import Dict, List, Optional, Tuple
import pysftp
+import tenacity
+from... | Add retryer to SFTP hook connection (#<I>) | apache_airflow | train | py |
87eff7a74c693b3c94ce8841a9ec450f7d173c32 | diff --git a/scarlet/__init__.py b/scarlet/__init__.py
index <HASH>..<HASH> 100644
--- a/scarlet/__init__.py
+++ b/scarlet/__init__.py
@@ -1,2 +1,2 @@
-VERSION = ('1', '2', '3')
+VERSION = ('1', '2', '4')
__version__ = '.'.join(VERSION) | bumping version string to not confuse people | ff0000_scarlet | train | py |
28e6e7c29826442ef27968b2f7e3fd99302ae20e | diff --git a/platform/android/Rhodes/src/com/rhomobile/rhodes/mainview/TabbedMainView.java b/platform/android/Rhodes/src/com/rhomobile/rhodes/mainview/TabbedMainView.java
index <HASH>..<HASH> 100644
--- a/platform/android/Rhodes/src/com/rhomobile/rhodes/mainview/TabbedMainView.java
+++ b/platform/android/Rhodes/src/com... | cancel switch to disabled tab in TabBar on Android | rhomobile_rhodes | train | java |
c9aeffa95ff8c8882f520638daa07c0f0b845bd1 | diff --git a/gcalcli/gcalcli.py b/gcalcli/gcalcli.py
index <HASH>..<HASH> 100755
--- a/gcalcli/gcalcli.py
+++ b/gcalcli/gcalcli.py
@@ -1623,9 +1623,27 @@ def main():
conky=FLAGS.conky, use_color=FLAGS.color, art_style=FLAGS.lineart)
if junk:
+ prog_level_opts_msg = (
+ "\nPlease no... | added warning message when user includes a global opt after subcommand | insanum_gcalcli | train | py |
6a70023c01fcf515b66c8b9be628703487b2a508 | diff --git a/src/lib/resolver.js b/src/lib/resolver.js
index <HASH>..<HASH> 100644
--- a/src/lib/resolver.js
+++ b/src/lib/resolver.js
@@ -224,7 +224,7 @@ function Pattern(rc, ptn) {
const str = value.toString(rc);
if (str.length > MAX_PLACEABLE_LENGTH) {
return [
- valseq + '???',
+ ... | Better fallback for too long placeables | l20n_l20n.js | train | js |
a68ec0711b52944ef513aa8bdc93749c4da36815 | diff --git a/benchmarks/src/main/java/org/tinylog/benchmarks/api/StackTraceBenchmark.java b/benchmarks/src/main/java/org/tinylog/benchmarks/api/StackTraceBenchmark.java
index <HASH>..<HASH> 100644
--- a/benchmarks/src/main/java/org/tinylog/benchmarks/api/StackTraceBenchmark.java
+++ b/benchmarks/src/main/java/org/tinyl... | Add benchmark for getting caller class via stack walker | pmwmedia_tinylog | train | java |
93ca6391626ed213fb2465a542ea969b3ee55656 | diff --git a/s3pypi/core.py b/s3pypi/core.py
index <HASH>..<HASH> 100644
--- a/s3pypi/core.py
+++ b/s3pypi/core.py
@@ -1,6 +1,7 @@
import email
import logging
import re
+from contextlib import suppress
from dataclasses import dataclass
from itertools import groupby
from operator import attrgetter
@@ -50,7 +51,7 @... | If it looks like a path did not get expanded, expand it (#<I>) | novemberfiveco_s3pypi | train | py |
eed3a1ae0d9af2ade5e09049afcd35393cb6da7e | diff --git a/molo/core/templatetags/core_import_tags.py b/molo/core/templatetags/core_import_tags.py
index <HASH>..<HASH> 100644
--- a/molo/core/templatetags/core_import_tags.py
+++ b/molo/core/templatetags/core_import_tags.py
@@ -49,7 +49,7 @@ def format_import_error(error):
elif error.get('type') == 'language_... | Fix formatting of language_not_in_repo error (thanks @saeedmb8) | praekeltfoundation_molo | train | py |
dbcaef067586ab5f955b128e1e06ad2ab619b648 | diff --git a/lib/paymill/credit_card.rb b/lib/paymill/credit_card.rb
index <HASH>..<HASH> 100644
--- a/lib/paymill/credit_card.rb
+++ b/lib/paymill/credit_card.rb
@@ -7,8 +7,10 @@ module Paymill
:card_holder, :last4, :created_at, :updated_at
def initialize(attributes = {})
- attributes.ea... | Fixed undefined method `each_pair' for #<Array in creditcards | dkd_paymill-ruby | train | rb |
43444f189ce97932ae5cb05cefed787d11515b31 | diff --git a/src/js/tabris.js b/src/js/tabris.js
index <HASH>..<HASH> 100644
--- a/src/js/tabris.js
+++ b/src/js/tabris.js
@@ -28,6 +28,9 @@
};
composite.close = function() {
// TODO
+ // destroy composite
+ // set active page
+ // destroy page
};
return composi... | Move proxies map to Tabris object to make it accessible
Required for workarounds that need to resolve ids to widgets | eclipsesource_tabris-js | train | js |
661a51ea58d83efec2bc8f699eb23e1733ae79e5 | diff --git a/activiti-spring/src/main/java/org/activiti/spring/ProcessEngineFactoryBean.java b/activiti-spring/src/main/java/org/activiti/spring/ProcessEngineFactoryBean.java
index <HASH>..<HASH> 100644
--- a/activiti-spring/src/main/java/org/activiti/spring/ProcessEngineFactoryBean.java
+++ b/activiti-spring/src/main/... | Fix for ACT-<I> | camunda_camunda-bpm-platform | train | java |
837443d37aaf214485c8f4558bb0d0eb42cbb1a7 | diff --git a/pkg/api/v1/types.go b/pkg/api/v1/types.go
index <HASH>..<HASH> 100644
--- a/pkg/api/v1/types.go
+++ b/pkg/api/v1/types.go
@@ -1403,7 +1403,7 @@ type Container struct {
// Pod volumes to mount into the container's filesystem.
// Cannot be updated.
// +optional
- VolumeMounts []VolumeMount `json:"volum... | Change merge key for VolumeMount to mountPath | kubernetes_kubernetes | train | go |
51d5ec09ccebaf10a525b82dea4747b0fc9e4a1e | diff --git a/seed_service_rating/settings.py b/seed_service_rating/settings.py
index <HASH>..<HASH> 100644
--- a/seed_service_rating/settings.py
+++ b/seed_service_rating/settings.py
@@ -184,14 +184,6 @@ TOTAL_INVITES_TO_SEND = int(os.environ.get('TOTAL_INVITES_TO_SEND', '2'))
DAYS_BETWEEN_INVITES = int(os.environ.g... | move logic to ndoh-hub | praekeltfoundation_seed-service-rating | train | py |
2297bbf6f33e6273664a947e23a2be7788ece7ac | diff --git a/src/Illuminate/Database/Query/Grammars/Grammar.php b/src/Illuminate/Database/Query/Grammars/Grammar.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/Database/Query/Grammars/Grammar.php
+++ b/src/Illuminate/Database/Query/Grammars/Grammar.php
@@ -756,6 +756,6 @@ class Grammar extends BaseGrammar
*... | Replace both upper and lower-case booleans | laravel_framework | train | php |
4ab8aa2ce354864ba2ff9a3957c3cda8b93f2787 | diff --git a/openstack/resource_openstack_networking_subnet_v2.go b/openstack/resource_openstack_networking_subnet_v2.go
index <HASH>..<HASH> 100644
--- a/openstack/resource_openstack_networking_subnet_v2.go
+++ b/openstack/resource_openstack_networking_subnet_v2.go
@@ -537,11 +537,12 @@ func resourceSubnetDNSNameserve... | Check type assertion for the dns_nameservers in subnet (#<I>) | terraform-providers_terraform-provider-openstack | train | go |
77445740791fa5e92579e5f6a34366c83c38a736 | diff --git a/opal/grand_central/dev_tools.rb b/opal/grand_central/dev_tools.rb
index <HASH>..<HASH> 100644
--- a/opal/grand_central/dev_tools.rb
+++ b/opal/grand_central/dev_tools.rb
@@ -37,6 +37,7 @@ module GrandCentral
overflow: :scroll,
box_sizing: 'border-box',
max_height: '100vh',
... | Don't let state pane exceed browser width | clearwater-rb_grand_central-dev_tools | train | rb |
3d6bbbe92ab7813bacb421027fce8f69ba3ddeec | diff --git a/pkg/terminal/config.go b/pkg/terminal/config.go
index <HASH>..<HASH> 100644
--- a/pkg/terminal/config.go
+++ b/pkg/terminal/config.go
@@ -81,13 +81,16 @@ func configureList(t *Term) error {
continue
}
- if field.Kind() == reflect.Ptr {
+ switch field.Kind() {
+ case reflect.Ptr:
if !field.I... | terminal: config -list should print strings in quotes (#<I>)
Commit 8e<I>d3b0b added a number of configuration options to control the
colors of sytnax highlighting, unfortunately 'config -list' will print
all of those to stdout without quoting them, resulting in the color of
the last one being applied to all subseq... | go-delve_delve | train | go |
6e3e273f5fabea8b984502b81735be1cd1a0779f | diff --git a/see/image_providers/os_glance.py b/see/image_providers/os_glance.py
index <HASH>..<HASH> 100644
--- a/see/image_providers/os_glance.py
+++ b/see/image_providers/os_glance.py
@@ -31,8 +31,6 @@ import os
from datetime import datetime
from see.interfaces import ImageProvider
-from keystoneclient.client im... | Defer OpenStack imports to usage time. | F-Secure_see | train | py |
86dd1ac9f4aaecb65e227f559e9476148dac7839 | diff --git a/framework/core/js/lib/components/Dropdown.js b/framework/core/js/lib/components/Dropdown.js
index <HASH>..<HASH> 100644
--- a/framework/core/js/lib/components/Dropdown.js
+++ b/framework/core/js/lib/components/Dropdown.js
@@ -47,13 +47,18 @@ export default class Dropdown extends Component {
// bottom ... | Make sure dropdowns stay within the viewport horizontally too | flarum_core | train | js |
2caf5a3d67016a84cf0c3d6243bee20f98db0abd | diff --git a/tasks.py b/tasks.py
index <HASH>..<HASH> 100644
--- a/tasks.py
+++ b/tasks.py
@@ -176,7 +176,7 @@ def clean_all(context):
namespace_clean.add_task(clean_all, 'all')
@invoke.task
-def tag(context, name='', message=''):
+def tag(context, name, message=''):
"Add a Git tag and push it to origin"
... | Make name a required argument for the "invoke tag" command
This causes the "invoke tag" command to function in an intuitive fashion as so:
invoke tag tag_name
Previously when name was an optional argument, the name needed to be set using a flag like so:
invoke tag -n tag_name
This has the side benefit of now... | python-cmd2_cmd2 | train | py |
3883787c88447621cbee8f0a0082aa2528b8ccfc | diff --git a/ca/django_ca/management/base.py b/ca/django_ca/management/base.py
index <HASH>..<HASH> 100644
--- a/ca/django_ca/management/base.py
+++ b/ca/django_ca/management/base.py
@@ -20,9 +20,11 @@ from django_ca.models import Certificate
class BaseCommand(_BaseCommand):
+ certificate_queryset = Certificate... | add ability to override querset | mathiasertl_django-ca | train | py |
32a0cd7c3b71f1792a45836eba1c95f29913e6b4 | diff --git a/lib/linters/single_line_per_selector.js b/lib/linters/single_line_per_selector.js
index <HASH>..<HASH> 100644
--- a/lib/linters/single_line_per_selector.js
+++ b/lib/linters/single_line_per_selector.js
@@ -18,9 +18,6 @@ module.exports = {
element = node.get(index - 1);
}
-<<... | Remove stray Git conflict markers | lesshint_lesshint | train | js |
81fe713bf4c1d4894501760a27ac93b09b708a3d | diff --git a/pyquil/paulis.py b/pyquil/paulis.py
index <HASH>..<HASH> 100644
--- a/pyquil/paulis.py
+++ b/pyquil/paulis.py
@@ -22,8 +22,7 @@ from itertools import product
import numpy as np
import copy
from .quil import Program
-from .gates import H, RZ, RX, CNOT, X, PHASE
-from . import quilbase as pqb
+from .gates... | PauliSum helper functions for computing expectation (#<I>)
* Pauli convenience
* Fancy qvm expectation
* Revert "Fancy qvm expectation"
This reverts commit b4cd<I>ca<I>adf<I>fd5c<I>e5c<I>a<I>. | rigetti_pyquil | train | py |
8659ada00a46abdf3c8f80db11a70c8fed840f8b | diff --git a/xml/text.go b/xml/text.go
index <HASH>..<HASH> 100644
--- a/xml/text.go
+++ b/xml/text.go
@@ -3,7 +3,9 @@ package xml
/*
#include <libxml/parserInternals.h>
-const xmlChar* disableEscaping = xmlStringTextNoenc;
+void disable_escaping(xmlNodePtr node) {
+ node->name = xmlStringTextNoenc;
+}
*/
import ... | for some bizarre reason, some versions of Darwin don't like the fact that we use C.disableEscaping in Goland, but wrapping this up in a C function seems to make them happy. | moovweb_gokogiri | train | go |
f09bba2d8cc4d10da47a1bf62053d19a7e9bf072 | diff --git a/findbugs/src/java/edu/umd/cs/findbugs/detect/UnreadFields.java b/findbugs/src/java/edu/umd/cs/findbugs/detect/UnreadFields.java
index <HASH>..<HASH> 100644
--- a/findbugs/src/java/edu/umd/cs/findbugs/detect/UnreadFields.java
+++ b/findbugs/src/java/edu/umd/cs/findbugs/detect/UnreadFields.java
@@ -355,6 +35... | supress some false positives here; consider initialization done in methods named init or initialize as constructors
git-svn-id: <URL> | spotbugs_spotbugs | train | java |
e4d9865ee1c2337cbc50eca515d40ea20bfa6fed | diff --git a/src/Orm/TableStructure.php b/src/Orm/TableStructure.php
index <HASH>..<HASH> 100755
--- a/src/Orm/TableStructure.php
+++ b/src/Orm/TableStructure.php
@@ -11,6 +11,15 @@ use TMCms\DB\Sync;
* @package TMCms\Orm
*/
class TableStructure {
+ const FIELD_TYPES_AVAILABLE = [
+ self::FIELD_TYPE_BOOL... | List of available field types as const | devp-eu_tmcms-core | train | php |
76b668db1319ab97f7e4185c94a229c59e32b47c | diff --git a/coconut/root.py b/coconut/root.py
index <HASH>..<HASH> 100644
--- a/coconut/root.py
+++ b/coconut/root.py
@@ -27,9 +27,9 @@ import sys
# CONSTANTS:
#-----------------------------------------------------------------------------------------------------------------------
-VERSION = "0.3.5"
-VERSION_NAME =... | Sets version to <I> | evhub_coconut | train | py |
492bf54bf14e4c21907fcce5dd0e79b07541f096 | diff --git a/helpers/hasValue.js b/helpers/hasValue.js
index <HASH>..<HASH> 100644
--- a/helpers/hasValue.js
+++ b/helpers/hasValue.js
@@ -1,10 +1,19 @@
var rules = require('./rules.js')
+function parseKey(value) {
+ if (typeof value === 'string') {
+ var args = value.split(/:(.+)?/)
+ return args[1] ? {key:... | fix: rules[key] is not a function if you pass isValue with parameters
fix: #<I> | cerebral-legacy_cerebral-module-forms | train | js |
13d4ac3741da8540ab612901a3cf1fb2c10139e8 | diff --git a/lib/guard/bundler_audit.rb b/lib/guard/bundler_audit.rb
index <HASH>..<HASH> 100644
--- a/lib/guard/bundler_audit.rb
+++ b/lib/guard/bundler_audit.rb
@@ -44,9 +44,13 @@ module Guard
end
if res.any?
message = "Vulnerabilities found:\n" + res.join("\n")
+ color = :red
n... | Added output when no vulnerabilities are found. | christianhellsten_guard-bundler-audit | train | rb |
eabb9f452f5e88fd2b3cc598b3a1d29deeef20e9 | diff --git a/src/Grid/Filter.php b/src/Grid/Filter.php
index <HASH>..<HASH> 100644
--- a/src/Grid/Filter.php
+++ b/src/Grid/Filter.php
@@ -143,7 +143,7 @@ class Filter
*
* @return AbstractFilter
*/
- protected function addFilter(AbstractFilter $filter)
+ public function addFilter(AbstractFilter ... | set Filter::addFilter as public to be able to customize filter | z-song_laravel-admin | train | php,php |
d6bcc6b0dc545ee2f78e659af0344fffaf7c2ab1 | diff --git a/cogen/core/proactors/__init__.py b/cogen/core/proactors/__init__.py
index <HASH>..<HASH> 100644
--- a/cogen/core/proactors/__init__.py
+++ b/cogen/core/proactors/__init__.py
@@ -75,8 +75,6 @@ def has_ctypes_iocp():
import ctypes_iocp_impl
return ctypes_iocp_impl.CTYPES_IOCPProactor
... | removed a bogus debug traceback | ionelmc_python-cogen | train | py |
bb7d32353a2e20a86127d8f1dad6fd909afea526 | diff --git a/contribs/gmf/src/backgroundlayerselector/component.js b/contribs/gmf/src/backgroundlayerselector/component.js
index <HASH>..<HASH> 100644
--- a/contribs/gmf/src/backgroundlayerselector/component.js
+++ b/contribs/gmf/src/backgroundlayerselector/component.js
@@ -259,7 +259,9 @@ Controller.prototype.setOpaci... | Avoid error on unset bgLayer | camptocamp_ngeo | train | js |
6d79773798bf58b66ba5120da8e744084257a469 | diff --git a/src/flake8_requirements/modules.py b/src/flake8_requirements/modules.py
index <HASH>..<HASH> 100644
--- a/src/flake8_requirements/modules.py
+++ b/src/flake8_requirements/modules.py
@@ -501,9 +501,14 @@ STDLIB_PY3 = (
# Mapping for known 3rd party projects, which provide more than one module
# or the nam... | Add allure, pyspark and hamcrest to 3rd parties
Closes #<I> | Arkq_flake8-requirements | train | py |
3c7f6d6c3f26522978bdd54f627cac1db90a51af | diff --git a/addon/adapters/contributor.js b/addon/adapters/contributor.js
index <HASH>..<HASH> 100644
--- a/addon/adapters/contributor.js
+++ b/addon/adapters/contributor.js
@@ -28,6 +28,8 @@ export default OsfAdapter.extend({
if (!sendEmail) {
requestUrl += `&send_email=false`;... | Allow send_email=preprint query param to be added to contributor requests. | CenterForOpenScience_ember-osf | train | js,js |
ee81f1f2be91411c2dd8f9324c19405aa582b7c9 | diff --git a/src/convert.js b/src/convert.js
index <HASH>..<HASH> 100644
--- a/src/convert.js
+++ b/src/convert.js
@@ -167,11 +167,11 @@ export default function convert(jcamp, options = {}) {
currentEntry.title = dataValue;
} else if (canonicDataLabel === 'DATATYPE') {
currentEntry.dataType = dataVal... | fix: more selective to generate 2D | cheminfo-js_jcampconverter | train | js |
e5d0f10888b72ec2e9dd82aed9af0b52d3b1b947 | diff --git a/libraries/lithium/data/model/Document.php b/libraries/lithium/data/model/Document.php
index <HASH>..<HASH> 100644
--- a/libraries/lithium/data/model/Document.php
+++ b/libraries/lithium/data/model/Document.php
@@ -105,6 +105,8 @@ class Document extends \lithium\util\Collection {
*/
protected $_exists ... | added _errors class property and errors() method to `Document` | UnionOfRAD_framework | train | php |
1753e344920f56828b25eb27a2b18e82afbc8ca0 | diff --git a/core-bundle/contao/library/Contao/Widget.php b/core-bundle/contao/library/Contao/Widget.php
index <HASH>..<HASH> 100644
--- a/core-bundle/contao/library/Contao/Widget.php
+++ b/core-bundle/contao/library/Contao/Widget.php
@@ -253,6 +253,16 @@ abstract class Widget extends \Controller
$this->strWizard ... | [Core] Support the "autocomplete", "autocorrect", "autocapitalize" and "spellcheck" attributes (see #<I>) | contao_contao | train | php |
1b7452384ddbc95971b6f7c00e0455e5a796eb1a | diff --git a/openquake/hazardlib/const.py b/openquake/hazardlib/const.py
index <HASH>..<HASH> 100644
--- a/openquake/hazardlib/const.py
+++ b/openquake/hazardlib/const.py
@@ -105,9 +105,5 @@ class StdDev(object):
ALL = 'All'
#: Compute all the standard deviations for which the GMPE is defined
- SINGLE_ST... | Removing ss std | gem_oq-engine | train | py |
b4cc8316f74980e619a8191564e04adc12e7d9b3 | diff --git a/src/main/java/org/jboss/pressgang/ccms/utils/constants/CommonFilterConstants.java b/src/main/java/org/jboss/pressgang/ccms/utils/constants/CommonFilterConstants.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jboss/pressgang/ccms/utils/constants/CommonFilterConstants.java
+++ b/src/main/java/org/j... | Added BZ#<I> - RFE: Provide a way to automatically build translated books. | pressgang-ccms_PressGangCCMSCommonUtilities | train | java |
d291f69f5a5fc4484a96934d8dc0020309fc291c | diff --git a/src/Eio/ReadableStream.php b/src/Eio/ReadableStream.php
index <HASH>..<HASH> 100644
--- a/src/Eio/ReadableStream.php
+++ b/src/Eio/ReadableStream.php
@@ -21,6 +21,7 @@ class ReadableStream extends EventEmitter implements GenericStreamInterface, Rea
protected $cursor;
protected $chunkSize = 8192;
... | Keep track of it's closed state | reactphp_filesystem | train | php |
44581b0b721941b7da21a370bc933033f8de99bb | diff --git a/resources/provision/apigateway.js b/resources/provision/apigateway.js
index <HASH>..<HASH> 100644
--- a/resources/provision/apigateway.js
+++ b/resources/provision/apigateway.js
@@ -6,6 +6,8 @@ var _ = require('underscore');
var async = require('async');
var AWS = require('aws-sdk');
var awsConfig = new... | Use extracted `toBoolean` | mweagle_Sparta | train | js |
375c64dac5603199c7234933a83d85da8f0aa816 | diff --git a/src/Request.php b/src/Request.php
index <HASH>..<HASH> 100644
--- a/src/Request.php
+++ b/src/Request.php
@@ -256,6 +256,12 @@ class Request
if (preg_match('/^HTTP\/1\.\d 200 Connection established$/', $headers) === 1) {
list($headers, $body) = explode("\r\n\r\n", $body, 2);
... | Strip `HTTP/<I> <I> Continue` header from response | jwilsson_spotify-web-api-php | train | php |
8a65a3b5745e07ad099e53ff3fab0ed8fa517012 | diff --git a/src/util.js b/src/util.js
index <HASH>..<HASH> 100644
--- a/src/util.js
+++ b/src/util.js
@@ -400,7 +400,8 @@ function asynchronousIterator(options) {
var chainOptions = {
functions: funcs,
data: data,
- finally: _finally
+ finally: _finally,
+ stopOnError: options.stopOnE... | Pass stopOnError option into private function. | substance_util | train | js |
f7ec3ebeb3801a35e1d26041085361bdd87e4984 | diff --git a/integration/jena/src/test/java/com/github/jsonldjava/impl/JenaJSONWriterTest.java b/integration/jena/src/test/java/com/github/jsonldjava/impl/JenaJSONWriterTest.java
index <HASH>..<HASH> 100644
--- a/integration/jena/src/test/java/com/github/jsonldjava/impl/JenaJSONWriterTest.java
+++ b/integration/jena/sr... | sysout (commented out) | jsonld-java_jsonld-java | train | java |
28fac2d5cb41b4823f35619b203ad0025bd81609 | diff --git a/src/Megadraft.js b/src/Megadraft.js
index <HASH>..<HASH> 100644
--- a/src/Megadraft.js
+++ b/src/Megadraft.js
@@ -17,18 +17,18 @@ import Toolbar from "./components/Toolbar";
import * as utils from "./utils";
const Megadraft = {
- DraftJS: DraftJS,
+ DraftJS,
+ insertDataBlock,
+ Media,
+ Megadraft... | Object Short Notation (#<I>) | globocom_megadraft | train | js |
4cb6ef3962801214f39b5deaf43fc11f4a11e7ee | diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -174,12 +174,8 @@ describe('Check initial data', function() {
it('Should contain expected elements', function (done) {
middleware.generator(CONFIG, null, function(server) {
getManifest(server, ... | Simplify code a bit by rethrowing errors | isaacsimmons_cache-manifest-generator | train | js |
ac5749bddbc9103d98e3cc7261951b455d7c7348 | diff --git a/lib/qonfig/plugins/toml/tomlrb_fixes.rb b/lib/qonfig/plugins/toml/tomlrb_fixes.rb
index <HASH>..<HASH> 100644
--- a/lib/qonfig/plugins/toml/tomlrb_fixes.rb
+++ b/lib/qonfig/plugins/toml/tomlrb_fixes.rb
@@ -57,14 +57,14 @@ module TomlRB::Dumper::ObjectConverterFix
def dump_simple_pairs(simple_pairs)
... | [fix] support for the last toml-rb gem (<I>) | 0exp_qonfig | train | rb |
e3cb9ff6021a9a8a26387e370c021db250317e7f | diff --git a/pyani/download.py b/pyani/download.py
index <HASH>..<HASH> 100644
--- a/pyani/download.py
+++ b/pyani/download.py
@@ -17,7 +17,7 @@
# The MIT License
#
# Copyright (c) 2016-2019 The James Hutton Institute
-# Copyright (c) 2019-2020 University of Strathclyde
+# Copyright (c) 2019 University of Strathclyd... | add mypy typing to pyani/download.py | widdowquinn_pyani | train | py |
718920b8ba4e60856e6576f505d352e57c6daf15 | diff --git a/providers/apple/session.go b/providers/apple/session.go
index <HASH>..<HASH> 100644
--- a/providers/apple/session.go
+++ b/providers/apple/session.go
@@ -110,7 +110,7 @@ func (s *Session) Authorize(provider goth.Provider, params goth.Params) (string,
if !found {
return nil, errors.New("could not f... | Fix bug with pointer
Fix nil pointer issue
Fix nil pointer issue | markbates_goth | train | go |
9e6e6fa25440a7aaa0a47837a83e8d63443517d3 | diff --git a/lyricsgenius/api.py b/lyricsgenius/api.py
index <HASH>..<HASH> 100644
--- a/lyricsgenius/api.py
+++ b/lyricsgenius/api.py
@@ -345,6 +345,8 @@ class Genius(API):
:param filename: Name of output file (json)
:param overwrite: Overwrites preexisting file if True
"""
+ if isins... | Handle case where single artist is passed to save_artists | johnwmillr_LyricsGenius | train | py |
d6d00a01ca56cd28a106b4c993aaa37e84f580b0 | diff --git a/src/main/java/com/github/noraui/data/rest/RestDataProvider.java b/src/main/java/com/github/noraui/data/rest/RestDataProvider.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/noraui/data/rest/RestDataProvider.java
+++ b/src/main/java/com/github/noraui/data/rest/RestDataProvider.java
@@ -145,7... | change level for trace in travis-ci (OK on my local computer) | NoraUi_NoraUi | train | java |
26624104953dc8828d4565b53c3ba46ad808f259 | diff --git a/lib/Doctrine/Table.php b/lib/Doctrine/Table.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/Table.php
+++ b/lib/Doctrine/Table.php
@@ -1393,9 +1393,10 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
public function getTree() {
if (isset($this->options['treeImpl'... | fixed bug to always parse tree options as array | doctrine_annotations | train | php |
635e2ccd3ea8da64f9ee046cc9d8580007cff679 | diff --git a/actionpack/lib/action_controller/routing/route_set.rb b/actionpack/lib/action_controller/routing/route_set.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_controller/routing/route_set.rb
+++ b/actionpack/lib/action_controller/routing/route_set.rb
@@ -138,9 +138,13 @@ module ActionController
... | Extract named_helper module_eval so it's easier to override | rails_rails | train | rb |
8126cee653013317455dedadcd11d278d3f87fba | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -19,10 +19,8 @@
import sys
from os.path import abspath, dirname, join
from recommonmark.parser import CommonMarkParser
-from django.conf import settings
sys.path.append(abspath(join(dirname(__file__), "_e... | Remove vestigial (unused?) Django settings import. We shouldn't need Django and/or project dependencies installed to build docs. | ic-labs_django-icekit | train | py |
b2c320ea05310905f9f7e513f3ddfe752804489d | diff --git a/rake/lib/rake.rb b/rake/lib/rake.rb
index <HASH>..<HASH> 100755
--- a/rake/lib/rake.rb
+++ b/rake/lib/rake.rb
@@ -298,7 +298,7 @@ end
module FileUtils
RUBY = Config::CONFIG['ruby_install_name']
- OPT_TABLE['run'] = %w(noop verbose)
+ OPT_TABLE['sh'] = %w(noop verbose)
OPT_TABLE['ruby'] = %w(no... | sh was spelled run in the OPT_TABLE
git-svn-id: svn+ssh://rubyforge.org/var/svn/rake/trunk@<I> 5af<I>f1-ac1a-<I>-<I>d6-<I>a<I>c<I>ef | ruby_rake | train | rb |
a397eef9e1b7b766416924a2fb71a0c49b5ead3f | diff --git a/huey/api.py b/huey/api.py
index <HASH>..<HASH> 100644
--- a/huey/api.py
+++ b/huey/api.py
@@ -6,7 +6,7 @@ import time
import traceback
import uuid
from functools import wraps
-
+from inspect import getargspec
from huey.backends.dummy import DummySchedule
from huey.exceptions import DataStoreGetExcepti... | try to make huey task functions self aware. | coleifer_huey | train | py |
2bd03b24f9aa9c81e774e638b17e753bbb6868a8 | diff --git a/lib/qbwc/job.rb b/lib/qbwc/job.rb
index <HASH>..<HASH> 100644
--- a/lib/qbwc/job.rb
+++ b/lib/qbwc/job.rb
@@ -92,7 +92,7 @@ class QBWC::Job
def reset
self.request_index = 0
- #self.requests = []
+ self.requests = [] unless self.requests_provided_when_job_added
end
end
diff --git a/tes... | Worker requests should be generated once per session | qbwc_qbwc | train | rb,rb |
d2b2bf039386b25ed82dcb08649fb9532a44a02f | diff --git a/docs/registry.go b/docs/registry.go
index <HASH>..<HASH> 100644
--- a/docs/registry.go
+++ b/docs/registry.go
@@ -438,10 +438,10 @@ func (r *Registry) PushImageLayerRegistry(imgID string, layer io.Reader, registr
utils.Debugf("[registry] Calling PUT %s", registry+"images/"+imgID+"/layer")
h := sha256... | Inverted layer checksum and tarsum.
The checksum of the payload has to be computed on the Gzip'ed content.
Docker-DCO-<I>- | docker_distribution | train | go |
12f6a0d67cd520c044354b66e2316109b3b0690d | diff --git a/src/daemon/influxd.go b/src/daemon/influxd.go
index <HASH>..<HASH> 100644
--- a/src/daemon/influxd.go
+++ b/src/daemon/influxd.go
@@ -101,6 +101,8 @@ func main() {
os.MkdirAll(config.DataDir, 0744)
server, err := server.NewServer(config)
if err != nil {
+ // sleep for the log to flush
+ time.Sleep(... | sleep before exit to print the log messages | influxdata_influxdb | train | go |
1b05421a58b8b6d62d62bfd7323e91df2fbc496d | diff --git a/generic_follow/models.py b/generic_follow/models.py
index <HASH>..<HASH> 100644
--- a/generic_follow/models.py
+++ b/generic_follow/models.py
@@ -16,3 +16,13 @@ class Follow(models.Model):
target = generic.GenericForeignKey('target_content_type', 'target_object_id')
objects = FollowManager()
+
... | patch auth.User to have utility methods | gizmag_django-generic-follow | train | py |
005065f8fc9895c3ca73ea905727b168bc5c88fc | diff --git a/pkg/volume/csi/csi_attacher.go b/pkg/volume/csi/csi_attacher.go
index <HASH>..<HASH> 100644
--- a/pkg/volume/csi/csi_attacher.go
+++ b/pkg/volume/csi/csi_attacher.go
@@ -492,8 +492,13 @@ func (c *csiAttacher) waitForVolumeDetachmentInternal(volumeHandle, attachID str
if err != nil {
return fmt.Errorf(... | Close watcher early for volume detachment | kubernetes_kubernetes | train | go |
b6bbfb94ae79154930ce6471a391c5fbbf36f645 | diff --git a/src/Label.php b/src/Label.php
index <HASH>..<HASH> 100644
--- a/src/Label.php
+++ b/src/Label.php
@@ -9,7 +9,7 @@ class Label extends Element
protected $label;
protected $element;
- public function __construct($label, Element $element)
+ public function __construct($label, Labelable $elem... | typecheck by marker interface, makes it more flexible | monolyth-php_formulaic | train | php |
a60196cd3f2c6fa78834f049623d28918715552f | diff --git a/test/integration/pushing_gems/path_test.rb b/test/integration/pushing_gems/path_test.rb
index <HASH>..<HASH> 100644
--- a/test/integration/pushing_gems/path_test.rb
+++ b/test/integration/pushing_gems/path_test.rb
@@ -11,3 +11,15 @@ class PathTest < Geminabox::TestCase
should_push_gem
end
+
+class Pa... | Test coverage for URLs with trailing slashes. | geminabox_geminabox | train | rb |
b18bdd95e583c515967dd9756e78513ed1e03b38 | diff --git a/tests/TestCase/Database/Schema/MysqlSchemaTest.php b/tests/TestCase/Database/Schema/MysqlSchemaTest.php
index <HASH>..<HASH> 100644
--- a/tests/TestCase/Database/Schema/MysqlSchemaTest.php
+++ b/tests/TestCase/Database/Schema/MysqlSchemaTest.php
@@ -413,9 +413,12 @@ SQL;
],
];
- ... | Attempt to fix build for MySQL <I> | cakephp_cakephp | train | php |
21a90ffe8924e1467968d3ff42c792939f0d2be2 | diff --git a/lib/loyaltylion/client.rb b/lib/loyaltylion/client.rb
index <HASH>..<HASH> 100644
--- a/lib/loyaltylion/client.rb
+++ b/lib/loyaltylion/client.rb
@@ -20,13 +20,12 @@ module LoyaltyLion
self.class.post(path, :query => @auth.merge(params))
end
- def track(name, customer_id, customer_email, r... | changed referral_id to a property | loyaltylion_ruby-client | train | rb |
ad7bc4e6b725e3a9cc4e1ec79b18d5d2f59ced19 | diff --git a/tumulus/lib/__init__.py b/tumulus/lib/__init__.py
index <HASH>..<HASH> 100644
--- a/tumulus/lib/__init__.py
+++ b/tumulus/lib/__init__.py
@@ -28,10 +28,13 @@ known_js_libs = {
'jquery': 'https//code.jquery.com/jquery-1.10.2.min.js',
'bootstrap': 'https//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/... | Added Foundation and Masonry to JS/CSS lib. | oksome_Tumulus | train | py |
7b553a8eb5b42395ac1683c1bc362671b5c1a7ec | diff --git a/src/java/org/apache/cassandra/cli/CliMain.java b/src/java/org/apache/cassandra/cli/CliMain.java
index <HASH>..<HASH> 100644
--- a/src/java/org/apache/cassandra/cli/CliMain.java
+++ b/src/java/org/apache/cassandra/cli/CliMain.java
@@ -367,6 +367,7 @@ public class CliMain
if (line.isEmpty())
... | trim cli input to avoid confusing parser
patch by Pavel Yaskevich; reviewed by mdennis for CASSANDRA-<I>
git-svn-id: <URL> | Stratio_stratio-cassandra | train | java |
9a2c9834d91da7a5b476a359517ec700a2081e94 | diff --git a/uflash.py b/uflash.py
index <HASH>..<HASH> 100755
--- a/uflash.py
+++ b/uflash.py
@@ -52,7 +52,7 @@ microbit. Accepts multiple input scripts and optionally one output directory.
"""
#: MAJOR, MINOR, RELEASE, STATUS [alpha, beta, final], VERSION of uflash
-_VERSION = (1, 2, 4, )
+_VERSION = (1, 3, 0, )... | Minor tidy up, and bumped version number. | ntoll_uflash | train | py |
08b5d954d91729368dae4d17c1e0fbe23d79b478 | diff --git a/openpnm/network/Cubic.py b/openpnm/network/Cubic.py
index <HASH>..<HASH> 100644
--- a/openpnm/network/Cubic.py
+++ b/openpnm/network/Cubic.py
@@ -165,8 +165,8 @@ class Cubic(GenericNetwork):
self['throat.surface'] = False
Ts = self.find_neighbor_throats(pores=Ps, mode='xnor')
sel... | Make all pores internal when creating a cubic network | PMEAL_OpenPNM | train | py |
04f63f95c75a9c715acf5f04ca461930ac9e7d0e | diff --git a/wd_property_store.py b/wd_property_store.py
index <HASH>..<HASH> 100755
--- a/wd_property_store.py
+++ b/wd_property_store.py
@@ -231,13 +231,13 @@ wd_properties = {
'datatype': 'string',
'name': 'Ensembl Gene ID',
'domain': ['genes'],
- 'core_id': 'True'
+ 'core_id... | Added human_protein_qc.py and human_gene_qc.py. These script compare the number of entries in NCBI gene and Uniprot to the content on genes and proteins in Wikidata | SuLab_WikidataIntegrator | train | py |
c88a1b4dddb55b5a1b86f91f97609cca1eeba363 | diff --git a/lib/malloc_ext.rb b/lib/malloc_ext.rb
index <HASH>..<HASH> 100644
--- a/lib/malloc_ext.rb
+++ b/lib/malloc_ext.rb
@@ -90,21 +90,16 @@ module Hornetseye
"Malloc(#{@size})"
end
- # Read data from memory
+ # Display information about this object
#
- # @example Convert data of Mallo... | Changed definition of Malloc#to_s | wedesoft_malloc | train | rb,rb |
76a8aef9a1d616b37b0bc13998579ab7ba587385 | diff --git a/lib/messagelib.php b/lib/messagelib.php
index <HASH>..<HASH> 100644
--- a/lib/messagelib.php
+++ b/lib/messagelib.php
@@ -34,8 +34,8 @@ defined('MOODLE_INTERNAL') || die();
* Required parameter $eventdata structure:
* component string component name. must exist in message_providers
* name string me... | MDL-<I> messages: allow using user IDs instead of objects in message_send function | moodle_moodle | train | php |
b24cbdb29717ebea2a79abd8f653767efa583789 | diff --git a/django-openstack/django_openstack/dash/views/objects.py b/django-openstack/django_openstack/dash/views/objects.py
index <HASH>..<HASH> 100644
--- a/django-openstack/django_openstack/dash/views/objects.py
+++ b/django-openstack/django_openstack/dash/views/objects.py
@@ -68,7 +68,7 @@ class CopyObject(forms.... | Fixed container access to use swift objects. | openstack_horizon | train | py |
08646ad45eb9093942bafa743e0c73a6da57bb84 | diff --git a/code/model/editableformfields/EditableOption.php b/code/model/editableformfields/EditableOption.php
index <HASH>..<HASH> 100644
--- a/code/model/editableformfields/EditableOption.php
+++ b/code/model/editableformfields/EditableOption.php
@@ -114,4 +114,15 @@ class EditableOption extends DataObject {
p... | BUGFIX no Sort value applie to EditableOption on write | silverstripe_silverstripe-userforms | train | php |
06bca21f66037bb31c1865d165c02120cc038dde | diff --git a/rbautofillbug/extension.py b/rbautofillbug/extension.py
index <HASH>..<HASH> 100644
--- a/rbautofillbug/extension.py
+++ b/rbautofillbug/extension.py
@@ -28,12 +28,14 @@ class AutoFillBugExtension(Extension):
def initialize(self):
self.already_parsed_drafts = set()
- SignalHook(self,... | Use pre_save signal instead of post_init (fixes #1) | jjst_rbautofillbug | train | py |
ad8d5b369d8d9da6c7fb6d391e512c5e720ed6c1 | diff --git a/bin/progressBar.js b/bin/progressBar.js
index <HASH>..<HASH> 100644
--- a/bin/progressBar.js
+++ b/bin/progressBar.js
@@ -4,6 +4,7 @@
var ansi = require('ansi.js');
var newlineEvent = require('on-new-line');
+var stripAnsi = require('strip-ansi');
var stream = process.stdout;
@@ -306,8 +307,18 @@ ... | Don't truncate too early | atomist_sdm-local | train | js |
3e41580df08f70914c3b9e4d914d4bd0c45d374a | diff --git a/mongo.js b/mongo.js
index <HASH>..<HASH> 100644
--- a/mongo.js
+++ b/mongo.js
@@ -550,7 +550,7 @@ _.assign(Mongo.prototype, {
JSON.stringify(options)
);
return this._collection(collectionName).bind(this).then(function(collection) {
- return collection.aggregate(pipeline, options);
+ ... | Also apply the same fix for `aggregate` | airbrite_muni | train | js |
76614389d80cf5a909e2362575e791bc90037891 | diff --git a/spec/batch/indexer_spec.rb b/spec/batch/indexer_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/batch/indexer_spec.rb
+++ b/spec/batch/indexer_spec.rb
@@ -21,7 +21,6 @@ describe Neo4j::Batch::Indexer do
describe "#index_entity" do
context "has no index" do
before(:each) do
- Neo4j.thre... | Removed unncessary threadlocal assignments | neo4jrb_neo4j | train | rb |
e73f240e0b30961a6160a14747220e721d76aedf | diff --git a/packages/mongoose-helper/src/index.js b/packages/mongoose-helper/src/index.js
index <HASH>..<HASH> 100644
--- a/packages/mongoose-helper/src/index.js
+++ b/packages/mongoose-helper/src/index.js
@@ -59,7 +59,7 @@ class Base {
* @returns {Promise<ListResult>}
*/
static list({
- filter,
+ fil... | fix: mongoose-helper filter null | 36node_sketch | train | js |
cf003abc929c9e70cd7b4054236c935f096e6d04 | diff --git a/course/lib.php b/course/lib.php
index <HASH>..<HASH> 100644
--- a/course/lib.php
+++ b/course/lib.php
@@ -1169,7 +1169,7 @@ function get_module_metadata($course, $modnames, $sectionreturn = null) {
if (get_string_manager()->string_exists('help' . $subtype->name, $modname)) {
... | MDL-<I> bug fix in link for module subtypes. Thanks to Andrew Nicols | moodle_moodle | train | php |
4414e64048876349438e2b515edea0877fdfcd77 | diff --git a/src/Query/Parser.php b/src/Query/Parser.php
index <HASH>..<HASH> 100755
--- a/src/Query/Parser.php
+++ b/src/Query/Parser.php
@@ -312,6 +312,7 @@ class Parser
$document = $document_array;
}
$connection->query = json_encode(array_values($document));
+ $connection->multi... | insertMany did not return all inserted IDs | clusterpoint_php-client-api-v4 | train | php |
622f2165fcb78e001bc84ece447172ea18f055f3 | diff --git a/hazelcast/src/test/java/com/hazelcast/client/impl/protocol/EventMessageConstTest.java b/hazelcast/src/test/java/com/hazelcast/client/impl/protocol/EventMessageConstTest.java
index <HASH>..<HASH> 100644
--- a/hazelcast/src/test/java/com/hazelcast/client/impl/protocol/EventMessageConstTest.java
+++ b/hazelca... | Added missing @RunWith and @Category to EventMessageConstTest. | hazelcast_hazelcast | train | java |
a1c79d2b7d719204c829235a9b0ebb08b45b4efb | diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py
index <HASH>..<HASH> 100644
--- a/gitlab/v4/objects.py
+++ b/gitlab/v4/objects.py
@@ -3611,6 +3611,25 @@ class Project(SaveMixin, ObjectDeleteMixin, RESTObject):
path = '/projects/%d/mirror/pull' % self.get_id()
self.manager.gitlab.http_post(pat... | Add support for project transfers from the projects interface. (#<I>)
See <URL> | python-gitlab_python-gitlab | train | py |
64430db88d2523475d67f7b123c21fd1b7660f07 | diff --git a/django_tablib/core.py b/django_tablib/core.py
index <HASH>..<HASH> 100644
--- a/django_tablib/core.py
+++ b/django_tablib/core.py
@@ -13,12 +13,11 @@ class DatasetOptions(object):
class DatasetMetaclass(type):
def __new__(cls, name, bases, attrs):
try:
- parents = [b for b in base... | fixed testing for subclass in metaclass | joshourisman_django-tablib | train | py |
e627e6ba80d7094294ad438e30825593360ea0b8 | diff --git a/bundles/org.eclipse.orion.client.core/web/orion/preferences.js b/bundles/org.eclipse.orion.client.core/web/orion/preferences.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.core/web/orion/preferences.js
+++ b/bundles/org.eclipse.orion.client.core/web/orion/preferences.js
@@ -327,6 +32... | Bug <I> - Preferences service needs a data only interface
fix exception in unit tests | eclipse_orion.client | train | js |
4c2445a80037efdd6441d60cfd13b81186a7311a | diff --git a/priv/python2/erlport/erlang.py b/priv/python2/erlport/erlang.py
index <HASH>..<HASH> 100644
--- a/priv/python2/erlport/erlang.py
+++ b/priv/python2/erlport/erlang.py
@@ -25,6 +25,10 @@
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
+from __fut... | Add 'with' statement declaration for Python <I> | hdima_erlport | train | py,py |
1ebfc18efe52f7310989696f78b54cb5500ba59c | diff --git a/spec/maxminddb_spec.rb b/spec/maxminddb_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/maxminddb_spec.rb
+++ b/spec/maxminddb_spec.rb
@@ -32,6 +32,10 @@ describe MaxMindDB do
expect(country_db.lookup(ip).country.name).to eq('United States')
end
+ it 'returns false for the is_in_european_un... | Added test for 'is_in_european_union'. | yhirose_maxminddb | train | rb |
6cffafad6abe87d12912dff6e5a7c71234716ca2 | diff --git a/guacamole-common-js/src/main/resources/layer.js b/guacamole-common-js/src/main/resources/layer.js
index <HASH>..<HASH> 100644
--- a/guacamole-common-js/src/main/resources/layer.js
+++ b/guacamole-common-js/src/main/resources/layer.js
@@ -168,6 +168,10 @@ Guacamole.Layer = function(width, height) {
... | Reset internal stack state when stack automatically reset from resize. | glyptodon_guacamole-client | train | js |
f2b41fd4329b39f613ae19ffb5b5b3de9a766326 | diff --git a/satpy/writers/__init__.py b/satpy/writers/__init__.py
index <HASH>..<HASH> 100644
--- a/satpy/writers/__init__.py
+++ b/satpy/writers/__init__.py
@@ -381,6 +381,38 @@ def to_image(dataset, copy=False, **kwargs):
return XRImage(dataset)
+def compute_writer_results(results):
+ """Compute all ... | Add utility function from polar2grid to save delayed writer results in one go | pytroll_satpy | train | py |
6a9430081a8f0afa17f834ac74bfc7b2f0c58a73 | diff --git a/src/controllers/DefaultController.php b/src/controllers/DefaultController.php
index <HASH>..<HASH> 100644
--- a/src/controllers/DefaultController.php
+++ b/src/controllers/DefaultController.php
@@ -102,7 +102,7 @@ class DefaultController extends Controller
*/
private function _callWithParams($fu... | $params is an array, so better to use empty than cast it to a bool to check if they exist. | craftcms_element-api | train | php |
8c568076915311aafd1f7430ee3285518b7e898c | diff --git a/lib/browsers/chrome.js b/lib/browsers/chrome.js
index <HASH>..<HASH> 100644
--- a/lib/browsers/chrome.js
+++ b/lib/browsers/chrome.js
@@ -360,7 +360,7 @@ chrome.checkIfPageIsDoneLoading = function(tab) {
chrome.parseHtmlFromPage = function(tab) {
return new Promise((resolve, reject) => {
- setTimeout... | clear the parse html timeout on normal execution path | prerender_prerender | train | js |
ed63fb6b5ba2936614c985b80515603d990fa42a | diff --git a/lib/Github/Api/Repository/Commits.php b/lib/Github/Api/Repository/Commits.php
index <HASH>..<HASH> 100644
--- a/lib/Github/Api/Repository/Commits.php
+++ b/lib/Github/Api/Repository/Commits.php
@@ -16,14 +16,14 @@ class Commits extends AbstractApi
return $this->get('/repos/'.rawurlencode($username... | Include optional params parameter for Commits compare
With the current API, we cannot paginate compare basehead function call. The Github API limits the response to only <I> commits so for larger diffs we have no option. | KnpLabs_php-github-api | train | php |
02482ec808e4d8ba7cd40093239687eb4911b521 | diff --git a/src/WSDL/XML/SOAPGenerator.php b/src/WSDL/XML/SOAPGenerator.php
index <HASH>..<HASH> 100644
--- a/src/WSDL/XML/SOAPGenerator.php
+++ b/src/WSDL/XML/SOAPGenerator.php
@@ -53,7 +53,7 @@ class SOAPGenerator
}
if ($type instanceof Object) {
$element = $DOMDocument->cr... | Update SOAPGenerator.php
Call to a member function getComplexType() on a non-object | piotrooo_wsdl-creator | train | php |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.