instance_id
stringlengths
10
57
file_changes
listlengths
1
15
repo
stringlengths
7
53
base_commit
stringlengths
40
40
problem_statement
stringlengths
11
52.5k
patch
stringlengths
251
7.06M
auth0__auth0-python-354
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "auth0/v3/management/auth0.py:Auth0.__init__" ], "edited_modules": [ "auth0/v3/management/auth0.py:Auth0" ] }, "file": "auth0/v3/management/auth0.py" } ]
auth0/auth0-python
c09e3c289b87b53f70ecd28d45b790ac106f6f31
Version 3.23.0 No longer supports RestClientOptions If you look at the Auth0 class constructor the rest_options parameter is not used. This means rate limit retries will not be used.
diff --git a/auth0/v3/management/auth0.py b/auth0/v3/management/auth0.py index fb6bc90..c28bfcb 100644 --- a/auth0/v3/management/auth0.py +++ b/auth0/v3/management/auth0.py @@ -80,7 +80,15 @@ class Auth0(object): for name, cls in modules.items(): cls = asyncify(cls) - seta...
auth0__auth0-python-40
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "auth0/v2/authentication/users.py:Users.tokeninfo" ], "edited_modules": [ "auth0/v2/authentication/users.py:Users" ] }, "file": "auth0/v2/authentication/users.py" } ]
auth0/auth0-python
013851d48025ec202464721c23d65156cd138565
authentication.Users(client_domain).tokeninfo fails I've got a traceback: ```python In [78]: user_authentication.tokeninfo(id_token) --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-78-decf4417...
diff --git a/auth0/v2/authentication/users.py b/auth0/v2/authentication/users.py index e031a75..bec1b4d 100644 --- a/auth0/v2/authentication/users.py +++ b/auth0/v2/authentication/users.py @@ -46,5 +46,5 @@ class Users(AuthenticationBase): return self.post( url='https://%s/tokeninfo' % self.domain...
auth0__auth0-python-463
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "auth0/v3/management/branding.py:Branding.update_template_universal_login" ], "edited_modules": [ "auth0/v3/management/branding.py:Branding" ] }, "file": "auth0/v3/manag...
auth0/auth0-python
6ebd7a2c4cde47ae0b30c6d4ff9ff32b1cf05bc1
TypeError when updating universal login template <!-- **Please do not report security vulnerabilities here**. The Responsible Disclosure Program (https://auth0.com/whitehat) details the procedure for disclosing security issues. Thank you in advance for helping us to improve this library! Please read through the tem...
diff --git a/auth0/v3/management/branding.py b/auth0/v3/management/branding.py index 644e441..0fc09cc 100644 --- a/auth0/v3/management/branding.py +++ b/auth0/v3/management/branding.py @@ -91,6 +91,5 @@ class Branding(object): return self.client.put( self._url("templates", "universal-login"), - ...
auth0__auth0-python-477
[ { "changes": { "added_entities": [ "auth0/management/branding.py:Branding.get_default_branding_theme", "auth0/management/branding.py:Branding.get_branding_theme", "auth0/management/branding.py:Branding.delete_branding_theme", "auth0/management/branding.py:Branding.update_br...
auth0/auth0-python
1a1b97594e13a3be7a522657c133a528a6992286
Add support for latest /branding endpoints There are additional endpoints available for **Branding**, `/api/v2/branding/themes` and they are not available in the latest version (4.0.0): [Branding/get_default_branding_theme](https://auth0.com/docs/api/management/v2#!/Branding/get_default_branding_theme) [Branding...
diff --git a/auth0/management/branding.py b/auth0/management/branding.py index 38084a9..7d60cc5 100644 --- a/auth0/management/branding.py +++ b/auth0/management/branding.py @@ -93,3 +93,56 @@ class Branding: self._url("templates", "universal-login"), body={"template": body}, ) + + ...
auth0__auth0-python-484
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "auth0/authentication/get_token.py:GetToken.login" ], "edited_modules": [ "auth0/authentication/get_token.py:GetToken" ] }, "file": "auth0/authentication/get_token.py" ...
auth0/auth0-python
1e2b7be44da8ff981b63758497feb2c6b39209ed
Outdated Readme.md <!-- **Please do not report security vulnerabilities here**. The Responsible Disclosure Program (https://auth0.com/whitehat) details the procedure for disclosing security issues. Thank you in advance for helping us to improve this library! Please read through the template below and answer all rel...
diff --git a/auth0/authentication/get_token.py b/auth0/authentication/get_token.py index bb697a2..4986e55 100644 --- a/auth0/authentication/get_token.py +++ b/auth0/authentication/get_token.py @@ -118,9 +118,9 @@ class GetToken(AuthenticationBase): self, username, password, - scope, - ...
auth0__auth0-python-499
[ { "changes": { "added_entities": [ "auth0/asyncify.py:AsyncManagementClient.__init__", "auth0/asyncify.py:AsyncAuthenticationClient.__init__" ], "added_modules": [ "auth0/asyncify.py:AsyncManagementClient", "auth0/asyncify.py:AsyncAuthenticationClient" ], ...
auth0/auth0-python
53c326a8e4828c4f552169e6167c7f2f8aa46205
GetToken and asyncify: Algorithm not supported ### Checklist - [X] I have looked into the [Readme](https://github.com/auth0/auth0-python#readme) and [Examples](https://github.com/auth0/auth0-python/blob/master/EXAMPLES.md), and have not found a suitable solution or answer. - [X] I have looked into the [API document...
diff --git a/auth0/asyncify.py b/auth0/asyncify.py index d57bc70..091d049 100644 --- a/auth0/asyncify.py +++ b/auth0/asyncify.py @@ -1,5 +1,7 @@ import aiohttp +from auth0.authentication.base import AuthenticationBase +from auth0.rest import RestClientOptions from auth0.rest_async import AsyncRestClient @@ -19,...
auth0__auth0-python-500
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "auth0/management/connections.py:Connections.all" ], "edited_modules": [ "auth0/management/connections.py:Connections" ] }, "file": "auth0/management/connections.py" }...
auth0/auth0-python
0bf017662f79e2498264c8298a785dbc1f55a091
Connections.all() should accept name ### Checklist - [X] I have looked into the [Readme](https://github.com/auth0/auth0-python#readme) and [Examples](https://github.com/auth0/auth0-python/blob/master/EXAMPLES.md), and have not found a suitable solution or answer. - [X] I have looked into the [API documentation](https:...
diff --git a/auth0/management/connections.py b/auth0/management/connections.py index d807607..b6492bf 100644 --- a/auth0/management/connections.py +++ b/auth0/management/connections.py @@ -52,6 +52,7 @@ class Connections: page=None, per_page=None, extra_params=None, + name=None, )...
auth0__auth0-python-501
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "auth0/authentication/get_token.py:GetToken.login" ], "edited_modules": [ "auth0/authentication/get_token.py:GetToken" ] }, "file": "auth0/authentication/get_token.py" ...
auth0/auth0-python
5c818868ba2684fbf770365cd6dac5192a3436c9
Add X-Forwarded-For header to Get Token requests [SDK-1941] **Please do not report security vulnerabilities here**. The [Responsible Disclosure Program](https://auth0.com/whitehat) details the procedure for disclosing security issues. **Thank you in advance for helping us to improve this library!** Your attention to...
diff --git a/auth0/authentication/get_token.py b/auth0/authentication/get_token.py index 9de8929..a7321b8 100644 --- a/auth0/authentication/get_token.py +++ b/auth0/authentication/get_token.py @@ -125,6 +125,7 @@ class GetToken(AuthenticationBase): realm: str | None = None, audience: str | None = None...
auth0__auth0-python-518
[ { "changes": { "added_entities": [ "auth0/rest.py:RestClient._request" ], "added_modules": null, "edited_entities": [ "auth0/rest.py:RestClient.__init__", "auth0/rest.py:RestClient.get", "auth0/rest.py:RestClient.post", "auth0/rest.py:RestClient.fi...
auth0/auth0-python
730b9f54497ba9db34b1b0d89c9bda4f0be26017
Retries implementation of rest.py missing for POST/PATCH/PUT/DELETE ### Checklist - [X] I have looked into the [Readme](https://github.com/auth0/auth0-python#readme) and [Examples](https://github.com/auth0/auth0-python/blob/master/EXAMPLES.md), and have not found a suitable solution or answer. - [X] I have looked into...
diff --git a/auth0/rest.py b/auth0/rest.py index 41282b7..0b91323 100644 --- a/auth0/rest.py +++ b/auth0/rest.py @@ -1,9 +1,9 @@ from __future__ import annotations import base64 -import json import platform import sys +from json import dumps, loads from random import randint from time import sleep from typing ...
auth0__auth0-python-537
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "auth0/management/organizations.py:Organizations.all_organization_members" ], "edited_modules": [ "auth0/management/organizations.py:Organizations" ] }, "file": "auth0/m...
auth0/auth0-python
32a8cc8d23a0df5ecb57f72ed8b5f899a2dbef76
`get_all_organization_members` should support `fields` ### Checklist - [X] I have looked into the [Readme](https://github.com/auth0/auth0-python#readme) and [Examples](https://github.com/auth0/auth0-python/blob/master/EXAMPLES.md), and have not found a suitable solution or answer. - [X] I have looked into the [API doc...
diff --git a/auth0/management/organizations.py b/auth0/management/organizations.py index 940aef7..dabaf6c 100644 --- a/auth0/management/organizations.py +++ b/auth0/management/organizations.py @@ -246,9 +246,14 @@ class Organizations: include_totals: bool = True, from_param: str | None = None, ...
auth0__auth0-python-556
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "auth0/rest_async.py:AsyncRestClient._request" ], "edited_modules": [ "auth0/rest_async.py:AsyncRestClient" ] }, "file": "auth0/rest_async.py" } ]
auth0/auth0-python
5dce1cce05bb311d4bf33fe8fbda2aa6deab8d75
Getting an error coroutine 'AsyncRestClient._request_with_session' was never awaited ### Checklist - [X] I have looked into the [Readme](https://github.com/auth0/auth0-python#readme) and [Examples](https://github.com/auth0/auth0-python/blob/master/EXAMPLES.md), and have not found a suitable solution or answer. - [X] I...
diff --git a/auth0/rest_async.py b/auth0/rest_async.py index 0581b81..0c4e285 100644 --- a/auth0/rest_async.py +++ b/auth0/rest_async.py @@ -86,11 +86,11 @@ class AsyncRestClient(RestClient): kwargs["timeout"] = self.timeout if self._session is not None: # Request with re-usable session -...
auth0__auth0-python-64
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "auth0/v3/authentication/base.py:AuthenticationBase._process_response" ], "edited_modules": [ "auth0/v3/authentication/base.py:AuthenticationBase" ] }, "file": "auth0/v3...
auth0/auth0-python
0d7decce20e04703d11a614bffc8f9d9f6e9723e
Auth0Error not being raised due to inconsistent API error responses Currently `Auth0Error` is raised whenever the API response contains an `error` key in the response JSON. Unfortunately at least one endpoint (`/dbconnections/signup`) returns inconsistent error messages (that do not always contain the `error` key) for ...
diff --git a/auth0/v3/authentication/base.py b/auth0/v3/authentication/base.py index b4ccd1d..778912c 100644 --- a/auth0/v3/authentication/base.py +++ b/auth0/v3/authentication/base.py @@ -19,8 +19,8 @@ class AuthenticationBase(object): except ValueError: return response.text else: - ...
automl__DEHB-57
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/dehb/optimizers/de.py:DEBase.vector_to_configspace", "src/dehb/optimizers/de.py:DEBase.configspace_to_vector" ], "edited_modules": [ "src/dehb/optimizers/de.py:DEBase" ...
automl/DEHB
073a633e6c689fe4a0d184ee256a0a05ccf76c74
No support for Constant type in vector_to_configspace() and configspace_to_vector() Hello, I've been working with DEHB on my dataset and came across an issue with the processing of ConfigSpace in the `de.py` file. Specifically, in the functions `vector_to_configspace()` and `configspace_to_vector()`, there seems to ...
diff --git a/src/dehb/optimizers/de.py b/src/dehb/optimizers/de.py index 4c27166..d1227f5 100644 --- a/src/dehb/optimizers/de.py +++ b/src/dehb/optimizers/de.py @@ -160,6 +160,8 @@ class DEBase(): elif type(hyper) == ConfigSpace.CategoricalHyperparameter: ranges = np.arange(start=0, stop=1...
automl__SMAC3-1069
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "smac/intensifier/abstract_intensifier.py:AbstractIntensifier.update_incumbents" ], "edited_modules": [ "smac/intensifier/abstract_intensifier.py:AbstractIntensifier" ] }, ...
automl/SMAC3
d58d5b1e74bf107b2a85913ac062b776f13f2cc6
Racing: Configs worse than existing incumbent are not rejected `bug` <!-- Instructions For Filing a Bug: https://github.com/automl/SMAC3/blob/master/CONTRIBUTING.md --> #### Description <!-- Describe what you wanted to do --> I wanted to use the tell-interface of the HPOFacade (which uses racing for intensificatio...
diff --git a/CHANGELOG.md b/CHANGELOG.md index aa2d5ae48..5ffa77ab5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,9 @@ # 2.0.3 ## Bugfixes -- Add OrdinalHyperparameter for random forest imputer (#1065). - Fix path for dask scheduler file (#1055). +- Add OrdinalHyperparameter for random forest imputer (#1...
automl__SMAC3-368
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "smac/facade/func_facade.py:fmin_smac" ], "edited_modules": [ "smac/facade/func_facade.py:fmin_smac" ] }, "file": "smac/facade/func_facade.py" } ]
automl/SMAC3
dc8ebc9763d15516d4f96c32e75c431783487845
Wrong parameters order Hi all, we have realized that when using fmin_smac, the input parameters given to the function are processed in the wrong order if their count is higher than 9. For instance when executing this command: x, cost, _ = fmin_smac(func=to_minimize, x0=[0.5, 20, 0.7,...
diff --git a/smac/facade/func_facade.py b/smac/facade/func_facade.py index c747fd01b..5a5aefc74 100644 --- a/smac/facade/func_facade.py +++ b/smac/facade/func_facade.py @@ -52,8 +52,12 @@ def fmin_smac(func: callable, """ # create configuration space cs = ConfigurationSpace() + + # Adjust zero padding...
automl__SMAC3-389
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "examples/branin/restore_state.py:main" ], "edited_modules": [ "examples/branin/restore_state.py:main" ] }, "file": "examples/branin/restore_state.py" }, { "chan...
automl/SMAC3
4e3816d77bc3d2b5406bb71b2fe93da2831ebb0f
Path to scenario folder to restore state Hi, I was running the example on restoring the state for the branin function and I run into this error ``` INFO:smac.scenario.scenario.Scenario:Output to restored Output directory= restore_me/run_1 ['traj_old.csv', 'scenario.txt', 'runhistory.json', 'param_config_space....
diff --git a/examples/branin/restore_state.py b/examples/branin/restore_state.py index 12cb6b51d..55cce7426 100644 --- a/examples/branin/restore_state.py +++ b/examples/branin/restore_state.py @@ -23,12 +23,15 @@ def main(): 'deterministic' : True, 'output_dir' : 'restore_me'} original_scenario =...
automl__SMAC3-418
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "examples/rosenbrock.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "smac/facade/s...
automl/SMAC3
a83dcd7169ea5141ca20cc47e25a38a423e2820d
Add seed to output directory name In order to have an overview of what has been run one would sometimes like to know the seed of previous runs. One solution would be to store it in the output directory name, but this isn't as easy as it sounds as the scenario object does not know the seed for the SMAC object.
diff --git a/README.md b/README.md index 59ed9407c..797a06a81 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,12 @@ # SMAC v3 Project -Copyright (C) 2017 [ML4AAD Group](http://www.ml4aad.org/) +Copyright (C) 2016-2018 [ML4AAD Group](http://www.ml4aad.org/) -__Attention__: This package is under heavy developmen...
automl__SMAC3-420
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "examples/rosenbrock.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "smac/facade/s...
automl/SMAC3
a83dcd7169ea5141ca20cc47e25a38a423e2820d
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. ### [Codacy](https://app.codacy.com/app/KEggensperger/SMAC3/commit?cid=196076701) detected an issue: #### Message: `Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.` ###...
diff --git a/README.md b/README.md index 59ed9407c..797a06a81 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,12 @@ # SMAC v3 Project -Copyright (C) 2017 [ML4AAD Group](http://www.ml4aad.org/) +Copyright (C) 2016-2018 [ML4AAD Group](http://www.ml4aad.org/) -__Attention__: This package is under heavy developmen...
automl__SMAC3-490
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "smac/utils/io/cmd_reader.py:ReadPCSFileAction.__call__" ], "edited_modules": [ "smac/utils/io/cmd_reader.py:ReadPCSFileAction" ] }, "file": "smac/utils/io/cmd_reader.py...
automl/SMAC3
d668494b5ea23a0a6e1d60cceabddd526dac2228
.pcs read and write error #### Description .pcs file read and write does not work #### Steps/Code to Reproduce ``` #!/usr/bin/env python from smac.configspace import (ConfigurationSpace, Configuration) from ConfigSpace.hyperparameters import (CategoricalHyperparameter, ...
diff --git a/smac/utils/io/cmd_reader.py b/smac/utils/io/cmd_reader.py index 74d6f2f7b..129480a2f 100644 --- a/smac/utils/io/cmd_reader.py +++ b/smac/utils/io/cmd_reader.py @@ -134,19 +134,8 @@ class ReadPCSFileAction(Action): fn = values if fn: if os.path.isfile(fn): - # T...
automl__SMAC3-610
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "examples/SMAC4HPO_mlp_hyperband.py:mlp_from_cfg" ], "edited_modules": [ "examples/SMAC4HPO_mlp_hyperband.py:mlp_from_cfg" ] }, "file": "examples/SMAC4HPO_mlp_hyperband....
automl/SMAC3
92cabfeb089f9c9bda784eb1027cd1567bc5cc5d
Fix/Extend BOHB * BOHB facade should inherit from the existing SMAC4HPO facade * unit tests for the new functions in rh2epm and runhistory to test the selection with budgets (https://github.com/automl/SMAC3/pull/569) * Change the SH and HB examples to use the new facade.
diff --git a/ci_scripts/run_examples.sh b/ci_scripts/run_examples.sh index aff344e63..5a5aba087 100755 --- a/ci_scripts/run_examples.sh +++ b/ci_scripts/run_examples.sh @@ -17,6 +17,13 @@ if [ "$rval" != 0 ]; then echo "Error running example QCP" exit $rval fi +python SMAC4AC_spear_qcp.py +rval=$? +if [ "$rv...
automl__SMAC3-872
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "examples/python/plot_simple_multi_objective.py:plot" ], "edited_modules": [ "examples/python/plot_simple_multi_objective.py:plot" ] }, "file": "examples/python/plot_sim...
automl/SMAC3
9b5e3b060fd5e10c724b1a255f8367ca4f4bd2f4
Integrate Multi-Objective caching The runhistory caching does not work for MO right now. Steps to do: - Call `update_cost` if `num_obj` > 1 in _add - Check if costs are cached in intensifier Idea: Save metrics and average/normalize only if `get_cost()` is called.
diff --git a/changelog.md b/changelog.md index 07965ca22..f23630226 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,11 @@ +# 1.4.0 + +## Improvements +* Enabled caching for multi-objectives (#872). Costs are now normalized in `get_cost` +or optionally in `average_cost`/`sum_cost`/`min_cost` to receive a single...
autrainer__autrainer-105
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "autrainer/core/scripts/preprocess_script.py:preprocess_main" ], "edited_modules": [ "autrainer/core/scripts/preprocess_script.py:preprocess_main" ] }, "file": "autraine...
autrainer/autrainer
f223cf13c1b9ccd21d120f46677fd862385033f9
Preprocessing Removes Dataset Subdirectories There seems to be an issue with removing relevant subdirectories here: https://github.com/autrainer/autrainer/blob/f223cf13c1b9ccd21d120f46677fd862385033f9/autrainer/core/scripts/preprocess_script.py#L104 If the `default` directory contains subdirs like `train`, (e.g., file...
diff --git a/autrainer/core/scripts/preprocess_script.py b/autrainer/core/scripts/preprocess_script.py index fb64c9b..860c701 100644 --- a/autrainer/core/scripts/preprocess_script.py +++ b/autrainer/core/scripts/preprocess_script.py @@ -31,12 +31,12 @@ def preprocess_main( num_workers: int, update_frequency: ...
autrainer__autrainer-115
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "autrainer/transforms/specific_transforms.py:Standardizer.__init__", "autrainer/transforms/specific_transforms.py:Standardizer._collect_data", "autrainer/transforms/specific_transforms.py...
autrainer/autrainer
174668001c70c03ef6f19ff60a232c473cc1f016
Resolve Global Standardizer based on Transform Order The `Standardizer` transform was refactored in https://github.com/autrainer/autrainer/pull/82, allowing it to calculate the mean and std deviation on the fly before training for a specific subset. For simplicity, the transform has to be placed at the beginning of the...
diff --git a/autrainer/transforms/specific_transforms.py b/autrainer/transforms/specific_transforms.py index 17867ec..cf95104 100644 --- a/autrainer/transforms/specific_transforms.py +++ b/autrainer/transforms/specific_transforms.py @@ -18,6 +18,7 @@ from transformers import ( ) from .abstract_transform import Abst...
autrainer__autrainer-77
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "autrainer/datasets/abstract_dataset.py:BaseMTRegressionDataset.target_transform" ], "edited_modules": [ "autrainer/datasets/abstract_dataset.py:BaseMTRegressionDataset" ] }...
autrainer/autrainer
68b19a83061f99988dc4a20d6c4aece9911acd58
Add Tests for BaseMTRegressionDataset We test all base datasets in `test_datasets.py`, however the corresponding tests for `BaseMTRegressionDataset` are still missing.
diff --git a/autrainer/datasets/abstract_dataset.py b/autrainer/datasets/abstract_dataset.py index 773d350..abf25bb 100644 --- a/autrainer/datasets/abstract_dataset.py +++ b/autrainer/datasets/abstract_dataset.py @@ -669,7 +669,7 @@ class BaseMTRegressionDataset(AbstractDataset): @cached_property def target_t...
autrainer__autrainer-85
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "autrainer/core/wrappers/instantiate.py:instantiate", "autrainer/core/wrappers/instantiate.py:instantiate_shorthand" ], "edited_modules": [ "autrainer/core/wrappers/instantiat...
autrainer/autrainer
c25132ee008508fb9cbd941724c6e9bfe86a0a4b
Per-Example Loss Values are Wrong for BalancedCrossEntropyLoss In our current implementation of the `BalancedCrossEntropyLoss` we calculate the class weights based on the inverse frequency of each class in the training subset, which is correct. However, we have an oversight that we normalize the weights to sum up to `1...
diff --git a/autrainer/core/wrappers/instantiate.py b/autrainer/core/wrappers/instantiate.py index f857da5..800e953 100644 --- a/autrainer/core/wrappers/instantiate.py +++ b/autrainer/core/wrappers/instantiate.py @@ -36,7 +36,7 @@ def instantiate( convert: Optional[HydraConvertEnum] = None, recursive: bool = ...
avilum__linqit-8
[ { "changes": { "added_entities": [ "linqit/__init__.py:List.order_by" ], "added_modules": null, "edited_entities": null, "edited_modules": [ "linqit/__init__.py:List" ] }, "file": "linqit/__init__.py" } ]
avilum/linqit
34f7891d1621a6463d4a30271abe54822aef8f97
Add support for order_by? Hey, great library. I would love to do something like this but seems to just use the substandard built-in list implementation which returns None: ```python people = List() people.append(Person("Michael", 47)) people.append(Person("Sarah", 50)) people.append(Person("Jake", 42)) older ...
diff --git a/linqit/__init__.py b/linqit/__init__.py index 05260a1..af20d43 100644 --- a/linqit/__init__.py +++ b/linqit/__init__.py @@ -3,7 +3,7 @@ from itertools import chain DEFAULT_LAZY = True -# A default variable for the fucntion, so None as an argument will be valid, but not default. +# A default variable f...
awdeorio__mailmerge-101
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mailmerge/template_message.py:TemplateMessage._make_message_multipart" ], "edited_modules": [ "mailmerge/template_message.py:TemplateMessage" ] }, "file": "mailmerge/te...
awdeorio/mailmerge
d08667a8f2a7a9e7ad64e58c2bc049a80726bf3c
Content-Type gets overwritten to text/plain with attachment Template: ``` From: a@example.invalic TO: b@example.invalic SUBJECT: Hello ATTACHMENT: a.txt CONTENT-TYPE: text/html <html> <body> <p>Hi,</p> </body> </html> ``` command: `mailmerge --database database.csv --template 04.tpl --output-forma...
diff --git a/mailmerge/template_message.py b/mailmerge/template_message.py index 135bba8..9a12fc4 100644 --- a/mailmerge/template_message.py +++ b/mailmerge/template_message.py @@ -115,9 +115,11 @@ class TemplateMessage(object): # Copy text, preserving original encoding original_text = self._message...
awdeorio__mailmerge-115
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mailmerge/template_message.py:TemplateMessage._make_message_multipart", "mailmerge/template_message.py:TemplateMessage._transform_markdown" ], "edited_modules": [ "mailmerge/...
awdeorio/mailmerge
0dcd140df37163daf5d949881304e383dca62bcb
Apple Mail with attachments issue (former title: UTF-8 support issue) I have tried sending PDFs (diplomas) to participants of an event, and I've used UTF-8 in file names as well as in the body of the text. The result was pretty mixed: some mail clients displayed only the text, others just the attachment. How stable...
diff --git a/mailmerge/template_message.py b/mailmerge/template_message.py index 9ea5caa..638e141 100644 --- a/mailmerge/template_message.py +++ b/mailmerge/template_message.py @@ -1,3 +1,5 @@ +# coding=utf-8 +# Python 2 source containing unicode https://www.python.org/dev/peps/pep-0263/ """ Represent a templated ema...
awdeorio__mailmerge-135
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mailmerge/__main__.py:read_csv_database" ], "edited_modules": [ "mailmerge/__main__.py:read_csv_database" ] }, "file": "mailmerge/__main__.py" } ]
awdeorio/mailmerge
930bc506f0f8d0c9c057019c399a491c1641909c
CSV with BOM It looks like Excel will sometimes save a file with Byte Order Mark (BOM). When the mailmerge database contains a BOM, it can't seem to find the first header key. `mailmerge_template.txt`: ``` TO: {{email}} FROM: My Self <myself@mydomain.com> Hello {{name}} ``` `mailmerge_database.csv`: ``` ...
diff --git a/mailmerge/__main__.py b/mailmerge/__main__.py index 2f24cb1..a364548 100644 --- a/mailmerge/__main__.py +++ b/mailmerge/__main__.py @@ -261,13 +261,18 @@ def read_csv_database(database_path): We'll use a class to modify the csv library's default dialect ('excel') to enable strict syntax checking....
awdeorio__mailmerge-144
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mailmerge/template_message.py:TemplateMessage._make_message_multipart" ], "edited_modules": [ "mailmerge/template_message.py:TemplateMessage" ] }, "file": "mailmerge/te...
awdeorio/mailmerge
1a695a7b02b12418a197ae291554452c9c936c9d
Inline images not working in thunderbird? I am trying to use an inline image as described in the `readme.md` and at first sight it is working, but not consistently for different mail readers. Here is my template: ``` To: {{email}} Subject: Hi From: Foo Bar <foo.bar@xxx.com> Attachment: logo.png Content-Type:...
diff --git a/mailmerge/template_message.py b/mailmerge/template_message.py index 936041c..aa92489 100644 --- a/mailmerge/template_message.py +++ b/mailmerge/template_message.py @@ -87,7 +87,7 @@ class TemplateMessage: Convert self._message into a multipart message. Specifically, if the message's con...
awdeorio__mailmerge-155
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mailmerge/sendmail_client.py:SendmailClient.sendmail_ssltls" ], "edited_modules": [ "mailmerge/sendmail_client.py:SendmailClient" ] }, "file": "mailmerge/sendmail_clien...
awdeorio/mailmerge
e23b6071ba4f6a3b6ef1b7b7520e13fcc7013756
Load system default SSL cert This issue applies to the SMTP SSL security mode. Use the system's default SSL certificate chain. From https://docs.python.org/3/library/smtplib.html : > Please use [ssl.SSLContext.load_cert_chain()](https://docs.python.org/3/library/ssl.html#ssl.SSLContext.load_cert_chain) instead, ...
diff --git a/mailmerge/sendmail_client.py b/mailmerge/sendmail_client.py index 80d0a89..d0bde46 100644 --- a/mailmerge/sendmail_client.py +++ b/mailmerge/sendmail_client.py @@ -10,6 +10,7 @@ import configparser import getpass import datetime import base64 +import ssl from . import exceptions # Type to store info...
awdeorio__mailmerge-60
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mailmerge/template_message.py:TemplateMessage._make_message_multipart", "mailmerge/template_message.py:TemplateMessage._transform_markdown" ], "edited_modules": [ "mailmerge/...
awdeorio/mailmerge
8f6f9468a511d942b220ec1a660aa8c2f394fadb
Doesn't use charset=utf-8 when using markdown Sending a message with special characters gives good results. ``` TO: {{email}} SUBJECT: Testing mailmerge FROM: test@example.com Hi, {{name}}, æøå ``` outputs ``` >>> encoding utf-8 >>> message 0 TO: mail@larskarbo.no SUBJECT: Testing mailmerge FROM: test...
diff --git a/mailmerge/template_message.py b/mailmerge/template_message.py index 0366d6e..a442cfc 100644 --- a/mailmerge/template_message.py +++ b/mailmerge/template_message.py @@ -93,38 +93,67 @@ class TemplateMessage(object): def _make_message_multipart(self): """Convert a message into a multipart mes...
awdeorio__mailmerge-65
[ { "changes": { "added_entities": [ "mailmerge/template_message.py:is_ascii" ], "added_modules": [ "mailmerge/template_message.py:is_ascii" ], "edited_entities": [ "mailmerge/template_message.py:TemplateMessage.render", "mailmerge/template_message.py:...
awdeorio/mailmerge
b602d5df543e966a1bb9aca4ed232c9b85896895
Chardet specifies wrong encoding with emoji ## Tl;dr It looks like `chardet` doesn't always get the encoding right — in a message containing emoji, `chardet` reported (with low confidence) that the message was encoded in [Windows-1252](https://en.wikipedia.org/wiki/Windows-1252). Python throws an exception when trying...
diff --git a/mailmerge/template_message.py b/mailmerge/template_message.py index a442cfc..edee1c5 100644 --- a/mailmerge/template_message.py +++ b/mailmerge/template_message.py @@ -14,7 +14,6 @@ import future.backports.email.utils import future.backports.email.generator import markdown import jinja2 -import chardet ...
awdeorio__mailmerge-79
[ { "changes": { "added_entities": [ "mailmerge/__main__.py:print_cyan", "mailmerge/__main__.py:print_bright_white_on_cyan", "mailmerge/__main__.py:print_message", "mailmerge/__main__.py:is_attachment" ], "added_modules": [ "mailmerge/__main__.py:print_cya...
awdeorio/mailmerge
f739e9631354e49dc3689730fdadf3d1a0482f14
Terminal output with utf8 Decode utf-8 messages printed to stdout. The current behavior is to print base64-encoded messages, which are hard to verify. ## Example `mailmerge_template.txt` with unicode characters, including emoji. ``` TO: to@test.com FROM: from@test.com Laȝamon 😀 klâwen ``` `mailmerge_d...
diff --git a/.gitignore b/.gitignore index 81682ce..2ebcb05 100644 --- a/.gitignore +++ b/.gitignore @@ -25,5 +25,5 @@ build/ # Test tools /.tox/ /tmp/ -/.coverage +/.coverage* *,cover diff --git a/mailmerge/__main__.py b/mailmerge/__main__.py index 935d862..b59bb64 100644 --- a/mailmerge/__main__.py +++ b/mailmerg...
awdeorio__mailmerge-95
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mailmerge/template_message.py:TemplateMessage._make_message_multipart" ], "edited_modules": [ "mailmerge/template_message.py:TemplateMessage" ] }, "file": "mailmerge/te...
awdeorio/mailmerge
a95c4951e91edac5c7bfa5e19f2389c7e4657d47
With attachments its send duplicate header of Content Type This is the email header with attachment . Without attachment is okay > Content-Type: multipart/alternative; boundary="===============6399458286909476==" > MIME-Version: 1.0 > Content-Type: multipart/alternative; boundary="===============6399458286909476==...
diff --git a/mailmerge/template_message.py b/mailmerge/template_message.py index c90c505..135bba8 100644 --- a/mailmerge/template_message.py +++ b/mailmerge/template_message.py @@ -102,8 +102,13 @@ class TemplateMessage(object): # Create empty multipart message multipart_message = email.mime.multipart...
awelzel__flake8-gl-codeclimate-15
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "flake8_gl_codeclimate/__init__.py:GitlabCodeClimateFormatter._violation_to_codeclimate_issue" ], "edited_modules": [ "flake8_gl_codeclimate/__init__.py:GitlabCodeClimateFormatter" ...
awelzel/flake8-gl-codeclimate
91c89ebe0c455815653bc66e5e75e6a80e51d4de
Fix relative file path Thanks for this great utility. We've been using it for several months. I noticed today that the reported violations do not show up in the diff view on a merge request (it's an Ultimate feature). The reason seems to be that the relative file path starts with `./` whereas GitLab seems to expect ...
diff --git a/flake8_gl_codeclimate/__init__.py b/flake8_gl_codeclimate/__init__.py index 6ef76ba..3f4ac5d 100644 --- a/flake8_gl_codeclimate/__init__.py +++ b/flake8_gl_codeclimate/__init__.py @@ -115,7 +115,7 @@ class GitlabCodeClimateFormatter(BaseFormatter): # issue, including deeper explanations and li...
awisu2__imagenatepy-3
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/imagenate/sample.py:hello" ], "edited_modules": [ "src/imagenate/sample.py:hello" ] }, "file": "src/imagenate/sample.py" } ]
awisu2/imagenatepy
747131c2a92fb2a09c1fed5ac56d62b354a7d02c
unittest <!-- Edit the body of your new issue then click the ✓ "Create Issue" button in the top right of the editor. The first line will be the issue title. Assignees and Labels follow after a blank line. Leave an empty line before beginning the body of the issue. -->
diff --git a/setup.cfg b/setup.cfg index 581b2a7..e469e17 100644 --- a/setup.cfg +++ b/setup.cfg @@ -36,6 +36,9 @@ package_dir = # entry_pointの設定を外部ファイルにする場合 # entry_points = file: entry_points.cfg +# テストモジュールのあるディレクトリ +test_suite=tests + # options.packages = find: の引数 [options.packages.find] where=src diff --gi...
aws-cloudformation__cloudformation-cli-874
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/rpdk/core/boto_helpers.py:create_sdk_session" ], "edited_modules": [ "src/rpdk/core/boto_helpers.py:create_sdk_session" ] }, "file": "src/rpdk/core/boto_helpers.py"...
aws-cloudformation/cloudformation-cli
89b73d3cf0dcd198d555228fb10ac12539c56604
cfn CLI needs a way to specify --profile We use a lot of profiles (multiple gov profiles, seller profiles, commercial profiles etc.) Since cfn command can only use default profile, we have to manually edit credentials file to switch between profiles. This makes it hard to automate testing and publishing. This also ...
diff --git a/doc_source/resource-type-cli-invoke.md b/doc_source/resource-type-cli-invoke.md index c79b008..3289a35 100755 --- a/doc_source/resource-type-cli-invoke.md +++ b/doc_source/resource-type-cli-invoke.md @@ -10,6 +10,7 @@ Performs contract tests on the specified handler of a resource type\. cfn invoke [--e...
aws-cloudformation__cloudformation-cli-937
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/rpdk/core/contract/resource_generator.py:terminate_regex", "src/rpdk/core/contract/resource_generator.py:ResourceGenerator.generate_string_strategy" ], "edited_modules": [ ...
aws-cloudformation/cloudformation-cli
86f6528c9285f4fce33bc56f3f836c2e68d0b825
The pypi release github action needs to be updated ``` You are using "pypa/gh-action-pypi-publish@master". The "master" branch of this project has been sunset and will not receive any updates, not even security bug fixes. Please, make sure to use a supported version. If you want to pin to v1 major version, use "p...
diff --git a/.github/workflows/pypi-release.yaml b/.github/workflows/pypi-release.yaml index b893ac7..4a56df5 100644 --- a/.github/workflows/pypi-release.yaml +++ b/.github/workflows/pypi-release.yaml @@ -22,6 +22,6 @@ jobs: run: | python setup.py sdist bdist_wheel - name: Publish distribution 📦 t...
aws-cloudformation__cloudformation-cli-958
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/rpdk/core/contract/hook_client.py:HookClient.__init__", "src/rpdk/core/contract/hook_client.py:HookClient.call" ], "edited_modules": [ "src/rpdk/core/contract/hook_client...
aws-cloudformation/cloudformation-cli
b8f69bb0345a033ba44516637e5d8a42d87a1608
Add option to specify the typeconfiguration.json file to use Testing / submitting hooks/resources requires copying over specific typeconfiguration.json files to ~/.cfn-cli/typeConfiguration.json It would be useful to either default to the local resource/hook directory where the cfn commands are being run and/or be a...
diff --git a/.pylintrc b/.pylintrc index 75a3f8c..2b4fb64 100644 --- a/.pylintrc +++ b/.pylintrc @@ -22,3 +22,6 @@ good-names=e,ex,f,fp,i,j,k,n,_ indent-string=' ' max-line-length=160 + +[DESIGN] +max-locals=16 diff --git a/README.md b/README.md index 703c35f..64d4fa0 100644 --- a/README.md +++ b/README.md @@ -6...
aws-cloudformation__cloudformation-cli-python-plugin-208
[ { "changes": { "added_entities": [ "python/rpdk/python/codegen.py:Python36LanguagePlugin._update_pip_command" ], "added_modules": null, "edited_entities": [ "python/rpdk/python/codegen.py:Python36LanguagePlugin._docker_build" ], "edited_modules": [ "py...
aws-cloudformation/cloudformation-cli-python-plugin
7262fc473b6b5f8fccae1ffd4eae5fc72fdb98bf
Docker build not supported on windows: module 'os' has no attribute 'geteuid' I didn't see not supporting Windows called out anywhere in the readme Repro steps install: ``` pip install cloudformation-cli pip install git+https://github.com/aws-cloudformation/aws-cloudformation-rpdk-python-plugin.git#egg=cloudform...
diff --git a/python/rpdk/python/codegen.py b/python/rpdk/python/codegen.py index 0ceaab8..00c653c 100644 --- a/python/rpdk/python/codegen.py +++ b/python/rpdk/python/codegen.py @@ -248,6 +248,17 @@ class Python36LanguagePlugin(LanguagePlugin): self._pip_build(base_path) LOG.debug("Dependencies bui...
aws-cloudformation__cloudformation-cli-python-plugin-236
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "python/rpdk/python/codegen.py:Python36LanguagePlugin._pip_build" ], "edited_modules": [ "python/rpdk/python/codegen.py:Python36LanguagePlugin" ] }, "file": "python/rpdk...
aws-cloudformation/cloudformation-cli-python-plugin
1866ad7cd1b3c000cf9ce07ee90421a8788dc766
It looks like the upgrade to 2.1.6 has broken dependency installation in `cfn submit --dry-run` The pip installation in `cfn submit` appears to log pip usage instructions to stdout instead of actually installing the depenencies. If we downgrade to 2.1.5 then the dependencies are included in the build dir. If we r...
diff --git a/README.md b/README.md index cd5ec66..6854fe5 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,14 @@ This plugin library helps to provide runtime bindings for the execution of your [![Build Status](https://travis-ci.com/aws-cloudformation/cloudformation-cli-python-plugin.svg?branch=master)](https://tr...
aws-cloudformation__cloudformation-cli-python-plugin-238
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "python/rpdk/python/codegen.py:Python36LanguagePlugin._pip_build" ], "edited_modules": [ "python/rpdk/python/codegen.py:Python36LanguagePlugin" ] }, "file": "python/rpdk...
aws-cloudformation/cloudformation-cli-python-plugin
87c31b86cfd21470c9b4b9dced3bfb391a0671b8
If a resource is created without Properties, request.desiredResourceState is None This is not technically against the type annotations, but it would be nice if this wasn't the case. Some snippets to test this with: Schema: ```json { "properties": { "Identifier": {"type": "string"}, }, ...
diff --git a/python/rpdk/python/codegen.py b/python/rpdk/python/codegen.py index f5c49cf..60174aa 100644 --- a/python/rpdk/python/codegen.py +++ b/python/rpdk/python/codegen.py @@ -334,14 +334,24 @@ class Python36LanguagePlugin(LanguagePlugin): LOG.warning("Starting pip build.") try: - co...
aws-cloudformation__cloudformation-cli-python-plugin-242
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "python/rpdk/python/codegen.py:Python36LanguagePlugin._init_from_project", "python/rpdk/python/codegen.py:Python36LanguagePlugin.__init__", "python/rpdk/python/codegen.py:Python36Language...
aws-cloudformation/cloudformation-cli-python-plugin
87c31b86cfd21470c9b4b9dced3bfb391a0671b8
No-docker option in the CLI missing use-docker switch was done but corresponding "no-docker" switch is missing.
diff --git a/python/rpdk/python/codegen.py b/python/rpdk/python/codegen.py index f5c49cf..f2c1d30 100644 --- a/python/rpdk/python/codegen.py +++ b/python/rpdk/python/codegen.py @@ -55,12 +55,16 @@ class Python36LanguagePlugin(LanguagePlugin): self.package_name = None self.package_root = None ...
aws__aws-dynamodb-encryption-python-128
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "examples/src/aws_kms_encrypted_item.py:encrypt_item" ], "edited_modules": [ "examples/src/aws_kms_encrypted_item.py:encrypt_item" ] }, "file": "examples/src/aws_kms_enc...
aws/aws-dynamodb-encryption-python
9d99241b04a56aa7eb5e0dcb9c3f7e52e09f2f74
Add repr=False to attributes in EncryptionContext https://github.com/aws/aws-dynamodb-encryption-python/blob/master/src/dynamodb_encryption_sdk/structures.py#L49-L78 We should add `repr=False` to the attributes section in the `EncryptionContext`, to make the string representation safe within material providers. This...
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 79b7fac..92e3daf 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,13 +2,15 @@ Changelog ********* -1.1.2 -- 2019-09-?? +1.1.2 -- 2019-10-?? =================== Bugfixes -------- * Fix :class:`AwsKmsCryptographicMaterialsProvider` regional clients override b...
aws__aws-sam-cli-3919
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "samcli/commands/_utils/table_print.py:pprint_column_names" ], "edited_modules": [ "samcli/commands/_utils/table_print.py:pprint_column_names" ] }, "file": "samcli/comma...
aws/aws-sam-cli
1f327ef61ca582f6d5a398d9b58aa12f7d5b19cb
Bug: deploy with large SAM_CLI_POLL_DELAY has a wrong display (nightly) ### Description: _Not a breaking bug, more like a display and timing bug_ If we use the feature from my last PR #3500, using `SAM_CLI_POLL_DELAY` with a large delay like a minute, the events retrieved during the poll will be displayed in revers...
diff --git a/samcli/commands/_utils/table_print.py b/samcli/commands/_utils/table_print.py index c2587c44..de63af29 100644 --- a/samcli/commands/_utils/table_print.py +++ b/samcli/commands/_utils/table_print.py @@ -11,7 +11,9 @@ import click MIN_OFFSET = 20 -def pprint_column_names(format_string, format_kwargs, ma...
aws__aws-sam-cli-6889
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "samcli/commands/local/cli_common/invoke_context.py:InvokeContext._initialize_all_functions_containers" ], "edited_modules": [ "samcli/commands/local/cli_common/invoke_context.py:Invo...
aws/aws-sam-cli
c6956688113d5377fa603a455db4d3ebb4a1008f
Bug: `sam local start-api --add-host` does not work <!-- Make sure we don't have an existing Issue that reports the bug you are seeing (both open and closed). If you do find an existing Issue, re-open or add a comment to that Issue instead of creating a new one. --> ### Description: <!-- Briefly describe the bug ...
diff --git a/installer/pyinstaller/build-linux.sh b/installer/pyinstaller/build-linux.sh index c096508a..a52c9ed7 100755 --- a/installer/pyinstaller/build-linux.sh +++ b/installer/pyinstaller/build-linux.sh @@ -10,7 +10,7 @@ if [ "$python_library_zip_filename" = "" ]; then fi if [ "$python_version" = "" ]; then - ...
aws__aws-sam-cli-7162
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "samcli/commands/deploy/command.py:cli", "samcli/commands/deploy/command.py:do_cli" ], "edited_modules": [ "samcli/commands/deploy/command.py:cli", "samcli/commands/de...
aws/aws-sam-cli
ee4e214aaa8da9bad8c0fd7494bb1fc44acf4fab
How do I increase the time limit for sam deploy? I believe that the time limit for `sam deploy` is 60 minutes. I don't see it documented, but I see it in the code of the `wait_for_execute` function. https://github.com/aws/aws-sam-cli/blob/fc9653313ac0d35e995b80ed8215f5587e20d16a/samcli/lib/deploy/deployer.py#L459...
diff --git a/requirements/base.txt b/requirements/base.txt index 52ec5e21..7585657a 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -31,4 +31,4 @@ tzlocal==5.2 cfn-lint~=0.87.7 # Type checking boto3 objects -boto3-stubs[apigateway,cloudformation,ecr,iam,lambda,s3,schemas,secretsmanager,signer,step...
aws__aws-sam-cli-7533
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "samcli/local/lambdafn/env_vars.py:EnvironmentVariables._get_aws_variables" ], "edited_modules": [ "samcli/local/lambdafn/env_vars.py:EnvironmentVariables" ] }, "file": ...
aws/aws-sam-cli
f5b729cf3382d959e34d09d7b55501e82627c16c
Feature request: Add AWS_LAMBDA_INITIALIZATION_TYPE environment variable <!-- Make sure we don't have an existing Issue for the feature you are requesting (both open and closed). --> ### Describe your idea/feature/enhancement According to the [official AWS documentation](https://docs.aws.amazon.com/lambda/latest/...
diff --git a/samcli/local/lambdafn/env_vars.py b/samcli/local/lambdafn/env_vars.py index ebf52ce5..87d0ae28 100644 --- a/samcli/local/lambdafn/env_vars.py +++ b/samcli/local/lambdafn/env_vars.py @@ -176,6 +176,7 @@ class EnvironmentVariables: "AWS_ACCESS_KEY_ID": self.aws_creds.get("key", self._DEFAULT_AWS...
aws__chalice-1540
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "chalice/awsclient.py:TypedAWSClient._create_domain_name", "chalice/awsclient.py:TypedAWSClient._create_domain_name_v2", "chalice/awsclient.py:TypedAWSClient._update_domain_name", ...
aws/chalice
0902a6cf8f8ba08cdd3c584f9de1099e6bab98a0
Error creating custom domain for websockets When I try to create a custom domain for my websocket the following error occurs: ``` Updating custom domain name: api.transferbank.com.br Traceback (most recent call last): File "/Users/rafagan/.virtualenvs/tb-websocket-ws/lib/python3.8/site-packages/chalice/cli/__in...
diff --git a/chalice/awsclient.py b/chalice/awsclient.py index 79c66ed..23737a4 100644 --- a/chalice/awsclient.py +++ b/chalice/awsclient.py @@ -63,6 +63,15 @@ LogEventsResponse = TypedDict( 'nextToken': str, }, total=False ) +DomainNameResponse = TypedDict( + 'DomainNameResponse', { + 'domain_...
aws__chalice-1683
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "chalice/package.py:TerraformGenerator._generate_s3bucketnotification", "chalice/package.py:TerraformGenerator._generate_sqseventsource", "chalice/package.py:TerraformGenerator._generate_...
aws/chalice
f08b6dc197c8c6d125f3eb5dc6aa3198d4e4b04c
Error creating Lambda event source mapping: Function does not exist Another terraform packaging issue here, when using additional resources (sqs queues or s3 buckets) that are created outside of the chalice application, but packaged and deployed together with terraform. There seems to be a missing dependency between th...
diff --git a/chalice/package.py b/chalice/package.py index f04c4f1..5319b51 100644 --- a/chalice/package.py +++ b/chalice/package.py @@ -893,7 +893,7 @@ class TerraformGenerator(TemplateGenerator): resource.resource_name] = { 'statement_id': resource.resource_name, 'action': 'lamb...
aws__sagemaker-python-sdk-4153
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "src/sagemaker/config/__init__.py" }, { "changes": { "added_entities": [ "src/sagemaker/config/config.py:load_local_mode_config" ],...
aws/sagemaker-python-sdk
5d0f6b367c90b65c9ff8ae7e0658a28b4f5f114a
Add possibility of opening additional ports for Local Mode **Describe the feature you'd like** Currently Local Mode does not allow opening any additional ports. This is problematic, since I can't connect to any databases, which renders some processors, e.g. PySparkProcessor, quite useless for me. **How would this f...
diff --git a/doc/overview.rst b/doc/overview.rst index b75370e7..9612a233 100644 --- a/doc/overview.rst +++ b/doc/overview.rst @@ -1560,9 +1560,20 @@ You can install necessary dependencies for this feature using pip. Additionally, Local Mode also requires Docker Compose V2. Follow the guidelines in https://docs.docker...
awsdocs__aws-doc-sdk-examples-tools-39
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "aws_doc_sdk_examples_tools/metadata.py:Excerpt.from_yaml", "aws_doc_sdk_examples_tools/metadata.py:Version.from_yaml", "aws_doc_sdk_examples_tools/metadata.py:parse", "aws_doc_sd...
awsdocs/aws-doc-sdk-examples-tools
ddc31f5d0ca816c0f2beb58545b2af2d4b39470c
Add metadata to track "AI Level" How much AI: - None - no AI was used. - Claude, ChatGPT, or other "chat" interfaces may have been used for reference, but their output was not included directly in the code. - Some - AI was consulted while writing this section, and some words or phrases may have been copied, bu...
diff --git a/aws_doc_sdk_examples_tools/metadata.py b/aws_doc_sdk_examples_tools/metadata.py index 4e771a8..5769980 100755 --- a/aws_doc_sdk_examples_tools/metadata.py +++ b/aws_doc_sdk_examples_tools/metadata.py @@ -6,7 +6,7 @@ from __future__ import annotations from collections import defaultdict from dataclasses...
awsdocs__aws-doc-sdk-examples-tools-68
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "aws_doc_sdk_examples_tools/doc_gen.py:DocGen.for_root" ], "edited_modules": [ "aws_doc_sdk_examples_tools/doc_gen.py:DocGen" ] }, "file": "aws_doc_sdk_examples_tools/do...
awsdocs/aws-doc-sdk-examples-tools
40b336ad0b6c9c84f80a74126d74a9b8b4b28856
Remove snippet tag lines from extracted snippet text. Also SPDX headers
diff --git a/aws_doc_sdk_examples_tools/doc_gen.py b/aws_doc_sdk_examples_tools/doc_gen.py index 05ccd31..3c1c803 100644 --- a/aws_doc_sdk_examples_tools/doc_gen.py +++ b/aws_doc_sdk_examples_tools/doc_gen.py @@ -195,7 +195,7 @@ class DocGen: entities_config = yaml.safe_load(file) for enti...
awslabs__aws-cfn-template-flip-22
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "cfn_flip/__init__.py:MyDumper.increase_indent", "cfn_flip/__init__.py:to_json", "cfn_flip/__init__.py:to_yaml" ], "edited_modules": [ "cfn_flip/__init__.py:MyDumper",...
awslabs/aws-cfn-template-flip
68a80c5903ecae27703165db35f8693aed5fff85
yaml ordereddict fix breaks when yaml is a .egg The fix for #14 doesn't work in all cases. When PyYAML is installed in a .egg file the load of yaml as custom_yaml fails. For troposphere, [here](https://travis-ci.org/cloudtools/troposphere/jobs/256102858) is an example of the tests failing. The issue is the imp module d...
diff --git a/cfn_flip/__init__.py b/cfn_flip/__init__.py index 34e9257..d5b112a 100644 --- a/cfn_flip/__init__.py +++ b/cfn_flip/__init__.py @@ -10,19 +10,11 @@ or in the "license" file accompanying this file. This file is distributed on an from .clean import clean from .custom_json import DateTimeAwareJsonEncoder ...
awslabs__aws-cfn-template-flip-43
[ { "changes": { "added_entities": [ "cfn_flip/yaml_dumper.py:string_representer" ], "added_modules": [ "cfn_flip/yaml_dumper.py:string_representer" ], "edited_entities": null, "edited_modules": null }, "file": "cfn_flip/yaml_dumper.py" } ]
awslabs/aws-cfn-template-flip
168476fed202b08221f163de22adb9cb859d937e
Inconsistent conversion of strings from json to yaml I am converting a document from json to yaml as part of a CloudFormation Template, and am noticing an odd error where some Id's that are marked as strings are being converted to strings, and other times not. Here's a json snippet I'm working with right now which a...
diff --git a/cfn_flip/yaml_dumper.py b/cfn_flip/yaml_dumper.py index 85b287d..2a3a764 100644 --- a/cfn_flip/yaml_dumper.py +++ b/cfn_flip/yaml_dumper.py @@ -15,7 +15,9 @@ See the License for the specific language governing permissions and limitations from cfn_clean.yaml_dumper import CleanCfnYamlDumper from cfn_tools...
awslabs__aws-cfn-template-flip-64
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "cfn_clean/__init__.py:convert_join" ], "edited_modules": [ "cfn_clean/__init__.py:convert_join" ] }, "file": "cfn_clean/__init__.py" } ]
awslabs/aws-cfn-template-flip
4b0f0936b5895db1ab74c124db140624deb6a7db
using clean produces invalid template we are using `new_template = to_yaml( to_json( orig_template ) )` to cleanup the yaml we are producing with jinja2 `clean_up=False` we see ``` PublicSubnetIds: Description: The public subnetids Condition: HasPublicSubnet1AZ1 Value: Fn::Join: - ...
diff --git a/cfn_clean/__init__.py b/cfn_clean/__init__.py index 782002b..3fdb6d4 100644 --- a/cfn_clean/__init__.py +++ b/cfn_clean/__init__.py @@ -53,6 +53,13 @@ def convert_join(value): new_parts.append("${{{}}}".format(".".join(params))) else: for key, val in args.item...
awslabs__aws-embedded-metrics-python-12
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "aws_embedded_metrics/logger/metrics_context.py:MetricsContext.create_copy_with_context" ], "edited_modules": [ "aws_embedded_metrics/logger/metrics_context.py:MetricsContext" ]...
awslabs/aws-embedded-metrics-python
6cf02e6a5b1849be7aaa5300f2ec9425c5fbc398
Preserve logger context across flushes See https://github.com/awslabs/aws-embedded-metrics-node/issues/15 https://github.com/awslabs/aws-embedded-metrics-python/blob/6cf02e6a5b1849be7aaa5300f2ec9425c5fbc398/aws_embedded_metrics/logger/metrics_logger.py#L44
diff --git a/aws_embedded_metrics/logger/metrics_context.py b/aws_embedded_metrics/logger/metrics_context.py index 5d762e3..283f369 100644 --- a/aws_embedded_metrics/logger/metrics_context.py +++ b/aws_embedded_metrics/logger/metrics_context.py @@ -125,8 +125,17 @@ class MetricsContext(object): new_properties:...
awslabs__aws-embedded-metrics-python-20
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "aws_embedded_metrics/constants.py" } ]
awslabs/aws-embedded-metrics-python
4388e0df2153a749defeece304521dac93c6d218
MAX_DIMENSIONS should be 9, not 10 Per [the upstream docs](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Embedded_Metric_Format_Specification.html#CloudWatch_Embedded_Metric_Format_Specification_structure_dimensionset): > A DimensionSet MUST NOT contain more than 9 dimension keys. Curr...
diff --git a/aws_embedded_metrics/constants.py b/aws_embedded_metrics/constants.py index ea53e7b..4fcdc5f 100644 --- a/aws_embedded_metrics/constants.py +++ b/aws_embedded_metrics/constants.py @@ -12,4 +12,4 @@ # limitations under the License. DEFAULT_NAMESPACE = "aws-embedded-metrics" -MAX_DIMENSIONS = 10 +MAX_DIM...
azavea__python-omgeo-68
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "omgeo/services/esri.py:EsriWGS._geocode" ], "edited_modules": [ "omgeo/services/esri.py:EsriWGS" ] }, "file": "omgeo/services/esri.py" } ]
azavea/python-omgeo
329beedb0c19b7b98b2754f68f316022a49da82f
magicKey specification breaks geocoding When a `findAddressCandidates` request is made without specifying `magicKey`, the response includes a `Loc_name` attribute for candidates: ```bash curl -X GET \ 'https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?f=json&outFields=Loc...
diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml index ceadde8..5cebaa9 100644 --- a/.github/workflows/continuous_integration.yml +++ b/.github/workflows/continuous_integration.yml @@ -42,11 +42,11 @@ jobs: - name: Run tests run: python setup.py ...
bakwc__PySyncObj-140
[ { "changes": { "added_entities": [ "pysyncobj/journal.py:Journal.setRaftCommitIndex", "pysyncobj/journal.py:Journal.getRaftCommitIndex", "pysyncobj/journal.py:Journal.onOneSecondTimer", "pysyncobj/journal.py:MemoryJournal.setRaftCommitIndex", "pysyncobj/journal.py:M...
bakwc/PySyncObj
907a252dad6f33508e661f4e37251ba1050264e3
Raft log not appying after restart When using journal file as a storage - all operations should be applied after node restarts, without waiting connection with other nodes.
diff --git a/pysyncobj/journal.py b/pysyncobj/journal.py index 2ae88a3..820a712 100644 --- a/pysyncobj/journal.py +++ b/pysyncobj/journal.py @@ -3,7 +3,7 @@ import mmap import struct from .version import VERSION -from .pickle import to_bytes +from .pickle import to_bytes, loads, dumps class Journal(object): @@...
barrust__mediawiki-100
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mediawiki/mediawiki.py:MediaWiki.categorymembers" ], "edited_modules": [ "mediawiki/mediawiki.py:MediaWiki" ] }, "file": "mediawiki/mediawiki.py" } ]
barrust/mediawiki
a6aa86fd3651052f5d5e51db6802603a283bd9c3
categorymembers doesn't return files I'd like to iterate through category pages. The API has [categorymembers](https://www.mediawiki.org/wiki/API:Categorymembers) for this. An example query: https://en.wiktionary.org/w/api.php?action=query&list=categorymembers&cmtitle=Category%3ASwahili_lemmas&format=json Is that ...
diff --git a/mediawiki/mediawiki.py b/mediawiki/mediawiki.py index 1bf6875..3537910 100644 --- a/mediawiki/mediawiki.py +++ b/mediawiki/mediawiki.py @@ -672,7 +672,7 @@ class MediaWiki(object): search_params = { "list": "categorymembers", "cmprop": "ids|title|type", - "cmty...
barrust__mediawiki-73
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mediawiki/exceptions.py:RedirectError.__init__", "mediawiki/exceptions.py:HTTPTimeoutError.__init__", "mediawiki/exceptions.py:MediaWikiGeoCoordError.__init__" ], "edited_mod...
barrust/mediawiki
6a175daabede9f66d8c959668f97af648eea0717
DisambiguationError gives incorrect titles of possible results The `title`s of possible results given in the `details` property of a `DisambiguationError` can be incorrect. They can be the full text of the list item on the disambiguation page describing the possible result, rather than just the title of the possible re...
diff --git a/.pylintrc b/.pylintrc index 7299369..a91c15e 100644 --- a/.pylintrc +++ b/.pylintrc @@ -59,7 +59,7 @@ confidence= # --enable=similarities". If you want to run only the classes checker, but have # no Warning level messages displayed, use"--disable=all --enable=classes # --disable=W" -disable=parameter-un...
barrust__pyprobables-115
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "probables/blooms/bloom.py:BloomFilter.export_c_header" ], "edited_modules": [ "probables/blooms/bloom.py:BloomFilter" ] }, "file": "probables/blooms/bloom.py" }, { ...
barrust/pyprobables
84dbffc9a5a27d5daeed37137efc0b2efc0e8ecc
quotient filter: additional functionality Additional functionality to add to the quotient filter: - Resize / Merge - Delete element - Import / Export Something to consider would be to use a form of bit packing to make it more compact, perhaps as a second class
diff --git a/probables/blooms/bloom.py b/probables/blooms/bloom.py index 912cc92..1da0311 100644 --- a/probables/blooms/bloom.py +++ b/probables/blooms/bloom.py @@ -315,21 +315,9 @@ class BloomFilter: with open(filename, "w", encoding="utf-8") as file: print(f"/* BloomFilter Export of a {bloom_typ...
barrust__pyprobables-127
[ { "changes": { "added_entities": [ "probables/quotientfilter/quotientfilter.py:QuotientFilter.remove", "probables/quotientfilter/quotientfilter.py:QuotientFilter.remove_alt", "probables/quotientfilter/quotientfilter.py:QuotientFilter._remove_element", "probables/quotientfil...
barrust/pyprobables
2aab146dfd001a1a2d5bbe6e060a2d8db279c1d3
quotient filter: remove element
diff --git a/probables/quotientfilter/quotientfilter.py b/probables/quotientfilter/quotientfilter.py index 9aa30c6..1ad3d3c 100644 --- a/probables/quotientfilter/quotientfilter.py +++ b/probables/quotientfilter/quotientfilter.py @@ -1,10 +1,11 @@ -""" BloomFilter and BloomFiter on Disk, python implementation +""" Quoti...
barrust__pyprobables-77
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "probables/hashes.py:hash_with_depth_bytes", "probables/hashes.py:fnv_1a" ], "edited_modules": [ "probables/hashes.py:hash_with_depth_bytes", "probables/hashes.py:fnv_...
barrust/pyprobables
ddf3d8ab3beee39ebc5efb8324077d96a2bc82fc
Add a function to insert raw `bytes` into a filter.
diff --git a/CHANGELOG.md b/CHANGELOG.md index 68d5abf..6007e77 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,15 @@ # PyProbables Changelog +### Future Release +* Add ability to hash bytes along with strings + + ### Version 0.5.1 * Bloom Filter: * Export as a C header (**\*.h**) * Count-Min Sketch...
barrust__pyprobables-86
[ { "changes": { "added_entities": [ "probables/cuckoo/countingcuckoo.py:CountingCuckooFilter.init_error_rate", "probables/cuckoo/countingcuckoo.py:CountingCuckooFilter.load_error_rate" ], "added_modules": null, "edited_entities": null, "edited_modules": [ "pr...
barrust/pyprobables
4b671d563c55c9671b19836de3a15c1e5f08fc58
Implement an arg controlling error rate of cuckoo filter
diff --git a/docs/source/quickstart.rst b/docs/source/quickstart.rst index 68625f4..e3f5d6c 100644 --- a/docs/source/quickstart.rst +++ b/docs/source/quickstart.rst @@ -231,6 +231,18 @@ Import a Cuckoo Filter >>> ccf2 = CuckooFilter(filepath='war_and_peace.cko') >>> print(ccf2.check('fleches')) # prints True...
barrust__pyspellchecker-101
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "spellchecker/utils.py:_parse_into_words" ], "edited_modules": [ "spellchecker/utils.py:_parse_into_words" ] }, "file": "spellchecker/utils.py" } ]
barrust/pyspellchecker
e48c4350685a134994fad716dea0a5b626ff759e
Case Sensitive bug Case sensitive parameter has no affect bcz in "_parse_into_words" method text is made lower irrespective of case sensitive parameter, need to avoid it to make case-sensitive valid
diff --git a/spellchecker/utils.py b/spellchecker/utils.py index 437a7aa..7260d42 100644 --- a/spellchecker/utils.py +++ b/spellchecker/utils.py @@ -1,8 +1,8 @@ """ Additional utility functions """ import contextlib import gzip -import re import functools +import re import warnings from .info import __version__...
barrust__pyspellchecker-132
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "spellchecker/spellchecker.py:WordFrequency.add" ], "edited_modules": [ "spellchecker/spellchecker.py:WordFrequency" ] }, "file": "spellchecker/spellchecker.py" } ]
barrust/pyspellchecker
35b2c4e1f4c8c50da9f7e30b7370c62847c4f513
load_words is not prioritized Looks like the functionality load_words is not prioritized in the spellchecking. ``` from spellchecker import SpellChecker known_words = ['covid', 'Covid19'] spell = SpellChecker(language='en') spell.word_frequency.load_words(known_words) word = 'coved' misspelled = spell....
diff --git a/spellchecker/spellchecker.py b/spellchecker/spellchecker.py index 760b9c2..7c2fb8e 100644 --- a/spellchecker/spellchecker.py +++ b/spellchecker/spellchecker.py @@ -471,13 +471,14 @@ class WordFrequency(object): self._dictionary.update([word if self._case_sensitive else word.lower() for word in wor...
barrust__pyspellchecker-156
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "spellchecker/__init__.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "spellchecke...
barrust/pyspellchecker
29c9210aae75db6d0621552f2ec3f1bcb87f35ad
Error in load file function I stumbled upon an error being raised by the function load_file in utils.py (line 95) that is called from spellchecker.py (line 436). The error I got: "..\spellchecker\utils.py", line 105, in load_file if filename[-3:].lower() == ".gz": ~~~~~~~~^^^^^ TypeError: 'WindowsPath...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 21fd9df..bf6effd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # pyspellchecker +## Version 0.7.3 +* Remove relative imports in favor of absolute imports +* Add `Path` support for files + + ## Version 0.7.2 * Added `Latvian` language support; see [#145...
barrust__pyspellchecker-20
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "spellchecker/info.py" }, { "changes": { "added_entities": [ "spellchecker/spellchecker.py:SpellChecker.distance", "spellchecker/...
barrust/pyspellchecker
31147feeff4debf83833c3b3d47f8bbd8c09c422
Export word frequency dictionary The ability to export a word frequency dictionary would allow us to better support users utilizing a custom dictionary. Use case: 1) Use loads the english dictionary and then loads text about programming languages 2) Instead of having to do this for every instance, it would be bet...
diff --git a/CHANGELOG.md b/CHANGELOG.md index aebf254..6bd9803 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,14 @@ # pyspellchecker -## Version 0.1.5 (unreleased) +## Version 0.1.5 * Remove words based on threshold * Add ability to iterate over words (keys) in the dictionary * Add setting to to reduce...
barrust__pyspellchecker-29
[ { "changes": { "added_entities": [ "spellchecker/spellchecker.py:SpellChecker.__edit_distance_alt", "spellchecker/spellchecker.py:WordFrequency.pop" ], "added_modules": null, "edited_entities": [ "spellchecker/spellchecker.py:SpellChecker.candidates", "spe...
barrust/pyspellchecker
689aa310a75c894a041e50cca9e8ce4e4cb37b39
How to add new words to the dictionary? From the docs, as far as I understood you can add new words as follows: ``` from spellchecker import SpellChecker spell = SpellChecker(distance=1) spell.word_frequency.load_words(['words', 'to', 'be','added', 'to', 'the', 'system', 'Addis Abeba']) ``` However, I am trying t...
diff --git a/spellchecker/spellchecker.py b/spellchecker/spellchecker.py index 5f9f644..64a25f0 100644 --- a/spellchecker/spellchecker.py +++ b/spellchecker/spellchecker.py @@ -136,10 +136,19 @@ class SpellChecker(object): word (str): The word for which to calculate candidate spellings Ret...
barrust__pyspellchecker-54
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "spellchecker/info.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "spellchecker/sp...
barrust/pyspellchecker
7fe45c07fb80e323db0e1a83777c5afe061a989b
Windows encoding errors not fixed in version 0.5.1 On windows, spellchecker still has problems with encoding errors: ```python import spellchecker spell = spellchecker.SpellChecker("de") # This word is correctly spelled spell.known(["beschäftigen"]) # output: set() spell.correction("beschäftigen") # output: '...
diff --git a/spellchecker/info.py b/spellchecker/info.py index 26de3b9..4ff8196 100644 --- a/spellchecker/info.py +++ b/spellchecker/info.py @@ -5,7 +5,7 @@ __author__ = "Tyler Barrus" __maintainer__ = "Tyler Barrus" __email__ = "barrust@gmail.com" __license__ = "MIT" -__version__ = "0.5.1" +__version__ = "0.5.2" _...
barrust__pyspellchecker-58
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "spellchecker/info.py" }, { "changes": { "added_entities": [ "spellchecker/spellchecker.py:WordFrequency.longest_word_length" ], ...
barrust/pyspellchecker
d27baf51c1f1b8fd66fa2fc64d601175b1d63c3c
Memory Issue for long spellings errors/strings For testing purposes I have given a word of length 20 and 100, in both the cases my server is giving me ```unable to allocate memory``` and my local machine, which is running on 8GB RAM, hangs.
diff --git a/CHANGELOG.md b/CHANGELOG.md index 10523ac..2d2d947 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # pyspellchecker +## Version 0.5.3 +* Handle memory issues when trying to correct or find candidates for extremely long words + +## Version 0.5.2 +Ensure input is encoded correctly; resolves ...
barrust__pyspellchecker-87
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "spellchecker/utils.py:_parse_into_words" ], "edited_modules": [ "spellchecker/utils.py:_parse_into_words" ] }, "file": "spellchecker/utils.py" } ]
barrust/pyspellchecker
aa9668243fef58ff62c505a727b4a7284b81f42a
English spellchecking Hello Team! I am new to the Project and I have a question. I use python 3.7 and run into problem with this test program: ``` python from spellchecker import SpellChecker spell = SpellChecker() split_words = spell.split_words spell_unknown = spell.unknown words ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index e4a891d..7aa5b30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,9 @@ # pyspellchecker -## Future Release -* Updated automated `scripts/build_dictionary.py` script to support adding missing words - -## Version 0.6.0 +## Version 0.6.0 (future version) * Remove ...
basnijholt__adaptive-scheduler-182
[ { "changes": { "added_entities": [ "adaptive_scheduler/utils.py:atomic_write" ], "added_modules": [ "adaptive_scheduler/utils.py:atomic_write" ], "edited_entities": [ "adaptive_scheduler/utils.py:save_dataframe", "adaptive_scheduler/utils.py:load_dat...
basnijholt/adaptive-scheduler
cd3e66c439454bd0a8e299204b53187f96794a12
save_dataframe does not write atomically This is problematic, as data may be corrupted if the writing process dies during the write.
diff --git a/adaptive_scheduler/utils.py b/adaptive_scheduler/utils.py index c03d7fd..df412ca 100644 --- a/adaptive_scheduler/utils.py +++ b/adaptive_scheduler/utils.py @@ -14,14 +14,25 @@ import random import shutil import tempfile import time +import uuid import warnings from concurrent.futures import ThreadPool...
batfish__pybatfish-190
[ { "changes": { "added_entities": [ "pybatfish/datamodel/flow.py:Flow._has_ports", "pybatfish/datamodel/flow.py:Flow._ip_port" ], "added_modules": null, "edited_entities": [ "pybatfish/datamodel/flow.py:Flow.__str__", "pybatfish/datamodel/flow.py:Flow._repr...
batfish/pybatfish
1fe6bc41347d12a3936e2151deb17f8a5f6d289f
Pretty-printing ICMP flows should not include src/dst port Example of current rendering: ``` Src IP: 2.1.2.1 Src Port: 0 Dst IP: 2.1.1.1 Dst Port: 0 IP Protocol: ICMP Start Location: as2core1 ```
diff --git a/jupyter_notebooks/README.md b/jupyter_notebooks/README.md index 2a6435a..444001f 100644 --- a/jupyter_notebooks/README.md +++ b/jupyter_notebooks/README.md @@ -11,7 +11,9 @@ The current list of notebooks are: - Shows how to use analyze ACLs and firewalls rules using Batfish. - [Provably Safe ACL and ...
batfish__pybatfish-244
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pybatfish/question/question.py:QuestionMeta.__new__" ], "edited_modules": [ "pybatfish/question/question.py:QuestionMeta" ] }, "file": "pybatfish/question/question.py" ...
batfish/pybatfish
570de5864e949a647337100f5f4d14b2961cd71a
Error out on default parameters pybatfish lets me ask `bfq.nodeProperties("garbage")` and returns an answer happily. It should instead produce an error.
diff --git a/pybatfish/question/question.py b/pybatfish/question/question.py index 12085aa..4c88c01 100644 --- a/pybatfish/question/question.py +++ b/pybatfish/question/question.py @@ -76,17 +76,21 @@ class QuestionMeta(type): """Creates a new class for a specific question.""" new_cls = super(Question...
batfish__pybatfish-918
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pybatfish/client/session.py:Session.__init__" ], "edited_modules": [ "pybatfish/client/session.py:Session" ] }, "file": "pybatfish/client/session.py" } ]
batfish/pybatfish
b07f02424611510a4690818c540c8c508799dfc8
Change the Session port key to port instead of port_v2 Now that 9997 is fully deprecated, the Session variable for port can be just `port` https://github.com/batfish/pybatfish/blob/master/pybatfish/client/session.py Example user confusion: https://batfish-org.slack.com/archives/C8XKQNHAQ/p1721301033303939
diff --git a/pybatfish/client/session.py b/pybatfish/client/session.py index f603a7d..6eb35bb 100644 --- a/pybatfish/client/session.py +++ b/pybatfish/client/session.py @@ -338,8 +338,8 @@ class Session: """Keeps session configuration needed to connect to a Batfish server. :ivar host: The host of the batfis...
bbangert__beaker-159
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "beaker/cookie.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "beaker/session.py:S...
bbangert/beaker
c8f0a599f44d313b68a49c7a503ecbbec4286771
Set SameSite option on session cookies Documented here: https://blog.mozilla.org/security/2018/04/24/same-site-cookies-in-firefox-60/ Currently supported in Firefox and Chromium; it provides strong defense in depth against CSRF.
diff --git a/.travis.yml b/.travis.yml index 7e04b10..9487d00 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,7 @@ python: - "3.4" - "3.5" - "3.6" + - "3.7-dev" install: - pip install -e .[testsuite] script: diff --git a/beaker/cookie.py b/beaker/cookie.py index 8d8d0a4..729fbe3 100644 --- a/be...
bbc__nmos-common-55
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "nmoscommon/aggregator.py:Aggregator._SEND" ], "edited_modules": [ "nmoscommon/aggregator.py:Aggregator" ] }, "file": "nmoscommon/aggregator.py" }, { "changes": ...
bbc/nmos-common
b35788d29bdcfb4b3a9cfbb3f34360641b3547b2
Aggregator.py fails to set Content-Type header in interactions with Registration API Noted by Tektronix. This is a breach of the spec, but our registry isn't strictly checking this as it doesn't expect to receive anything other than JSON.
diff --git a/CHANGELOG.md b/CHANGELOG.md index a7aaaaf..e7a86bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # NMOS Common Library Changelog +## 0.6.8 +- Resolve issue where interactions of aggregator.py with Registration API + failed to set Content-Type + ## 0.6.7 - Updated stdeb.cfg to include d...
bcliang__gamry-parser-46
[ { "changes": { "added_entities": [ "gamry_parser/chronoa.py:ChronoAmperometry.curve", "gamry_parser/chronoa.py:ChronoAmperometry.sample_time", "gamry_parser/chronoa.py:ChronoAmperometry.sample_count" ], "added_modules": null, "edited_entities": [ "gamry_pa...
bcliang/gamry-parser
c1dfcf73d973c88ee496f0aa256d99f642ab6013
Change: Impl class properties Replace class getter methods with `@property` decorators. - get_curve_count - get_curve_indices - get_curve_numbers - get_curves - get_header - get_experiment_type - get_ocv_curve - get_ocv_value Note: this will be a breaking change.
diff --git a/CHANGELOG.md b/CHANGELOG.md index 78424da..ecd0b0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). - ### Changed -- +- [#46](https://github.com/bcliang/gamry-parser/pull/46) Change: class property methods ### Added - ...
beancount__fava-1760
[ { "changes": { "added_entities": [ "src/fava/util/date.py:FiscalYearEnd.month_of_year", "src/fava/util/date.py:FiscalYearEnd.year_offset", "src/fava/util/date.py:FiscalYearEnd.has_quarters", "src/fava/util/date.py:FyeHasNoQuartersError.__init__" ], "added_module...
beancount/fava
4ee3106596cf91dc20cbceb509d5427d76a97350
Fiscal Year cannot end in the next year of Calendar Year In my country (Japan), FY2023 starts at 2023-04-01 and ends at 2024-03-31, but Fava option cannot describe this. `custom "fava-option" "fiscal-year-end" "03-31"` defines FY2023 as `[2022-04-01, 2023-04-01)`, and this is not my intention.
diff --git a/src/fava/help/options.md b/src/fava/help/options.md index 0c716bdf..22361dce 100644 --- a/src/fava/help/options.md +++ b/src/fava/help/options.md @@ -78,13 +78,15 @@ Default: `12-31` The last day of the fiscal (financial or tax) period for accounting purposes in `%m-%d` format. Allows for the use of `FY2...
bear__python-twitter-416
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "twitter/__init__.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "twitter/twitter_...
bear/python-twitter
ae88240b902d857ba099dfd17f820e640c67557d
calc_expected_status_length does not work calc_expected_status_length is broken in two ways right now. 1. URL_REGEXP only recognizes URLs at the start of a string, which is correct for is_url, but for calc_expected_status_length, all URLs should be detected, not just URLs at the start of the tweet. There should be ...
diff --git a/twitter/__init__.py b/twitter/__init__.py index 87bb718..0534776 100644 --- a/twitter/__init__.py +++ b/twitter/__init__.py @@ -23,7 +23,7 @@ __author__ = 'The Python-Twitter Developers' __email__ = 'python-twitter@googlegroups.com' __copyright__ = 'Copyright (c) 2007-2016 The Python-Twit...
bear__python-twitter-439
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "twitter/api.py:Api.PostUpdate", "twitter/api.py:Api._UploadMediaChunkedAppend" ], "edited_modules": [ "twitter/api.py:Api" ] }, "file": "twitter/api.py" }, ...
bear/python-twitter
c28e9fb02680f30c9c56019f6836c2b47fa1d73a
Issue with PostUpdate and <1MB mp4 media files When trying post an update using the following code: ```python api = twitter.Api(options) api.VerifyCredentials() api.PostUpdate('My status', media='/my/local/file.mp4') ``` Twitter would respond with the error 'media type unrecognized'. The call worked sometimes bu...
diff --git a/twitter/api.py b/twitter/api.py index 94ec354..d41a648 100644 --- a/twitter/api.py +++ b/twitter/api.py @@ -1026,6 +1026,7 @@ class Api(object): parameters['attachment_url'] = attachment_url if media: + chunked_types = ['video/mp4', 'video/quicktime', 'image/gif'] ...
bear__python-twitter-687
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "twitter/api.py:Api.GetListMembers" ], "edited_modules": [ "twitter/api.py:Api" ] }, "file": "twitter/api.py" } ]
bear/python-twitter
acd947210b12464baa10d8c05d0b5abe33b73683
GetListMembers returning only 100 users The GetListMembers call is returning only 100 members (default value for the GetListMembersPaged), because for some reason, that last call always returns the same value for `next_cursor `and `previous_cursor`, so the comparison `next_cursor == previous_cursor` is being always tru...
diff --git a/twitter/api.py b/twitter/api.py index 13d8879..f663736 100755 --- a/twitter/api.py +++ b/twitter/api.py @@ -4283,7 +4283,7 @@ class Api(object): include_entities=include_entities) result += users - if next_cursor == 0 or next_cursor == previous_cursor: + ...
beardypig__pymp4-30
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "src/pymp4/parser.py" } ]
beardypig/pymp4
47628e8abeb3a7ed0f0c2e45a407fdd205d93d24
Definition of tenc box seems invalid or too leniant I've attached a sample `tenc` box from https://sho.com, specifically the show Yellowjackets S02E05 on the 2160p track. ![image](https://user-images.githubusercontent.com/17136956/233861866-8042fd19-2094-44e3-819c-dc47a88829d8.png) It fails to parse with the foll...
diff --git a/src/pymp4/parser.py b/src/pymp4/parser.py index 1c2311c..bfe2b50 100644 --- a/src/pymp4/parser.py +++ b/src/pymp4/parser.py @@ -694,18 +694,26 @@ ProtectionSystemHeaderBox = Struct( TrackEncryptionBox = Struct( "type" / If(this._.type != b"uuid", Const(b"tenc")), - "version" / Default(Int8ub, 0)...
beartype__beartype-88
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "beartype/_util/func/utilfuncmake.py:make_func" ], "edited_modules": [ "beartype/_util/func/utilfuncmake.py:make_func" ] }, "file": "beartype/_util/func/utilfuncmake.py"...
beartype/beartype
4190bc3112d0f56d81af586a5f01a10c3e19feae
[Feature Request] Debuggable wrapper functions `@beartype` dynamically wraps each decorated callable with a unique wrapper function efficiently type-checking that callable. That's great, because efficient. But that's also currently invisible to debuggers, because `@beartype` fails to register the Python code underlying...
diff --git a/beartype/_util/func/utilfuncmake.py b/beartype/_util/func/utilfuncmake.py index 24cc669c..2bf3b6de 100644 --- a/beartype/_util/func/utilfuncmake.py +++ b/beartype/_util/func/utilfuncmake.py @@ -20,6 +20,8 @@ from beartype._util.text.utiltextmunge import number_lines from collections.abc import Callable f...
beartype__plum-106
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "plum/parametric.py:__init_subclass__" ], "edited_modules": [ "plum/parametric.py:__init_subclass__" ] }, "file": "plum/parametric.py" } ]
beartype/plum
57e11e65cd91cb45a1e66eb6c2e0c19a7f2a1523
`parametric` conflicts with certain usages of customized `__init_subclass__` Hi! I'm using JAX, and also using `plum` -- in my library, I've define a mixin class called `Pytree` which automatically implements the Pytree interface for classes which mix it in. It's quite simple: ```python class Pytree: def...
diff --git a/plum/parametric.py b/plum/parametric.py index ec69cf3..12aafa3 100644 --- a/plum/parametric.py +++ b/plum/parametric.py @@ -240,7 +240,7 @@ def parametric(original_class=None): return original_class.__new__(cls) cls.__new__ = class_new - original_class.__init_subclass...
beartype__plum-108
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "plum/dispatcher.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "plum/function.py:...
beartype/plum
4008f409fee356a95a3dbde04888ac7be9c16cf4
`parametric` conflicts with certain usages of customized `__init_subclass__` Hi! I'm using JAX, and also using `plum` -- in my library, I've define a mixin class called `Pytree` which automatically implements the Pytree interface for classes which mix it in. It's quite simple: ```python class Pytree: def...
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 59df964..bb6f738 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,8 +1,11 @@ name: CI on: - - push - - pull_request + pull_request: + + push: + branches: + - master jobs: test: @@ -25,24 +28,23 @@ jobs...
beetbox__beets-2270
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "beets/mediafile.py:MP3ImageStorageStyle.serialize" ], "edited_modules": [ "beets/mediafile.py:MP3ImageStorageStyle" ] }, "file": "beets/mediafile.py" } ]
beetbox/beets
02bd7946c1f6dd84e0fd28d152f4bca5c09d9e0a
MediaFile: use older text encodings in ID3v2.3 mode I am trying to create an auto-tagging configuration in which my tags are saved in ID3v2.3 (as 2.4 lacks compatibility with some players I use) and I like the cover art to be embedded in each music file. However, the cover art of the output files is not recognised by O...
diff --git a/beets/mediafile.py b/beets/mediafile.py index 87a9d10a6..7d1b07280 100644 --- a/beets/mediafile.py +++ b/beets/mediafile.py @@ -920,7 +920,16 @@ class MP3ImageStorageStyle(ListStorageStyle, MP3StorageStyle): frame.data = image.data frame.mime = image.mime_type frame.desc = image....
beetbox__beets-2354
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "beetsplug/discogs.py:DiscogsPlugin.get_albums", "beetsplug/discogs.py:DiscogsPlugin.get_album_info" ], "edited_modules": [ "beetsplug/discogs.py:DiscogsPlugin" ] },...
beetbox/beets
7d943301ef5a7dd89d787c39b94d1eb8a6222ca9
discogs: IndexError: list index out of range ### Problem I'm trying to import this album : https://www.discogs.com/Para-One-Ciel-Ether-Con-Citoyen-Crazy/master/690105 while doing a `beet import Unsorted/New\ Stuff` : ``` /data/Music/Unsorted/New Stuff/Para One - 2003 - Paraone - Iris - Le Sept - Flynt - Lyri...
diff --git a/beetsplug/discogs.py b/beetsplug/discogs.py index dbd45ece4..cf10a2a36 100644 --- a/beetsplug/discogs.py +++ b/beetsplug/discogs.py @@ -205,11 +205,27 @@ class DiscogsPlugin(BeetsPlugin): self._log.debug(u"Communication error while searching for {0!r}", query, exc_...
beetbox__beets-2775
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "beets/autotag/mb.py:album_info" ], "edited_modules": [ "beets/autotag/mb.py:album_info" ] }, "file": "beets/autotag/mb.py" } ]
beetbox/beets
721fedd7b9050ff0b6f17c33bdf00ea638484a03
Don't try to match non-audio media fetched from MusicBrainz Matching a folder containing all audio files of a MB release made of CD+DVD for instance fails since beets does take into account also the video files. For instance (1 CD+ 1DVD): https://musicbrainz.org/release/2775743e-2d9c-4b7f-9baa-1d24dc44c769 https://m...
diff --git a/beets/autotag/mb.py b/beets/autotag/mb.py index 5c484d2b3..b5ed4f358 100644 --- a/beets/autotag/mb.py +++ b/beets/autotag/mb.py @@ -36,6 +36,9 @@ if util.SNI_SUPPORTED: else: BASE_URL = 'http://musicbrainz.org/' +NON_AUDIO_FORMATS = ['Data CD', 'DVD', 'DVD-Video', 'Blu-ray', 'HD-DVD', 'VCD', + ...
beetbox__beets-2776
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "beets/autotag/mb.py:album_info" ], "edited_modules": [ "beets/autotag/mb.py:album_info" ] }, "file": "beets/autotag/mb.py" } ]
beetbox/beets
a5fc80ec50363c642b64b5621c705dfd1157c31c
Ignore missing video tracks identified by MusicBrainz during import and in missing plugin Musicbrainz albums sometimes have video tracks in them (example: http://musicbrainz.org/release/49da37ee-065a-4d7f-a204-9dda8047aad4 ) -- is it possible to ignore video tracks we importing or using `beet missing`?
diff --git a/beets/autotag/mb.py b/beets/autotag/mb.py index b5ed4f358..eb7c30808 100644 --- a/beets/autotag/mb.py +++ b/beets/autotag/mb.py @@ -39,6 +39,8 @@ else: NON_AUDIO_FORMATS = ['Data CD', 'DVD', 'DVD-Video', 'Blu-ray', 'HD-DVD', 'VCD', 'SVCD', 'UMD', 'VHS'] +SKIPPED_TRACKS = ['[data tr...
beetbox__beets-2988
[ { "changes": { "added_entities": [ "beets/dbcore/db.py:Model._get" ], "added_modules": null, "edited_entities": [ "beets/dbcore/db.py:FormattedMapping.__init__", "beets/dbcore/db.py:Model.clear_dirty", "beets/dbcore/db.py:Model.__getitem__", "beets...
beetbox/beets
66443169ad17f1e062620403f45eae7200e633a9
Path config query does not work with album-level flexible attributes ### Problem Path queries do not work with attributes that are set at album level. More specifically, I import an album setting at the same time a flexible attribute. I have various paths that are supposed to be modified by this attribute. Though th...
diff --git a/beets/dbcore/db.py b/beets/dbcore/db.py index 46b47a2e1..409ecc9af 100755 --- a/beets/dbcore/db.py +++ b/beets/dbcore/db.py @@ -56,10 +56,11 @@ class FormattedMapping(Mapping): are replaced. """ - def __init__(self, model, for_path=False): + def __init__(self, model, for_path=False, compu...
beetbox__beets-3044
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "beets/dbcore/db.py:Model.__delitem__" ], "edited_modules": [ "beets/dbcore/db.py:Model" ] }, "file": "beets/dbcore/db.py" } ]
beetbox/beets
3b78d933cf46d5cad8f90ea6cdf38ada9e10846f
modify: Field deletion (foo!) should work for fixed attributes by setting them to null ### Problem `foo!` works if foo is a flexible field, but it doesn't do anything if it's a fixed attribute. Example from IRC Chat: User not able to delete/reset artpath: to "None" as modify only results in artpath being the c...
diff --git a/beets/dbcore/db.py b/beets/dbcore/db.py index 0f4dc1513..e92cba40c 100755 --- a/beets/dbcore/db.py +++ b/beets/dbcore/db.py @@ -290,10 +290,10 @@ class Model(object): if key in self._values_flex: # Flexible. del self._values_flex[key] self._dirty.add(key) # Mark for dro...
beetbox__beets-3085
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "beets/ui/__init__.py:input_select_objects" ], "edited_modules": [ "beets/ui/__init__.py:input_select_objects" ] }, "file": "beets/ui/__init__.py" } ]
beetbox/beets
b380a4c9a37640f93b02c3277af5e76d4e8567e9
Selection interface: option to "skip remaining tracks" and take action ### Problem I love the `modify` command's select mode, because it means you don't have to write super-specific queries - instead you can write a more general query and then simply type an `n` to skip those tracks you don't want to retag. Unfor...
diff --git a/beets/ui/__init__.py b/beets/ui/__init__.py index d3c3dafc2..1abce2e67 100644 --- a/beets/ui/__init__.py +++ b/beets/ui/__init__.py @@ -408,9 +408,14 @@ def input_select_objects(prompt, objs, rep): out = [] for obj in objs: rep(obj) - if input_yn(u'%s? (yes/no)' % ...
beetbox__beets-3167
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "beetsplug/hook.py:CodingFormatter.format", "beetsplug/hook.py:HookPlugin.create_and_register_hook" ], "edited_modules": [ "beetsplug/hook.py:CodingFormatter", "beetsp...
beetbox/beets
80f4f0a0f235b9764f516990c174f6b73695175b
hook: Interpolate paths (and other bytestrings) correctly into commands ### Problem I have the following configuration for the Hook plugin in my config.yaml: ``` hook: hooks: - event: album_imported command: /usr/bin/ls -l "{album.path}" ``` This is just a test to see how beets prese...
diff --git a/beetsplug/hook.py b/beetsplug/hook.py index de44c1b81..ac0c4acad 100644 --- a/beetsplug/hook.py +++ b/beetsplug/hook.py @@ -18,7 +18,6 @@ from __future__ import division, absolute_import, print_function import string import subprocess -import six from beets.plugins import BeetsPlugin from beets.uti...
beetbox__beets-3372
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "beets/autotag/__init__.py:apply_metadata" ], "edited_modules": [ "beets/autotag/__init__.py:apply_metadata" ] }, "file": "beets/autotag/__init__.py" }, { "chang...
beetbox/beets
3ffd5ca0c4a417e46bc60f61192a7051b85066b4
beatport: Fetch musical key, BPM, and genre data ### Problem Everything seems to be getting pulled in except BPM & Key. Genre tag appears to be hit or miss. All tracks are from beatport, so the tags should be there. Looking at the API docs I see the facets listed. Are these actually accessible in Track Info? ``` Requ...
diff --git a/beets/autotag/__init__.py b/beets/autotag/__init__.py index b8bdea479..38db0a07b 100644 --- a/beets/autotag/__init__.py +++ b/beets/autotag/__init__.py @@ -185,6 +185,9 @@ def apply_metadata(album_info, mapping): 'work', 'mb_workid', 'work_disambig', + ...
beetbox__beets-3375
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "beetsplug/beatport.py:BeatportClient.get_release", "beetsplug/beatport.py:BeatportTrack.__init__", "beetsplug/beatport.py:BeatportPlugin.album_for_id", "beetsplug/beatport.py:Bea...
beetbox/beets
db7ef0e60e9b794fe3dd05a7bada424d6b008cbc
beatport plugin failing Hi, Trying to test the fix made by @temrix on the beatport plugin but i get errors on any file Running this command in verbose (`-vv`) mode: ```sh $ beet -vv import /mnt/d/test/ ``` Led to this problem: ``` user configuration: /root/.config/beets/config.yaml data directory: ...
diff --git a/beetsplug/beatport.py b/beetsplug/beatport.py index 8ef356fe8..c3933ed73 100644 --- a/beetsplug/beatport.py +++ b/beetsplug/beatport.py @@ -150,9 +150,11 @@ class BeatportClient(object): :rtype: :py:class:`BeatportRelease` """ response = self._get('/catalog/3/rele...