hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
61e0ff6d43772b13f014242d6760b30c46c721de | diff --git a/test/browserTest.js b/test/browserTest.js
index <HASH>..<HASH> 100644
--- a/test/browserTest.js
+++ b/test/browserTest.js
@@ -300,7 +300,7 @@ describe('browser', () => {
['GFM without line breaks', '```foo```', '```foo```'],
['GFM missing with close not on new line', '```\... | fix and @accalia in the test | SockDrawer_SockBot | train |
06e09345b62460bc34068c9edeca38606005afc8 | diff --git a/h2o-py/h2o/model/model_base.py b/h2o-py/h2o/model/model_base.py
index <HASH>..<HASH> 100644
--- a/h2o-py/h2o/model/model_base.py
+++ b/h2o-py/h2o/model/model_base.py
@@ -31,14 +31,14 @@ class ModelBase(object):
prediction_frame_key = j["model_metrics"][0]["predictions"]["key"]["name"]
# get the a... | PUBDEV-<I>: field names in JSON schemas must follow a consistent naming convention | h2oai_h2o-3 | train |
66dd7250ef4ade4030a587f2d1696834e32f6819 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,5 +1,5 @@
#! /usr/bin/env python
-# Last Change: Wed Dec 03 08:00 PM 2008 J
+# Last Change: Thu Dec 04 01:00 PM 2008 J
# Copyright (C) 2006-2007 Cournapeau David <cournape@gmail.com>
#
@@ -49,7 +49,6 @@ URL ... | Remove sndfile-related stuff from main setup.py, since it moved into audiolab.pysndfile. | cournape_audiolab | train |
7cfb9fe491be6b64223ced86d1667a65a41ecabe | diff --git a/lib/criticalrunner.js b/lib/criticalrunner.js
index <HASH>..<HASH> 100644
--- a/lib/criticalrunner.js
+++ b/lib/criticalrunner.js
@@ -74,13 +74,14 @@ phantom args sent from critical.js:
criticalSelectorList: function( list, maxTop ){
return page.evaluate( function( selectors, maxTop ){
var c... | This change ensures pseudo-element selectors make it into critical css when they are deemed critical. fixes #<I> | filamentgroup_criticalCSS | train |
8f6b662130873d09815719e36415efd3f679db3d | diff --git a/test/test_queue_consumer.py b/test/test_queue_consumer.py
index <HASH>..<HASH> 100644
--- a/test/test_queue_consumer.py
+++ b/test/test_queue_consumer.py
@@ -465,25 +465,29 @@ def test_greenthread_raise_in_kill(container_factory, rabbit_config, logger):
container = container_factory(Service, rabbit_... | update test now that the exception happens in a different thread | nameko_nameko | train |
ba031e84dee91fd868dfe14c8ba7a6ed3a5e838e | diff --git a/spec/helpers/hyrax_helper_spec.rb b/spec/helpers/hyrax_helper_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/helpers/hyrax_helper_spec.rb
+++ b/spec/helpers/hyrax_helper_spec.rb
@@ -35,9 +35,9 @@ RSpec.describe HyraxHelper, type: :helper do
let(:unread_count) { 10 }
it 'renders with label-d... | Updates the tests to the new class names. | samvera_hyrax | train |
642a5575ca1baf59bb75ebb3736d12ede17aa2e0 | diff --git a/src/OrientatedItemFactory.php b/src/OrientatedItemFactory.php
index <HASH>..<HASH> 100644
--- a/src/OrientatedItemFactory.php
+++ b/src/OrientatedItemFactory.php
@@ -111,12 +111,6 @@ class OrientatedItemFactory implements LoggerAwareInterface
return 1;
}
- $orient... | Remove a determinant that doesn't help | dvdoug_BoxPacker | train |
489da6784a216b1eb1789b618d6aa96f815114b2 | diff --git a/lib/jekyll/site.rb b/lib/jekyll/site.rb
index <HASH>..<HASH> 100644
--- a/lib/jekyll/site.rb
+++ b/lib/jekyll/site.rb
@@ -528,7 +528,7 @@ module Jekyll
end
def sanitize_filename(name)
- name.gsub!(/[^\w\s_-]+/, '')
+ name.gsub!(/[^\w\s-]+/, '')
name.gsub!(/(^|\b\s)\s+($|\s?\b)/... | Remove duplicated range from regex
`/\w/` is equivalent to `[a-zA-Z0-9_]`. See
<URL> | jekyll_jekyll | train |
76298491e6b2ef6adf2b4bd7e55cfa5de7466de2 | diff --git a/src/Menu/MenuPermissionsFilter.php b/src/Menu/MenuPermissionsFilter.php
index <HASH>..<HASH> 100644
--- a/src/Menu/MenuPermissionsFilter.php
+++ b/src/Menu/MenuPermissionsFilter.php
@@ -204,7 +204,10 @@ class MenuPermissionsFilter implements MenuPermissionsFilterInterface
// the children of th... | Fixed incorrect permissions filter optimization key handling | czim_laravel-cms-core | train |
7b56c8f138daba1c3299f4b0b18a34b9cf8877e1 | diff --git a/angr/analyses/backward_slice.py b/angr/analyses/backward_slice.py
index <HASH>..<HASH> 100644
--- a/angr/analyses/backward_slice.py
+++ b/angr/analyses/backward_slice.py
@@ -352,9 +352,9 @@ class BackwardSlice(Analysis):
# Find all paths from src_block to target_block
- all_shortest_pat... | Simple path is necessary for BackwardSlice. Add cutoff to avoid blowing up. | angr_angr | train |
38a9b23cf9ff4ee523b0a27bb59cdf9b3836771c | diff --git a/xerox/win.py b/xerox/win.py
index <HASH>..<HASH> 100644
--- a/xerox/win.py
+++ b/xerox/win.py
@@ -27,7 +27,7 @@ def paste():
"""Returns system clipboard contents."""
clip.OpenClipboard()
- d = clip.GetClipboardData(win32con.CF_TEXT)
+ d = clip.GetClipboardData(win32con.CF_UNICODETEXT)
... | Ensure Unicode is returned for Windows | kennethreitz_xerox | train |
f82dc905a215fb470edadf805afde95c9899eede | diff --git a/lib/homesick.rb b/lib/homesick.rb
index <HASH>..<HASH> 100644
--- a/lib/homesick.rb
+++ b/lib/homesick.rb
@@ -85,11 +85,6 @@ class Homesick < Thor
castle_path = castle_dir(castle)
mv absolute_path, castle_path
- inside castle_path do
- system "git add #{file.basename}"
- system "gi... | Tweaks to track. Don't add & commit newly tracked file. Also fix tests to not be spitting out to stdout. | technicalpickles_homesick | train |
a287ea6bfb8787d9ddd5cde58e78ac9d07504414 | diff --git a/lib/Firelit/Registry.php b/lib/Firelit/Registry.php
index <HASH>..<HASH> 100644
--- a/lib/Firelit/Registry.php
+++ b/lib/Firelit/Registry.php
@@ -21,7 +21,10 @@ class Registry {
public function __set($name, $value) {
self::set($name, $value);
- return $this;
+ }
+
+ static public function clear() {... | Added clear() to Registry; all important classes auto-register | firelit_firelit-framework | train |
d519b36f9ffa150e0568b73c92041f5da0b116ab | diff --git a/src/sequencing/fastq.py b/src/sequencing/fastq.py
index <HASH>..<HASH> 100644
--- a/src/sequencing/fastq.py
+++ b/src/sequencing/fastq.py
@@ -91,7 +91,7 @@ def _isQualityHead(line):
return False
-def fastqIteratorSimple(fn, verbose = False):
+def fastqIteratorSimple(fn, verbose = False, ... | added new flag for fastq iterator allowing name mismatches to be quietly ignored | pjuren_pyokit | train |
4cba6b08e6dc80454e7adcd4e0e314533507da43 | diff --git a/packages/ember-views/lib/system/render_buffer.js b/packages/ember-views/lib/system/render_buffer.js
index <HASH>..<HASH> 100644
--- a/packages/ember-views/lib/system/render_buffer.js
+++ b/packages/ember-views/lib/system/render_buffer.js
@@ -101,7 +101,7 @@ Ember._RenderBuffer = Ember.Object.extend(
s... | childBuffers in RenderBuffer really don't need to be an Ember Array | emberjs_ember.js | train |
ab833fd04be48014f2973cc2d3aaeb95e7be90c8 | diff --git a/lib/mongo/protocol/compressed.rb b/lib/mongo/protocol/compressed.rb
index <HASH>..<HASH> 100644
--- a/lib/mongo/protocol/compressed.rb
+++ b/lib/mongo/protocol/compressed.rb
@@ -60,15 +60,13 @@ module Mongo
@request_id = message.request_id
end
- # Inflate an OP_COMRESSED message and ... | RUBY-<I> Documentation improvements to support auto encryption implementation (#<I>)
* Spelling fixes
* Fix docstrings referring to options on protocol messages
* Report pool max size in the exception message when failing to check out a connection
* Rename inflate! to maybe_inflate because it does not always ... | mongodb_mongo-ruby-driver | train |
4ad6254b742c535a133687d03ec74abbf44b6a1f | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,6 +11,8 @@
### Fixed
+- [#812](https://github.com/airblade/paper_trail/pull/812) -
+ Issue with saving HABTM associated objects using accepts_nested_attributes_for
- Improvements to documentation
... | Fix for HABTM associations when updated within 1 transaction
When updating 2 models with a HABTM association, and using
accepts_nested_attributes_for, the association was using the
version ID instead of the transaction ID to reference the change.
This was braking the association logic and preventing proper
reification... | paper-trail-gem_paper_trail | train |
08bb3ffa6a82186557f5f7a1305b1039b7172305 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -11,5 +11,18 @@ setup(name = 'asteval',
description = "Safe, minimalistic evaluator of python expression using ast module",
package_dir = {'asteval': 'lib'},
packages = ['asteval'],
+ classifiers=[
+ ... | Add classifiers to show Python 3 support | newville_asteval | train |
6a96b0fefca46eab7f416fa8c033d7a31925f3b5 | diff --git a/lib/fields/related.js b/lib/fields/related.js
index <HASH>..<HASH> 100644
--- a/lib/fields/related.js
+++ b/lib/fields/related.js
@@ -17,6 +17,11 @@ module.exports = function(app, options) {
val.list = val.list.split(',').filter(Boolean);
}
+ if (!val.list) {
+ val.list = [];
+ r... | fixes bug where `related.list` is not an array
but `related` is an object | base_base-config-schema | train |
9a1cb5a9ba4871081fe9884cf739e61e151181fe | diff --git a/Tests/Manager/ContainerManagerTest.php b/Tests/Manager/ContainerManagerTest.php
index <HASH>..<HASH> 100644
--- a/Tests/Manager/ContainerManagerTest.php
+++ b/Tests/Manager/ContainerManagerTest.php
@@ -56,7 +56,7 @@ class ContainerManagerTest extends TestCase
$this->assertNotEmpty($container->getI... | [Docker] fixed host port test | docker-php_docker-php | train |
7958c77e3818492746bc58fae6843fa0e1a6c93f | diff --git a/dist/milsymbol.js b/dist/milsymbol.js
index <HASH>..<HASH> 100644
--- a/dist/milsymbol.js
+++ b/dist/milsymbol.js
@@ -58,6 +58,8 @@ var MS = new function(){
return false;
};
this.buildingBlock = function(pre,post,bbox){
+ if(pre.length == 1 && Array.isArray(pre[0]))pre = pre[0];
+ if(post.length =... | Flatten some arrays, will make the drawing a bit faster. | spatialillusions_milsymbol | train |
352dfd99830841144594d293f3c7fb684194b517 | diff --git a/masonite/request.py b/masonite/request.py
index <HASH>..<HASH> 100644
--- a/masonite/request.py
+++ b/masonite/request.py
@@ -210,6 +210,10 @@ class Request(Extendable):
"""
if isinstance(variables, str):
variables = parse_qs(variables)
+ t = {}
+ for ke... | added a parse from list to str when using parse_qs | MasoniteFramework_masonite | train |
4cf156b0e3ed1b18b91862b39796ca8b70e46c42 | diff --git a/src/gridstack.js b/src/gridstack.js
index <HASH>..<HASH> 100644
--- a/src/gridstack.js
+++ b/src/gridstack.js
@@ -651,7 +651,7 @@
// constrain the passed in values and check if we're still changing our node
var resizing = (node.width !== width || node.height !== height);
var nn = { x: x, y: ... | fix typo
* which I found while working on typescript branch
(wish we would switch sooner and avoid errors like these and many) | gridstack_gridstack.js | train |
7131ce64247568b879e7eae3e1a54cb19c889c23 | diff --git a/pingouin/tests/test_utils.py b/pingouin/tests/test_utils.py
index <HASH>..<HASH> 100644
--- a/pingouin/tests/test_utils.py
+++ b/pingouin/tests/test_utils.py
@@ -7,7 +7,7 @@ from pingouin import read_dataset
from pingouin.utils import (print_table, _perm_pval, _export_table,
r... | Added test for _is_mpmath_installed | raphaelvallat_pingouin | train |
d6128e69375a7c3506624cb2d6ac04c8ae5b2833 | diff --git a/src/ocrmypdf/pdfinfo/layout.py b/src/ocrmypdf/pdfinfo/layout.py
index <HASH>..<HASH> 100644
--- a/src/ocrmypdf/pdfinfo/layout.py
+++ b/src/ocrmypdf/pdfinfo/layout.py
@@ -220,8 +220,16 @@ class TextPositionTracker(PDFLayoutAnalyzer):
def get_page_analysis(infile, pageno, pscript5_mode):
rman = pdfmi... | Fix support for older versions of pdfminer.six (boxes_flow error) | jbarlow83_OCRmyPDF | train |
a5e9ffb328aa18d9e65478d0964a5569f74001de | diff --git a/lib/slanger/api_server.rb b/lib/slanger/api_server.rb
index <HASH>..<HASH> 100644
--- a/lib/slanger/api_server.rb
+++ b/lib/slanger/api_server.rb
@@ -26,7 +26,7 @@ module Slanger
data = JSON.parse(request.body.read.tap{ |s| s.force_encoding('utf-8')})
# Send event to each channel
- dat... | Exclude messages from being sent to specified `socket_id` | stevegraham_slanger | train |
d3d29fedcb31cc8564e73a15b13ceec3d797a72e | diff --git a/javamelody-core/src/main/java/net/bull/javamelody/MonitoringFilter.java b/javamelody-core/src/main/java/net/bull/javamelody/MonitoringFilter.java
index <HASH>..<HASH> 100644
--- a/javamelody-core/src/main/java/net/bull/javamelody/MonitoringFilter.java
+++ b/javamelody-core/src/main/java/net/bull/javamelody... | fix the refactoring of issue <I> | javamelody_javamelody | train |
f0801f4f576c9ddd444513e25f5897135f6d2360 | diff --git a/Lib/ufo2ft/constants.py b/Lib/ufo2ft/constants.py
index <HASH>..<HASH> 100644
--- a/Lib/ufo2ft/constants.py
+++ b/Lib/ufo2ft/constants.py
@@ -47,6 +47,7 @@ INDIC_SCRIPTS = [
"Knda", # Kannada
"Mlym", # Malayalam
"Orya", # Oriya
+ "Sinh", # Sinhala
"Taml", # Tamil
"Telu", #... | Put Sinhala back into Indic scripts (#<I>) | googlefonts_ufo2ft | train |
061194fa7432de301a0cf4d0a1e39064b29a29ed | diff --git a/umap/plot.py b/umap/plot.py
index <HASH>..<HASH> 100644
--- a/umap/plot.py
+++ b/umap/plot.py
@@ -1112,6 +1112,7 @@ def interactive(
width=800,
height=800,
point_size=None,
+ subset_points=None,
):
"""Create an interactive bokeh plot of a UMAP embedding.
While static plots are ... | Add ability to plot subset of points in interactive plotting | lmcinnes_umap | train |
6bcc1d71efceeb44a9ea4e0a0c3509301e393b32 | diff --git a/dist/list-item-punctuation.js b/dist/list-item-punctuation.js
index <HASH>..<HASH> 100644
--- a/dist/list-item-punctuation.js
+++ b/dist/list-item-punctuation.js
@@ -1,31 +1,50 @@
'use strict';
-var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return t... | Added support of different endings for final list item | wemake-services_remark-lint-list-item-punctuation | train |
8a846acaa388c67a020da947235ce024d7cc0586 | diff --git a/cmd/juju/cloud/list.go b/cmd/juju/cloud/list.go
index <HASH>..<HASH> 100644
--- a/cmd/juju/cloud/list.go
+++ b/cmd/juju/cloud/list.go
@@ -28,20 +28,20 @@ type listCloudsCommand struct {
// listCloudsDoc is multi-line since we need to use ` to denote
// commands for ease in markdown.
var listCloudsDoc = ... | invoke gofmt in order for build to succeed | juju_juju | train |
0b5d02132485bba0e0e189c433d9f43090f5b9dc | diff --git a/spec/rspec/feature_helpers_spec.rb b/spec/rspec/feature_helpers_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/rspec/feature_helpers_spec.rb
+++ b/spec/rspec/feature_helpers_spec.rb
@@ -18,6 +18,8 @@ RSpec.feature "SwitchUser::RSpecFeatureHelpers", :type => :feature do
allow(SwitchUser).to receive(:av... | edit rspec/feature_helpers_spec.rb | flyerhzm_switch_user | train |
47e2322f5ec416d6f94f484a05d29818afe73566 | diff --git a/pyrsistent/_field_common.py b/pyrsistent/_field_common.py
index <HASH>..<HASH> 100644
--- a/pyrsistent/_field_common.py
+++ b/pyrsistent/_field_common.py
@@ -147,9 +147,10 @@ def _sequence_field(checked_class, suffix, item_type, optional, initial):
if argument is None:
return ... | Fix #<I>, use create rather than constructor to support construction from serialized object | tobgu_pyrsistent | train |
cf132ab09324cf4c6018fc857448dd558a8b16c2 | diff --git a/src/nacl/bindings/__init__.py b/src/nacl/bindings/__init__.py
index <HASH>..<HASH> 100644
--- a/src/nacl/bindings/__init__.py
+++ b/src/nacl/bindings/__init__.py
@@ -49,7 +49,6 @@ from nacl.bindings.crypto_pwhash import (
crypto_pwhash_PASSWD_MIN,
crypto_pwhash_SALTBYTES,
crypto_pwhash_STRBY... | Make flake8-import-order happy (#<I>) | pyca_pynacl | train |
08148147ea3122f942a6a4eef7c96f7e4839743a | diff --git a/isovar/cli/variant_sequences.py b/isovar/cli/variant_sequences.py
index <HASH>..<HASH> 100644
--- a/isovar/cli/variant_sequences.py
+++ b/isovar/cli/variant_sequences.py
@@ -91,7 +91,7 @@ def variant_sequences_generator_from_args(args):
min_alt_rna_reads=args.min_alt_rna_reads,
min_varian... | fixed name in cli.variant_sequences | openvax_isovar | train |
374820d7e752e74c43d2c781b04ce6e859401f91 | diff --git a/bokeh/_legacy_charts/__init__.py b/bokeh/_legacy_charts/__init__.py
index <HASH>..<HASH> 100644
--- a/bokeh/_legacy_charts/__init__.py
+++ b/bokeh/_legacy_charts/__init__.py
@@ -18,9 +18,9 @@ from ._data_adapter import DataAdapter; DataAdapter
from ..models import ColumnDataSource; ColumnDataSource
fro... | Fix _legacy_charts tests by removing unused import of cursession | bokeh_bokeh | train |
d4a2a45f25d732687e6b2ea4d3dfe7d7bf291042 | diff --git a/tests/BigDecimalTest.php b/tests/BigDecimalTest.php
index <HASH>..<HASH> 100644
--- a/tests/BigDecimalTest.php
+++ b/tests/BigDecimalTest.php
@@ -1191,8 +1191,8 @@ abstract class BigDecimalTest extends AbstractTestCase
['2', 3, '8', 0],
['3', 3, '27', 0],
- ['0',... | Fixed tests for HHVM with BCMath | brick_math | train |
24b276ee09e7956d90a5aba6b7ce98cf5cff1ac6 | diff --git a/pyquil/reference_simulator.py b/pyquil/reference_simulator.py
index <HASH>..<HASH> 100644
--- a/pyquil/reference_simulator.py
+++ b/pyquil/reference_simulator.py
@@ -242,8 +242,9 @@ class ReferenceDensitySimulator(AbstractQuantumSimulator):
def do_post_gate_noise(self, noise_type: str, noise_prob: f... | Skip pyQVM noise under the correct conditions (#<I>) | rigetti_pyquil | train |
7862ef0aa7f5168469bcbbe9b7b2dbf51c4cafad | diff --git a/lib/framework/rhom/rhom_object_factory.rb b/lib/framework/rhom/rhom_object_factory.rb
index <HASH>..<HASH> 100644
--- a/lib/framework/rhom/rhom_object_factory.rb
+++ b/lib/framework/rhom/rhom_object_factory.rb
@@ -116,6 +116,14 @@ module Rhom
Rho::RhoController.cached... | #<I> - added `metadata=` helper to rhom objects
This allows simple assignment of metadata inside of your application
(i.e. by not using rhoconnect): Account.metadata = {"foo" =>
"bar"}.to_json | rhomobile_rhodes | train |
212a1d1010163e9929ec554f66ac5dcc80bedb92 | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index <HASH>..<HASH> 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -3420,71 +3420,102 @@ class NDFrame(PandasObject, SelectionMixin):
def xs(self, key, axis=0, level=None, drop_level=True):
"""
- Returns a cross-se... | Fix the docstring of xs in pandas/core/generic.py #<I> (#<I>) | pandas-dev_pandas | train |
ede3763fe48183e04d767e634ad108afd6585bc2 | diff --git a/src/image/roi/Roi.js b/src/image/roi/Roi.js
index <HASH>..<HASH> 100644
--- a/src/image/roi/Roi.js
+++ b/src/image/roi/Roi.js
@@ -72,6 +72,9 @@ export default class Roi {
return this.computed.center = [(this.width / 2) >> 0, (this.height / 2) >> 0];
}
+ get ratio() {
+ return this... | Add ratio property to roi and allow filtering by this value | image-js_image-js | train |
0f36e6e77cc4b4b0fa9e1bcb0c535e3383cbe060 | diff --git a/operator/k8s_node.go b/operator/k8s_node.go
index <HASH>..<HASH> 100644
--- a/operator/k8s_node.go
+++ b/operator/k8s_node.go
@@ -205,8 +205,9 @@ func runNodeWatcher() error {
}
if needsUpdate {
wg.Add(1)
+ cnpCpy := cnp.DeepCopy()
removeNodeFromCNP <- func() {
- ... | operator: fix concurrent access of variable in cnp garbage collection
As the cnp variable will be used in a different go routine we need to
deepcopy it.
Fixes: 0cd1be0e<I>dc ("operator: GC nodes from existing CNPs") | cilium_cilium | train |
775175f3b6119160a7183b51e02c5f91386a7227 | diff --git a/ibis/expr/api.py b/ibis/expr/api.py
index <HASH>..<HASH> 100644
--- a/ibis/expr/api.py
+++ b/ibis/expr/api.py
@@ -1488,7 +1488,25 @@ def _string_dunder_contains(arg, substr):
raise TypeError('Use val.contains(arg)')
+def _string_getitem(self, key):
+ if isinstance(key, slice):
+ start, s... | ENH: add __getitem__ method to StringValue that slices. Close #<I> | ibis-project_ibis | train |
90857b6adfa405c7e751dad105eaddb1bfb130f1 | diff --git a/penn/studyspaces.py b/penn/studyspaces.py
index <HASH>..<HASH> 100644
--- a/penn/studyspaces.py
+++ b/penn/studyspaces.py
@@ -208,7 +208,10 @@ class StudySpaces(object):
resp = self._request("POST", "/1.1/space/reserve", json=data)
out = resp.json()
if "errors" in out and "error"... | fix case where a list is returned instead of string | pennlabs_penn-sdk-python | train |
5c2186287466a2569dd02df91510dd96966cec70 | diff --git a/dev/com.ibm.ws.install.featureUtility/src/com/ibm/ws/install/featureUtility/FeatureUtilityExecutor.java b/dev/com.ibm.ws.install.featureUtility/src/com/ibm/ws/install/featureUtility/FeatureUtilityExecutor.java
index <HASH>..<HASH> 100644
--- a/dev/com.ibm.ws.install.featureUtility/src/com/ibm/ws/install/fe... | Fix bug with abbreviations error handling | OpenLiberty_open-liberty | train |
81c07701aaca2da99ed4acfb0ce70fe30010d75a | diff --git a/src/MergePlugin.php b/src/MergePlugin.php
index <HASH>..<HASH> 100644
--- a/src/MergePlugin.php
+++ b/src/MergePlugin.php
@@ -259,7 +259,7 @@ class MergePlugin implements PluginInterface, EventSubscriberInterface
CompletePackage $package
) {
$requires = $package->getRequires();
- ... | Use empty() to check arrays
Use empty() in conditionals rather than implicit casting of arrays to
booleans. Done mostly to make Scrutinizer happy. | wikimedia_composer-merge-plugin | train |
2a599acb6dd9980d7810ef4fac95d7aae5a9d9d5 | diff --git a/bosh-dev/spec/bosh/dev/bulk_uploader_spec.rb b/bosh-dev/spec/bosh/dev/bulk_uploader_spec.rb
index <HASH>..<HASH> 100644
--- a/bosh-dev/spec/bosh/dev/bulk_uploader_spec.rb
+++ b/bosh-dev/spec/bosh/dev/bulk_uploader_spec.rb
@@ -45,10 +45,9 @@ describe Bosh::Dev::BulkUploader do
end
describe 'upload_r... | Cleaned up bulk uploader spec | cloudfoundry_bosh | train |
5c5d430fb7ca1e39b177d570e45ffe5ed0dc1e36 | diff --git a/src/node_modules/read-csv-data/index.js b/src/node_modules/read-csv-data/index.js
index <HASH>..<HASH> 100644
--- a/src/node_modules/read-csv-data/index.js
+++ b/src/node_modules/read-csv-data/index.js
@@ -106,27 +106,27 @@ function typify (collectionName, graph) {
var apiUrl = Url.format(config.api... | another fix for how relationship ids are constructed | holodex_app | train |
1c54e4849faaed0e5f943e2fd5b09b9022dbb427 | diff --git a/tests/helpers/sync/assert-visibility.js b/tests/helpers/sync/assert-visibility.js
index <HASH>..<HASH> 100644
--- a/tests/helpers/sync/assert-visibility.js
+++ b/tests/helpers/sync/assert-visibility.js
@@ -1,34 +1,17 @@
export function assertNotRendered(assert, context) {
- // assert.notOk(context.$().pa... | simplified lazy test and added coverage for mouseenter, click, and focusin | sir-dunxalot_ember-tooltips | train |
ac07a65affde035c03c40a9f8a503a3d807057d5 | diff --git a/src/Projection/Catalog/AbstractProductView.php b/src/Projection/Catalog/AbstractProductView.php
index <HASH>..<HASH> 100644
--- a/src/Projection/Catalog/AbstractProductView.php
+++ b/src/Projection/Catalog/AbstractProductView.php
@@ -2,7 +2,7 @@
namespace LizardsAndPumpkins\Projection\Catalog;
-use Li... | Issue #<I>: Make getPlaceholder* methods abstract, use locale instead of website | lizards-and-pumpkins_catalog | train |
10b532f798d8d44914ac25683cd7ed67277ae950 | diff --git a/string_list.go b/string_list.go
index <HASH>..<HASH> 100644
--- a/string_list.go
+++ b/string_list.go
@@ -65,6 +65,16 @@ func (x *StringListExpr) UnmarshalJSON(data []byte) error {
return fmt.Errorf("%#v is not a StringListFunc", funcCall)
}
+ // Perhaps we have a single item, like "foo" which
+ // ... | improve unmarshal support for string lists presented as a single string, which occurs in some places (!) | crewjam_go-cloudformation | train |
dbed8bdb861a5c070c1baf3d8bbd30b07b32f207 | diff --git a/lib/classes/session/manager.php b/lib/classes/session/manager.php
index <HASH>..<HASH> 100644
--- a/lib/classes/session/manager.php
+++ b/lib/classes/session/manager.php
@@ -1109,12 +1109,18 @@ class manager {
global $SESSION;
$locks = self::get_recent_session_locks();
+
+ $maxim... | MDL-<I> core: Make session history cleanup more aggressive. | moodle_moodle | train |
963221434d4a37b4038a187f3956ee18349c3ed6 | diff --git a/src/sap.ui.core/src/sap/ui/core/BusyIndicator.js b/src/sap.ui.core/src/sap/ui/core/BusyIndicator.js
index <HASH>..<HASH> 100644
--- a/src/sap.ui.core/src/sap/ui/core/BusyIndicator.js
+++ b/src/sap.ui.core/src/sap/ui/core/BusyIndicator.js
@@ -25,12 +25,43 @@ sap.ui.define(['jquery.sap.global', 'sap/ui/Devic... | [FIX] core.BusyIndicator: Documentation for Events Added
The API-doc for the events 'open' and 'close' were missing, thus
it wasn't visible in any documentation.
With the corresponding API-doc the events should be discovered easily
in the documentation.
Change-Id: Ie<I>be<I>cd<I>f<I>d<I>a<I>ffa<I>eefcd4e8 | SAP_openui5 | train |
cd008c4e76760aec1428b7836867e355fa56a27d | diff --git a/skyfield/positionlib.py b/skyfield/positionlib.py
index <HASH>..<HASH> 100644
--- a/skyfield/positionlib.py
+++ b/skyfield/positionlib.py
@@ -550,18 +550,21 @@ class Barycentric(ICRF):
class Astrometric(ICRF):
"""An astrometric (x,y,z) position relative to a particular observer.
- The *astrometr... | Clarify “Apparent” class vs “apparent place”
The class docstrings currently provide no clarification for a reader who
sees a class named `Apparent`, inspired by the Naval Observatory phrase
“apparent position”, and think instead of the usual concept of “apparent
place.” So let’s provide some clarification, and while ... | skyfielders_python-skyfield | train |
4e9d960d430276798c4447cc212afd294d371c42 | diff --git a/graphql.go b/graphql.go
index <HASH>..<HASH> 100644
--- a/graphql.go
+++ b/graphql.go
@@ -65,7 +65,7 @@ func NewClient(endpoint string, opts ...ClientOption) *Client {
// into the response object.
// Pass in a nil response object to skip response parsing.
// If the request fails or the server returns an... | fixed misake in docs | machinebox_graphql | train |
9fb2ca599c82a9514b844c69de4c90b76e7aef18 | diff --git a/sdc.go b/sdc.go
index <HASH>..<HASH> 100644
--- a/sdc.go
+++ b/sdc.go
@@ -131,7 +131,7 @@ func GetSdcLocalGUID() (sdcGUID string, err error) {
out, err := exec.Command("/opt/emc/scaleio/sdc/bin/drv_cfg", "--query_guid").Output()
if err != nil {
- return "", fmt.Errorf("Error querying volumes: ", err... | Fix Go Vet Errors
This patch fixes several Go Vet errors. | thecodeteam_goscaleio | train |
122a3bab22d7161ffb84c9fd6ac95e208f621533 | diff --git a/holoviews/plotting/bokeh/element.py b/holoviews/plotting/bokeh/element.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/bokeh/element.py
+++ b/holoviews/plotting/bokeh/element.py
@@ -640,18 +640,40 @@ class ElementPlot(BokehPlot, GenericElementPlot):
class ColorbarPlot(ElementPlot):
+ """
+ ... | Cleaned up ColorbarPlot and added docstring | pyviz_holoviews | train |
b68ddc9652bfb044d7fe09633f9ec07510c3585f | diff --git a/servers/websocket.js b/servers/websocket.js
index <HASH>..<HASH> 100644
--- a/servers/websocket.js
+++ b/servers/websocket.js
@@ -130,7 +130,7 @@ var websocket = function(api, options, next){
var remoteIp = "0.0.0.0"
var remotePort = 0
var fayeConnection = api.faye.server._server._engine._co... | check for faye lookups when server is not fully booted | actionhero_actionhero | train |
87182a2ddf633e5da5d80fec0ab82a59691debe6 | diff --git a/blockchain/validate.go b/blockchain/validate.go
index <HASH>..<HASH> 100644
--- a/blockchain/validate.go
+++ b/blockchain/validate.go
@@ -764,7 +764,7 @@ func ExtractCoinbaseHeight(coinbaseTx *btcutil.Tx) (int32, error) {
str := "the coinbase signature script for blocks of " +
"version %d or greater... | blockchain: Correct serialized coinbase height error message. | btcsuite_btcd | train |
38dff3aa9d621f842b606e6434c98d745d683490 | diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageAccount.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageAccount.java
index <HASH>..<HASH> 100644
--- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageAccount.... | Adding WithTags to storage account definition | Azure_azure-sdk-for-java | train |
a1fe91634d32ef18c0e3acd7eb3f3deaf6fae2c2 | diff --git a/src/MetaModels/IMetaModel.php b/src/MetaModels/IMetaModel.php
index <HASH>..<HASH> 100644
--- a/src/MetaModels/IMetaModel.php
+++ b/src/MetaModels/IMetaModel.php
@@ -173,7 +173,7 @@ interface IMetaModel
* @param string[] $arrAttrOnly Names of the attributes that shall be enclosed in the result, ... | Add array annotation for findByFilter. | MetaModels_core | train |
7344e5fbc1a59d6a384da4a89fa833b340cabfc1 | diff --git a/bin/config/karma.conf.js b/bin/config/karma.conf.js
index <HASH>..<HASH> 100644
--- a/bin/config/karma.conf.js
+++ b/bin/config/karma.conf.js
@@ -26,13 +26,7 @@ module.exports = function (config) {
// Merge main config with test config
var webpackTestConfig = merge(webpackConfig, {
// use inline... | Restrict environment variables exposed to the compiled app | brianvoe_vue-build | train |
2aab2a2ccce0e9f053c2e69d2e42dbdc456b1462 | diff --git a/lib/classes/Service.js b/lib/classes/Service.js
index <HASH>..<HASH> 100644
--- a/lib/classes/Service.js
+++ b/lib/classes/Service.js
@@ -69,7 +69,7 @@ class Service {
};
}
- if (['aws', 'azure', 'google', 'ibm'].indexOf(serverlessFile.provider.name)) {
+ if (['aws', 'az... | fix #<I> non-aws providers throw an error | serverless_serverless | train |
02ac6eb257aefc646f5030ddfeb85a126ab6f096 | diff --git a/src/main/java/edu/jhu/util/Lambda.java b/src/main/java/edu/jhu/util/Lambda.java
index <HASH>..<HASH> 100644
--- a/src/main/java/edu/jhu/util/Lambda.java
+++ b/src/main/java/edu/jhu/util/Lambda.java
@@ -47,7 +47,7 @@ public class Lambda {
/** Subtraction operator on doubles. */
public static final... | Bug fix: all the subtract operators were doing addition. | mgormley_pacaya | train |
8aa2bfa2aaaf4cdc752628b9fa8e1aa7af8ddc14 | diff --git a/pycbc/ahope/jobsetup_utils.py b/pycbc/ahope/jobsetup_utils.py
index <HASH>..<HASH> 100644
--- a/pycbc/ahope/jobsetup_utils.py
+++ b/pycbc/ahope/jobsetup_utils.py
@@ -597,6 +597,13 @@ class PyCBCInspiralJob(Job):
if self.get_opt('processing-scheme') == 'cuda':
self.needs_gpu()
+ ... | set request cpus in pegasus profile | gwastro_pycbc | train |
b7ff1a27d108d5badb2d7826178a1f931eaf3f61 | diff --git a/src/Http/Controllers/Api/KeyController.php b/src/Http/Controllers/Api/KeyController.php
index <HASH>..<HASH> 100644
--- a/src/Http/Controllers/Api/KeyController.php
+++ b/src/Http/Controllers/Api/KeyController.php
@@ -96,14 +96,24 @@ class KeyController extends Controller
public function addKey(ApiKey... | Fix eveseat/seat#<I> by changing ownership of an existing key. | eveseat_web | train |
1f49ecd95d76bcc22a295b5f3f83b20f0b5c41e3 | diff --git a/src/bot/Bot.js b/src/bot/Bot.js
index <HASH>..<HASH> 100644
--- a/src/bot/Bot.js
+++ b/src/bot/Bot.js
@@ -108,6 +108,13 @@ export default class Bot {
return this;
}
+ async initSessionStore() {
+ if (!this._initialized) {
+ await this._sessions.init();
+ this._initialized = true;
+ ... | feat(console): add /session and /state command | Yoctol_bottender | train |
4df159b2ffde555ab5a1d1c9497374e8e5247b53 | diff --git a/lib/rules/require-default-props.js b/lib/rules/require-default-props.js
index <HASH>..<HASH> 100644
--- a/lib/rules/require-default-props.js
+++ b/lib/rules/require-default-props.js
@@ -22,11 +22,25 @@ module.exports = {
category: 'Best Practices'
},
- schema: []
+ schema: [{
+ typ... | Add support for wrapped propTypes to require-default-props | ytanruengsri_eslint-plugin-react-ssr | train |
bdc6ed6a5871dc3156b299083b3699e07f5ad22d | diff --git a/src/sap.ui.layout/src/sap/ui/layout/AlignedFlowLayoutRenderer.js b/src/sap.ui.layout/src/sap/ui/layout/AlignedFlowLayoutRenderer.js
index <HASH>..<HASH> 100644
--- a/src/sap.ui.layout/src/sap/ui/layout/AlignedFlowLayoutRenderer.js
+++ b/src/sap.ui.layout/src/sap/ui/layout/AlignedFlowLayoutRenderer.js
@@ -3... | [FIX] AlignedFlowLayout: End content alignment fixed
Issue:
In LTR rendering mode, the end content is left aligned when the it
is the only child item.
Change-Id: Id<I>fb0f<I>a<I>f<I>fcc<I>e<I>a<I>a<I>
BCP: <I> | SAP_openui5 | train |
83afdf2c17f837f91c9c8d07dd996a747b977b42 | diff --git a/classtemplate.js b/classtemplate.js
index <HASH>..<HASH> 100644
--- a/classtemplate.js
+++ b/classtemplate.js
@@ -113,8 +113,6 @@ var Web3 = require("web3");
return reject(new Error("Transaction " + tx + " wasn't processed in " + (timeout / 1000) + " seconds!"));
}
- ... | remove undefined attemps variable completely | trufflesuite_truffle-artifactor | train |
6bce5e0d55816e294ce544c8c6ee66ca8422e027 | diff --git a/src/js/LayoutManager.js b/src/js/LayoutManager.js
index <HASH>..<HASH> 100644
--- a/src/js/LayoutManager.js
+++ b/src/js/LayoutManager.js
@@ -313,6 +313,7 @@ lm.utils.copy( lm.LayoutManager.prototype, {
this.tabDropPlaceholder.remove();
this.dropTargetIndicator.destroy();
this.transitionIndicator.... | On destroy, the EventHub should unsubscribe from window's 'gl_child_event' event. | golden-layout_golden-layout | train |
8f63272403a1843fdb6040b97821b363ae3318c8 | diff --git a/lib/vagrant.rb b/lib/vagrant.rb
index <HASH>..<HASH> 100644
--- a/lib/vagrant.rb
+++ b/lib/vagrant.rb
@@ -2,20 +2,13 @@ libdir = File.dirname(__FILE__)
$:.unshift(libdir)
PROJECT_ROOT = File.join(libdir, '..')
-require 'ftools'
-require 'json'
-require 'pathname'
-require 'logger'
-require 'virtualbox'... | Cleaned up the requiring of files in vagrant.rb | hashicorp_vagrant | train |
4a23c3692d3e24f1042816cf9d0458d88ea97130 | diff --git a/selectable/tests/views.py b/selectable/tests/views.py
index <HASH>..<HASH> 100644
--- a/selectable/tests/views.py
+++ b/selectable/tests/views.py
@@ -1,9 +1,9 @@
from django.http import HttpResponseNotFound, HttpResponseServerError
-def test_404(request):
+def test_404(request, *args, **kwargs):
... | <I> added another argument to the error handler views. | mlavin_django-selectable | train |
39f942aca8d64618676b5a1922713d4da4e2542c | diff --git a/packages/tiptap-extensions/src/nodes/Table.js b/packages/tiptap-extensions/src/nodes/Table.js
index <HASH>..<HASH> 100644
--- a/packages/tiptap-extensions/src/nodes/Table.js
+++ b/packages/tiptap-extensions/src/nodes/Table.js
@@ -23,6 +23,12 @@ import TableNodes from './TableNodes'
export default class ... | adding option to disable resizing of tables
closes #<I> | scrumpy_tiptap | train |
4085fbe35bfc2386797842967b81b9c8da7791f6 | diff --git a/chamber/models/fields.py b/chamber/models/fields.py
index <HASH>..<HASH> 100644
--- a/chamber/models/fields.py
+++ b/chamber/models/fields.py
@@ -76,7 +76,7 @@ class AllowedContentTypesFileValidator(object):
self.content_types = content_types
def __call__(self, data):
- extension_mim... | AllowedContentTypesFileValidator should work with all django File objects | druids_django-chamber | train |
c93d60fbd966078223b1956b22b195953d0a8ee3 | diff --git a/tests/metadata_generator_test.py b/tests/metadata_generator_test.py
index <HASH>..<HASH> 100644
--- a/tests/metadata_generator_test.py
+++ b/tests/metadata_generator_test.py
@@ -5,7 +5,15 @@ import pytest
from lxml.etree import Element, tostring
from pyuntl import (metadata_generator as mg, untl_struct... | Complete test coverage of metadata_generator | unt-libraries_pyuntl | train |
eb72bde5a90c243e00e0c728d49be6afa900658e | diff --git a/src/protocol/requests/findCoordinator/v1/response.js b/src/protocol/requests/findCoordinator/v1/response.js
index <HASH>..<HASH> 100644
--- a/src/protocol/requests/findCoordinator/v1/response.js
+++ b/src/protocol/requests/findCoordinator/v1/response.js
@@ -16,10 +16,10 @@ const decode = async rawData => {... | Only read error message if it is safe | tulios_kafkajs | train |
ca7b8592c181d6aba0b75745219127f52971e7fd | diff --git a/src/Subscription.php b/src/Subscription.php
index <HASH>..<HASH> 100644
--- a/src/Subscription.php
+++ b/src/Subscription.php
@@ -3,12 +3,12 @@
namespace Laravel\Cashier;
use Carbon\Carbon;
-use Laravel\Cashier\Exceptions\SubscriptionUpdateFailure;
use LogicException;
use DateTimeInterface;
use Illu... | Apply fixes from StyleCI (#<I>) | laravel_cashier | train |
a224b5f87539c70fefa56b1c7fe5369faf4cdf2f | diff --git a/lib/processtags.js b/lib/processtags.js
index <HASH>..<HASH> 100644
--- a/lib/processtags.js
+++ b/lib/processtags.js
@@ -96,7 +96,7 @@ var replies = function (replyObj, user, options, callback) {
// Replace <cap> and <capN>
reply = reply.replace(/<cap>/ig, stars[1]);
for (var i = 1; i <= stars.le... | Come at GH-<I> a differnet way | superscriptjs_superscript | train |
9f217d9d473da1f594df7d20e7e5e5d17732fc44 | diff --git a/util.go b/util.go
index <HASH>..<HASH> 100644
--- a/util.go
+++ b/util.go
@@ -8,6 +8,7 @@ import (
"os"
pathpkg "path"
"strings"
+ "time"
)
var (
@@ -75,6 +76,7 @@ func (f *file) Write(p []byte) (int, error) {
f.f.Data = append(f.f.Data, p[n:]...)
}
f.offset += count
+ f.f.ModTime = time.N... | Udpate ModTime when writing to a file | rainycape_vfs | train |
09ccf296fc0595be8a0bb5802eb2df5d2948889b | diff --git a/airflow/contrib/operators/kubernetes_pod_operator.py b/airflow/contrib/operators/kubernetes_pod_operator.py
index <HASH>..<HASH> 100644
--- a/airflow/contrib/operators/kubernetes_pod_operator.py
+++ b/airflow/contrib/operators/kubernetes_pod_operator.py
@@ -266,9 +266,11 @@ class KubernetesPodOperator(Base... | [AIRFLOW-<I>] Make K8s Pod Operator's `_set_*` methods static (#<I>) | apache_airflow | train |
f7a7c5c9f2e63baf34b0ecc4fd9238f1c203f05a | diff --git a/master/buildbot/test/unit/test_scripts_cleanupdb.py b/master/buildbot/test/unit/test_scripts_cleanupdb.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/test/unit/test_scripts_cleanupdb.py
+++ b/master/buildbot/test/unit/test_scripts_cleanupdb.py
@@ -30,6 +30,7 @@ from buildbot.test.fake import fakemast... | test: Mark TestCleanupDb.test_cleanup as flaky on win<I> | buildbot_buildbot | train |
695ed6ebdb5863b4875b0330ae172c70d4fb5ffb | diff --git a/lang/ar/moodle.php b/lang/ar/moodle.php
index <HASH>..<HASH> 100644
--- a/lang/ar/moodle.php
+++ b/lang/ar/moodle.php
@@ -974,7 +974,7 @@ $string['themes'] = '
$string['themesaved'] = '�� ��� ����� ������';
$string['thischarset'] = 'windows-1256';
$string['thisdirection'] = 'rtl';
-$string['thislanguage... | fixing NCR-notation (see bug <I>) | moodle_moodle | train |
4bc7b67668dfcb841d356a4406530c7797754a01 | diff --git a/hystrix-core/src/main/java/com/netflix/hystrix/HystrixThreadPool.java b/hystrix-core/src/main/java/com/netflix/hystrix/HystrixThreadPool.java
index <HASH>..<HASH> 100644
--- a/hystrix-core/src/main/java/com/netflix/hystrix/HystrixThreadPool.java
+++ b/hystrix-core/src/main/java/com/netflix/hystrix/HystrixT... | Remove outdated comments regarding thread keep alive. | Netflix_Hystrix | train |
f66eec30b56fed91ff5515386b2fb8c322639cc0 | diff --git a/power-adapters/src/main/java/com/nextfaze/poweradapters/ConditionalAdapter.java b/power-adapters/src/main/java/com/nextfaze/poweradapters/ConditionalAdapter.java
index <HASH>..<HASH> 100644
--- a/power-adapters/src/main/java/com/nextfaze/poweradapters/ConditionalAdapter.java
+++ b/power-adapters/src/main/j... | Fix bug where ConditionalAdapter and DelegateAdapter duplicated insertions of child | NextFaze_power-adapters | train |
9903261194dfaefaf785510a08f1b23c31d2e9fd | diff --git a/src/utils/touch.js b/src/utils/touch.js
index <HASH>..<HASH> 100644
--- a/src/utils/touch.js
+++ b/src/utils/touch.js
@@ -10,7 +10,7 @@ export const addTapOrClickHandler = (element, handler) => {
let tap = false;
const touchstart = () => (tap = true);
const touchmove = () => (tap = false);
- cons... | Fix bug in touchend event handler | nathanreyes_v-calendar | train |
cf46a4ab43b4fcf8446f89b075e97a1a91ec5efe | diff --git a/lib/cc/analyzer/plugins.rb b/lib/cc/analyzer/plugins.rb
index <HASH>..<HASH> 100644
--- a/lib/cc/analyzer/plugins.rb
+++ b/lib/cc/analyzer/plugins.rb
@@ -12,7 +12,6 @@ module CC
engine_details.auto_enable_paths.each do |path|
if File.exist?(path)
engine.enabled = true... | When auto-enabling, don't write `config: FILENAME` (#<I>)
This is an older style of config that engines should not rely on
anymore: though some still handle it, others will crash.
When auto-enabling an engine based on the config file existing, the
explicit config should not be needed anyway: since it's the auto-e... | codeclimate_codeclimate | train |
dedf87be3390ef1150ecd76f7e6ac857bb796f54 | diff --git a/src/Ability/Storage.php b/src/Ability/Storage.php
index <HASH>..<HASH> 100644
--- a/src/Ability/Storage.php
+++ b/src/Ability/Storage.php
@@ -18,12 +18,23 @@ trait Storage
public function __construct(array $data = [])
{
if ($data) {
- $this->validate($data);
- $this... | Simplify data replacement in Storage trait | equip_structure | train |
02b745f71c6a695bd148d59150dc66848005366a | diff --git a/extend.js b/extend.js
index <HASH>..<HASH> 100644
--- a/extend.js
+++ b/extend.js
@@ -20,7 +20,8 @@ Ribcage = {
}
this._nukeOnRender = opts._nukeOnRender
- delete opts._nukeOnRender
+ // delete would turn this into a "slow object" in V8, so just set to null
+ opts._nukeOnRender = null
... | Don’t use `delete` it slows down V8 a lot | Techwraith_ribcage-view | train |
4a4a434fe5632553d861f3b440a69a52e6f1f7d4 | diff --git a/thinc/neural/_classes/model.py b/thinc/neural/_classes/model.py
index <HASH>..<HASH> 100644
--- a/thinc/neural/_classes/model.py
+++ b/thinc/neural/_classes/model.py
@@ -274,25 +274,26 @@ class Model(object):
i = 0
for layer in queue:
if hasattr(layer, '_mem'):
- ... | Make order of dicts stable when serialising model | explosion_thinc | train |
58e53399fe69246f66bcf8059ce3ad301c7a20c2 | diff --git a/security.go b/security.go
index <HASH>..<HASH> 100644
--- a/security.go
+++ b/security.go
@@ -229,8 +229,10 @@ func (u *usm) ProcessIncomingMessage(snmp *SNMP, sendMsg, recvMsg message) (err
}
fallthrough
case noSynchronized:
- u.SynchronizeEngineBootsTime(rm.AuthEngineBoots, rm.AuthEngineTime)
-... | fix not perform time synchronization when seclevel is NoAuthNoPriv | k-sone_snmpgo | train |
526fd6b5fb58e2785b94ca8bf935b432d062be5b | diff --git a/rllib/agents/ppo/ppo_tf_policy.py b/rllib/agents/ppo/ppo_tf_policy.py
index <HASH>..<HASH> 100644
--- a/rllib/agents/ppo/ppo_tf_policy.py
+++ b/rllib/agents/ppo/ppo_tf_policy.py
@@ -18,6 +18,7 @@ from ray.rllib.policy.policy import Policy
from ray.rllib.policy.sample_batch import SampleBatch
from ray.rll... | [RLlib] Issue <I>: KL-coeff not stored in persistent policy state. (#<I>) | ray-project_ray | train |
2c83eec1ce09b74cc4c17ee5976c31168087230f | diff --git a/src/Application.php b/src/Application.php
index <HASH>..<HASH> 100644
--- a/src/Application.php
+++ b/src/Application.php
@@ -33,6 +33,10 @@ class Application
private $context;
private $cache;
private $sessionContainerFactory;
+
+ /**
+ * @var ModelBinderRegistry
+ */
protect... | Annotations and restructuring
- Restructured container builder
- Annotated application class
- Cleaned up authentications | ntentan_ntentan | train |
0a30ae533449f9492136c920ef5e376d3d827ff2 | diff --git a/porespy/tools/__funcs__.py b/porespy/tools/__funcs__.py
index <HASH>..<HASH> 100644
--- a/porespy/tools/__funcs__.py
+++ b/porespy/tools/__funcs__.py
@@ -320,15 +320,16 @@ def extract_cylinder(im, r=None, axis=0):
``False``.
"""
- if r is None:
- a = list(im.shape)
- a.pop(... | Using cylindrical_plug function in the extract_cylinder function...much faster | PMEAL_porespy | train |
e5849b485077a57420fdd2ea5bd708c44e774ea8 | diff --git a/lib/temple/generators.rb b/lib/temple/generators.rb
index <HASH>..<HASH> 100644
--- a/lib/temple/generators.rb
+++ b/lib/temple/generators.rb
@@ -118,7 +118,7 @@ module Temple
#
# @api public
class RailsOutputBuffer < StringBuffer
- set_default_options :buffer_class => 'ActionView::Outp... | use ActiveSupport::SafeBuffer | judofyr_temple | train |
7f6f7022b0cfafe738689fa1f38fdc643d347643 | diff --git a/gns3server/modules/virtualbox/__init__.py b/gns3server/modules/virtualbox/__init__.py
index <HASH>..<HASH> 100644
--- a/gns3server/modules/virtualbox/__init__.py
+++ b/gns3server/modules/virtualbox/__init__.py
@@ -89,6 +89,8 @@ class VirtualBox(IModule):
elif not os.access(self._vboxmanage_path, o... | Support to run VirtualBox as another user. | GNS3_gns3-server | train |
e3112ffbf899940923264a6575a3f3a49081a572 | diff --git a/bitstream.go b/bitstream.go
index <HASH>..<HASH> 100644
--- a/bitstream.go
+++ b/bitstream.go
@@ -58,6 +58,15 @@ func NewWriter(w io.Writer) *BitWriter {
return b
}
+func (b *BitWriter) Pending() (byt byte, vals uint8) {
+ return b.b[0], b.count
+}
+
+func (b *BitWriter) Resume(data byte, count uint8)... | make BitWriter "resumable"
useful for when you want to make a copy of the stream.
you can copy the buf, copy the pending bits,
create a new writer, replay the extra bits. | dgryski_go-bitstream | train |
b9ab2c8048d766a6bb4d13f285f8e699304dad6c | diff --git a/provisioner/powershell/provisioner.go b/provisioner/powershell/provisioner.go
index <HASH>..<HASH> 100644
--- a/provisioner/powershell/provisioner.go
+++ b/provisioner/powershell/provisioner.go
@@ -269,6 +269,8 @@ func (p *Provisioner) Provision(ui packer.Ui, comm packer.Communicator) error {
ui.Error(... | Remove script containing PowerShell inline commands from local tmp when done | hashicorp_packer | train |
f8fbe5e5c08a4db0e6c196055b9f9fded0a621c3 | diff --git a/odl/discr/grid.py b/odl/discr/grid.py
index <HASH>..<HASH> 100644
--- a/odl/discr/grid.py
+++ b/odl/discr/grid.py
@@ -722,6 +722,11 @@ class TensorGrid(Set):
>>> g[0] == g[0, :, :, :] == g[0, ...]
True
"""
+ if isinstance(indices, list):
+ new_coord_vecs = [self... | ENH: handle index lists like Numpy in grids and partitions | odlgroup_odl | train |
18d0292fa5e28113d7e72e0b6b8ef304d597587b | diff --git a/app/application/torii-adapter.js b/app/application/torii-adapter.js
index <HASH>..<HASH> 100644
--- a/app/application/torii-adapter.js
+++ b/app/application/torii-adapter.js
@@ -62,23 +62,27 @@ export default Ember.Object.extend({
return this._authenticateWithPayload(tokenPayload);
},
- close(to... | Expose a noClearCookies flag when closing session
This also refactors the session argument to be an options hash rather
than just a token, since we're starting to add multiple arguments.
The use case for the noClearCookies flag is to allow impersonation to
create a user token, persist it to cookies, destroy the admin... | aptible_ember-cli-aptible-shared | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.