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 |
|---|---|---|---|---|---|
jackdewinter__pymarkdown-291 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"pymarkdown/container_block_processor.py:ContainerBlockProcessor.__calculate_container_used_indent",
"pymarkdown/container_block_processor.py:ContainerBlockProcessor.__handle_pre_processed_indent... | jackdewinter/pymarkdown | c42a99c5b7d560c836b0d5b11ae01fae4a32bc69 | Python docstrings are mis-treated as code block fences.
Minimal example:
```md
# Minimal test
1. Item
2. Item with code. The multi-line docstring is interpreted as code block fencing.
```python
def foo_fun():
"""
Does nothing.
Really.
"""
pass
```
... | diff --git a/publish/coverage.json b/publish/coverage.json
index a22ad94b..a0eca8b9 100644
--- a/publish/coverage.json
+++ b/publish/coverage.json
@@ -2,12 +2,12 @@
"projectName": "pymarkdown",
"reportSource": "pytest",
"branchLevel": {
- "totalMeasured": 3024,
- "totalCovered": 3024
+ ... |
jackdewinter__pymarkdown-428 | [
{
"changes": {
"added_entities": [
"pymarkdown/main.py:PyMarkdownLint.alternate_extension_type"
],
"added_modules": null,
"edited_entities": [
"pymarkdown/main.py:PyMarkdownLint.__parse_arguments",
"pymarkdown/main.py:PyMarkdownLint.__is_file_eligible_to_scan",
... | jackdewinter/pymarkdown | 1a83e3f3633e23d567b0d3b6868b8b9016205034 | Support for file extensions other than .md
Hi,
In current version, I noticed that usage of the pymarkdown tool is limited to files with extension `.md`.
That is due to https://github.com/jackdewinter/pymarkdown/blob/0476c414eb04f60cc0dde952578de43de028517f/pymarkdown/main.py#L212
I understand that this may be ... | diff --git a/publish/coverage.json b/publish/coverage.json
index a283d8ef..acc8d6d4 100644
--- a/publish/coverage.json
+++ b/publish/coverage.json
@@ -2,12 +2,12 @@
"projectName": "pymarkdown",
"reportSource": "pytest",
"branchLevel": {
- "totalMeasured": 3493,
- "totalCovered": 3493
+ ... |
jackdewinter__pymarkdown-886 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"pymarkdown/transform_markdown/transform_list_block.py:TransformListBlock.rehydrate_list_start",
"pymarkdown/transform_markdown/transform_list_block.py:TransformListBlock.rehydrate_list_start_pre... | jackdewinter/pymarkdown | 30e3597933d3a90ef5318c2553cc2d24f833fe3f | List Item spacing off (markdown regen)
SKIPPED [1] test\test_markdown_extra.py:2573: unconditional skip
SKIPPED [1] test\test_markdown_extra.py:2668: unconditional skip
SKIPPED [1] test\test_markdown_extra.py:2853: unconditional skip
SKIPPED [1] test\test_markdown_extra.py:2901: unconditional skip
SKIPPED [1] test\... | diff --git a/changelog.md b/changelog.md
index 3328febc..c272bcce 100644
--- a/changelog.md
+++ b/changelog.md
@@ -8,6 +8,9 @@
### Fixed
+- [Issue 828](https://github.com/jackdewinter/pymarkdown/issues/828)
+ - list new items within block quotes were not always rendering properly
+ in Markdown, required change... |
jackdewinter__pymarkdown-893 | [
{
"changes": {
"added_entities": [
"pymarkdown/plugins/rule_md_032.py:RuleMd032.__next_token_list_start"
],
"added_modules": null,
"edited_entities": [
"pymarkdown/plugins/rule_md_032.py:RuleMd032.next_token"
],
"edited_modules": [
"pymarkdown/plugins/... | jackdewinter/pymarkdown | 77206faa3633b86c19dd7f2ba858334071fe5571 | MD032 triggers wrongly with deeper levels of nesting
- test_extra_034d
- test_extra_034e
These are firing saying that the list is not properly surrounded by blank lines, when it is. Likely cause is some sort of nesting issues with current round of deeper nesting. | diff --git a/publish/coverage.json b/publish/coverage.json
index 3bf0314e..768be2ed 100644
--- a/publish/coverage.json
+++ b/publish/coverage.json
@@ -6,8 +6,8 @@
"totalCovered": 4297
},
"lineLevel": {
- "totalMeasured": 17932,
- "totalCovered": 17932
+ "totalMeasured": 17934,
+ ... |
jackdewinter__pyscan-12 | [
{
"changes": {
"added_entities": [
"project_summarizer/cobertura_plugin.py:CoberturaPlugin.__calculate_coverage_provider"
],
"added_modules": null,
"edited_entities": [
"project_summarizer/cobertura_plugin.py:CoberturaPlugin.generate_report",
"project_summarizer/c... | jackdewinter/pyscan | 05ea9bff0aaf4d53aa401c51526bb847accec56a | Add ability to try and pull coverage provider from coverage file. | diff --git a/project_summarizer/cobertura_plugin.py b/project_summarizer/cobertura_plugin.py
index ef42830..73e2a89 100644
--- a/project_summarizer/cobertura_plugin.py
+++ b/project_summarizer/cobertura_plugin.py
@@ -20,6 +20,10 @@ class CoberturaPlugin(ProjectSummarizerPlugin):
__COMMAND_LINE_ARGUMENT = "--cobert... |
jaebradley__draftkings_client-18 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": "draft_kings_client/__init__.py"
},
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"draft... | jaebradley/draftkings_client | 37b962c82b2993932b4fb2ae78d0caab7d133f9b | Update requirements | diff --git a/.travis.yml b/.travis.yml
index 4f68d83..ee1568b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,10 +1,15 @@
language: python
python:
- - "2.7"
-# command to install dependencies
-install: "pip install -r requirements.txt"
-# command to run tests
+ - "3.4"
+ - "3.5"
+ - "3.5-dev"
+ - "3.6"
+ - "3.... |
jaidevd__numerizer-21 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"numerizer/numerizer.py:andition"
],
"edited_modules": [
"numerizer/numerizer.py:andition"
]
},
"file": "numerizer/numerizer.py"
}
] | jaidevd/numerizer | a6ba2f1bef7f995dfcf5c002d7b05df44d246b90 | Problems unifying numbers
Found some cases in which the library fails to unify numbers.
Some cases identified:
* thirty two and forty one
- Expected: 32 and 41
- Gets: 32 and 40 1
* thirty two and forty one thousand
- Expected: 32 and 41000
- Gets: 32 and 40 1000
Reason found:
there's a metho... | diff --git a/numerizer/numerizer.py b/numerizer/numerizer.py
index 4b18cab..a9f3464 100644
--- a/numerizer/numerizer.py
+++ b/numerizer/numerizer.py
@@ -239,15 +239,25 @@ def postprocess(s, ignore=None):
def andition(s):
pat = re.compile(r'<num>(\d+)( | and )<num>(\d+)(?=[^\w]|$)', flags=re.IGNORECASE)
while... |
jamescooke__flake8-aaa-12 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"flake8_aaa/act_block.py:ActBlock.build"
],
"edited_modules": [
"flake8_aaa/act_block.py:ActBlock"
]
},
"file": "flake8_aaa/act_block.py"
},
{
"changes": {
... | jamescooke/flake8-aaa | 15695f30ea8e2f80f92026468569ed00c6d031dc | Fails when testing unicode files
When file is marked with unicode and contains unicode chars:
```
# encoding: utf-8
```
Then loading the file fails:
```
File "/home/vagrant/pysyncgateway/venv/local/lib/python2.7/site-packages/flake8/checker.py", line 493, in run_ast_checks
for (line_number, offset, t... | diff --git a/flake8_aaa/act_block.py b/flake8_aaa/act_block.py
index 51cd753..a49d5a4 100644
--- a/flake8_aaa/act_block.py
+++ b/flake8_aaa/act_block.py
@@ -23,11 +23,10 @@ class ActBlock:
self.block_type = block_type
@classmethod
- def build(obj, node, tokens):
+ def build(obj, node):
""... |
jamescooke__flake8-aaa-14 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"flake8_aaa/function.py:Function.parse"
],
"edited_modules": [
"flake8_aaa/function.py:Function"
]
},
"file": "flake8_aaa/function.py"
}
] | jamescooke/flake8-aaa | 88221857e1f5beab0d3e024131adef95b31f24c9 | Allow `pytest.raises` in assert blocks
In this test from here: https://github.com/constructpm/pysyncgateway/blob/master/tests/user/test_delete.py#L8-L14
```
def test(existing_user):
result = existing_user.delete()
assert result is True
assert result.retrieved is False
with pytest.raises(DoesNo... | diff --git a/flake8_aaa/function.py b/flake8_aaa/function.py
index e353135..2944886 100644
--- a/flake8_aaa/function.py
+++ b/flake8_aaa/function.py
@@ -46,6 +46,12 @@ class Function:
except NotActionBlock:
continue
+ # Allow `pytest.raises` in assert blocks
+ if len(self.a... |
jamescooke__flake8-aaa-34 | [
{
"changes": {
"added_entities": [
"flake8_aaa/act_block.py:ActBlock.build_body"
],
"added_modules": null,
"edited_entities": [
"flake8_aaa/act_block.py:ActBlock.build"
],
"edited_modules": [
"flake8_aaa/act_block.py:ActBlock"
]
},
"file"... | jamescooke/flake8-aaa | 6c0ce3154fd266e222afffffbc6386b2d9d55adb | Act blocks within context managers are not found, even when marked with #act
```
with mock.patch.object(sync_metadata, 'delay') as m_delay:
result = url(project_biz) # act
``` | diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index e45b27d..78198a4 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -14,6 +14,12 @@ Unreleased_
See also `latest documentation
<https://flake8-aaa.readthedocs.io/en/latest/>`_.
+Changed
+-------
+
+* Improved loading of Act blocks so that they can be found within cont... |
jameslamb__doppel-cli-109 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": "doppel/bin/analyze.py"
},
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"doppel/reporte... | jameslamb/doppel-cli | f03bfda7ae46aa9ec2f844ee6a9dc36e9d6f14fe | Comparison <> public method arguments in different order
`doppel-cli` should throw errors for situations like "method 'X' on class 'A' exists in all packages and all instances have the same arguments but the arguments are in a different order" | diff --git a/README.md b/README.md
index fc07162..a9f4968 100644
--- a/README.md
+++ b/README.md
@@ -73,7 +73,7 @@ Cool! Let's do some testing! `doppel-test` can be used to compare multiple packa
doppel-test \
--files $(pwd)/test_data/python_${PACKAGE}.json,$(pwd)/test_data/r_${PACKAGE}.json \
| tee out.log ... |
jameslamb__doppel-cli-110 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"doppel/PackageCollection.py:PackageCollection.__init__"
],
"edited_modules": [
"doppel/PackageCollection.py:PackageCollection"
]
},
"file": "doppel/PackageCollection.py... | jameslamb/doppel-cli | 857adf804b1e5edd336608a5d3c0f517d2c3117c | No uniqueness guarantees on "name" in PackageCollection
`PackageAPI` asks you to provide a "name" for a package dictionary. `PackageCollection` holds multiple instances of `PackageAPI`.
Currently, you can provide multiple `PackageAPI` instances with *the same "name"* to the `PackageCollection` constructor and it won... | diff --git a/doppel/PackageCollection.py b/doppel/PackageCollection.py
index bca655d..f56fe9a 100644
--- a/doppel/PackageCollection.py
+++ b/doppel/PackageCollection.py
@@ -8,6 +8,12 @@ class PackageCollection:
def __init__(self, packages):
for pkg in packages:
assert isinstance(pkg, PackageA... |
jameslamb__doppel-cli-121 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"doppel/reporters.py:SimpleReporter._check_function_args",
"doppel/reporters.py:SimpleReporter._check_class_public_method_args"
],
"edited_modules": [
"doppel/reporters.py:Sim... | jameslamb/doppel-cli | cc4bdb97b118dc39c88da338cc20c17c9579f9c3 | Add tests that doppel-test works on 1 or 3 or 10 files
Nothing about `doppel-cli` explicitly requires that you have exactly two comparison files!!
Need to add unit tests that `doppel-test` works with 1 file, 3 files, or 10 files! (just as examples of other non-2 counts to catch errors). Should establish tests like t... | diff --git a/NEWS.md b/NEWS.md
index f8ab5bd..b24fddb 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -2,6 +2,7 @@
## development version
+* All errors comparing public methods or functions are now reported. Previously, if two issues existed (such as "different number of keyword args" and "different order of keyword args"),... |
jamesoff__simplemonitor-469 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"simplemonitor/monitor.py:main"
],
"edited_modules": [
"simplemonitor/monitor.py:main"
]
},
"file": "simplemonitor/monitor.py"
},
{
"changes": {
"added_ent... | jamesoff/simplemonitor | b0a91683117d87fcf04bbd0bd53f99d65957a670 | Offer warning if no alerter config is found
If a config is loaded with no alerters and no remote logger, and maybe other configurations, warn at startup that alerts will not be sent. | diff --git a/simplemonitor/monitor.py b/simplemonitor/monitor.py
index 8b859a4..e1b264b 100644
--- a/simplemonitor/monitor.py
+++ b/simplemonitor/monitor.py
@@ -502,6 +502,9 @@ def main() -> None:
remote_port = int(config.get("monitor", "remote_port"))
key = config.get("monitor", "key", fallback=None)... |
jamesoff__simplemonitor-471 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"simplemonitor/Alerters/alerter.py:Alerter.build_message"
],
"edited_modules": [
"simplemonitor/Alerters/alerter.py:Alerter"
]
},
"file": "simplemonitor/Alerters/alerter... | jamesoff/simplemonitor | f38b86b3061a605aa34a881b85bb40c3c9369bbd | Support documentation fields in monitors
Add one or more documentation fields to Monitors, so they can include information such as a link to a run/playbook which Alerters can include. | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 861cdd6..d32f204 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -5,6 +5,7 @@ repos:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
+ exclude: tests/test_alerter.py
- id: fla... |
jamesoff__simplemonitor-487 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"simplemonitor/Loggers/logger.py:Logger.__init__"
],
"edited_modules": [
"simplemonitor/Loggers/logger.py:Logger"
]
},
"file": "simplemonitor/Loggers/logger.py"
},
{... | jamesoff/simplemonitor | af57a6bebe388fa362417a0f4f28f084c9e0b99a | Add group support to loggers
As discussed in #78 it would be nice to have the recently-added group feature work for loggers as well as alerters. | diff --git a/docs/logging.md b/docs/logging.md
index 7ddeef3..a627fb4 100644
--- a/docs/logging.md
+++ b/docs/logging.md
@@ -24,6 +24,7 @@ The section name should be the name of your logger. This is the name you should
|---|---|---|---|
|type|the type of logger to create. Choose one of the five in the list above.|yes... |
jamesoff__simplemonitor-539 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"simplemonitor/Alerters/alerter.py:Alerter.__init__",
"simplemonitor/Alerters/alerter.py:Alerter.build_message"
],
"edited_modules": [
"simplemonitor/Alerters/alerter.py:Alert... | jamesoff/simplemonitor | d1204fb82128ffd2b64ecc88ac429966a29e338b | Timezones in Alerters
Since #489 loggers now have a option `tz` for specifying a timezone (thanks for that!). Alerters don't have one though. So, for example, I can't change (or haven't found out how to) the timezone of the `{failed_at}` variable in the `execute` alerter. Maybe adding a `tz` option for alerters just li... | diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 05a5247..b08fa7b 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -38,3 +38,4 @@ jobs:
run: make network-test
- name: Upload to codecov
run: pipenv run codecov --token="${{ secrets.CODECOV_TOKE... |
jamesoff__simplemonitor-605 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"simplemonitor/Alerters/alerter.py:Alerter.__init__",
"simplemonitor/Alerters/alerter.py:Alerter.dependencies",
"simplemonitor/Alerters/alerter.py:Alerter.check_dependencies",
"si... | jamesoff/simplemonitor | a285fb62030d9d275c4117361b8eb4290e5aa0ae | Timezones in Alerters
Since #489 loggers now have a option `tz` for specifying a timezone (thanks for that!). Alerters don't have one though. So, for example, I can't change (or haven't found out how to) the timezone of the `{failed_at}` variable in the `execute` alerter. Maybe adding a `tz` option for alerters just li... | diff --git a/docs/alerting.md b/docs/alerting.md
index 5448953..dc9af21 100644
--- a/docs/alerting.md
+++ b/docs/alerting.md
@@ -50,6 +50,7 @@ All alerters accept time period configuration. By default, an alerter is active
| day | Which days an alerter can operate on. This is a comma-separated list of integers. 0 is M... |
jamesoff__simplemonitor-923 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"simplemonitor/Loggers/logger.py:Logger.__init__"
],
"edited_modules": [
"simplemonitor/Loggers/logger.py:Logger"
]
},
"file": "simplemonitor/Loggers/logger.py"
},
{... | jamesoff/simplemonitor | 14f0b1291506ee7b9d680ba64bca9d086215031d | mqtt logger (maybe all?) report failure even when monitors are not run
I've got a simple two monitor config; one a ping check that runs every 30 seconds, and one a speedtest that runs every 15 minutes (via `gap` on the monitor). My verbose app output looks like this:
```
2020-11-19 22:59:10 INFO (simplemonitor... | diff --git a/.python-version b/.python-version
index a08ffae..f870be2 100644
--- a/.python-version
+++ b/.python-version
@@ -1,1 +1,1 @@
-3.8.2
+3.10.1
diff --git a/docs/loggers.rst b/docs/loggers.rst
index ff38683..5590c72 100644
--- a/docs/loggers.rst
+++ b/docs/loggers.rst
@@ -56,6 +56,14 @@ These options are common... |
jamesremuscat__pyze-47 | [
{
"changes": {
"added_entities": [
"src/pyze/api/schedule.py:ChargeSchedule.__delitem__"
],
"added_modules": null,
"edited_entities": [
"src/pyze/api/schedule.py:_parse_schedule",
"src/pyze/api/schedule.py:ChargeSchedule.validate",
"src/pyze/api/schedule.p... | jamesremuscat/pyze | 7097ae2bed37862e735dfbbde258ebf7688dd323 | Show schedule throws exception
I do get a valid response, however, an exception is thrown. I am not so much a Python person, I assume you iterate over the weekdays and as it doesn't find "monday" in it, it fails.
````
{
"data": {
"type": "Car",
"id": "VF1AG000*********",
"attributes"... | diff --git a/setup.cfg b/setup.cfg
index 940e03e..d7e2ad0 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -3,3 +3,6 @@ ignore = E501
[tool:pytest]
junit_family=xunit2
+filterwarnings =
+ ignore
+ default:::pyze
diff --git a/src/pyze/api/kamereon.py b/src/pyze/api/kamereon.py
index 30c53aa..8d3d0d2 100644
--- a/src/... |
jamielennox__requests-mock-116 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"requests_mock/mocker.py:MockerCore.start"
],
"edited_modules": [
"requests_mock/mocker.py:MockerCore"
]
},
"file": "requests_mock/mocker.py"
}
] | jamielennox/requests-mock | 7a5fc638b606507a9a1dd2dc88e95df87dd2baa7 | redirects not working with second url real_http=True
```
with requests_mock.mock() as req_mock:
req_mock.post(url1, status_code=HTTPStatus.FOUND, headers={'location': url2})
req_mock.get(url2, real_http=True)
requests.post(url1)
```
this is resulting ConnectionError (since url1 is not reachable)
fr... | diff --git a/requests_mock/mocker.py b/requests_mock/mocker.py
index 0b8565d..9450d12 100644
--- a/requests_mock/mocker.py
+++ b/requests_mock/mocker.py
@@ -89,12 +89,13 @@ class MockerCore(object):
raise RuntimeError('Mocker has already been started')
self._last_send = requests.Session.send
+ ... |
janehmueller__python-json-config-11 | [
{
"changes": {
"added_entities": [
"python_json_config/config_node.py:ConfigNode.__contains__"
],
"added_modules": null,
"edited_entities": [
"python_json_config/config_node.py:ConfigNode.__getattr__",
"python_json_config/config_node.py:ConfigNode.get",
"p... | janehmueller/python-json-config | b1b657ffcbd1565b7a6e859b9383cc8c6dfdd892 | Check if key exists in config
It would be good to have the possibility to check if a certain configuration parameter is defined within the configuration or not. So basically something like this should be possible:
```python
if 'backend.media.type' in config:
return True
else:
return False
``` | diff --git a/python_json_config/config_node.py b/python_json_config/config_node.py
index 0b23352..972900a 100644
--- a/python_json_config/config_node.py
+++ b/python_json_config/config_node.py
@@ -15,10 +15,17 @@ class ConfigNode(object):
self.__node_dict = node_dict
- def __getattr__(self, item):
+ ... |
janehmueller__python-json-config-13 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"python_json_config/config_builder.py:ConfigBuilder.__validate_field_values"
],
"edited_modules": [
"python_json_config/config_builder.py:ConfigBuilder"
]
},
"file": "py... | janehmueller/python-json-config | 3b146dd2fb8d66007fbb2f2922f7fdcfdcfb21d4 | Better error reporting
There is currently no way to specify what exactly failed while parsing the config. In the optimal case, every validator should be able to define a message to show the user what exactly went wrong.
For example: `"There was an error while validating the host field, 127.0.0." is not a valid IP ad... | diff --git a/README.md b/README.md
index a4bb335..2868625 100644
--- a/README.md
+++ b/README.md
@@ -30,6 +30,9 @@ builder.validate_field_value('server.ip', is_ipv4_address)
builder.validate_field_value('server.port', is_unreserved_port)
builder.validate_field_value('jwt.access_token_expires', is_timedelta)
+# you ... |
janehmueller__python-json-config-14 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"python_json_config/config_builder.py:ConfigBuilder.__init__",
"python_json_config/config_builder.py:ConfigBuilder.validate_field_value",
"python_json_config/config_builder.py:ConfigBuild... | janehmueller/python-json-config | f7488e4dba2f4bad1af187bf5002b399f9c92ec0 | Chain validator functions
It would be great if one would be able to execute several validator functions in succession. So instead of having something like:
```
builder.validate_field_value('server.port', function_1)
```
it would be great if one could do:
```
builder.validate_field_value('server.port', [function_1... | diff --git a/README.md b/README.md
index 2868625..28e89e0 100644
--- a/README.md
+++ b/README.md
@@ -30,8 +30,11 @@ builder.validate_field_value('server.ip', is_ipv4_address)
builder.validate_field_value('server.port', is_unreserved_port)
builder.validate_field_value('jwt.access_token_expires', is_timedelta)
-# you... |
janehmueller__python-json-config-28 | [
{
"changes": {
"added_entities": [
"python_json_config/config_node.py:ConfigNode.add",
"python_json_config/config_node.py:ConfigNode.__path_str",
"python_json_config/config_node.py:ConfigNode.__path_for_key"
],
"added_modules": null,
"edited_entities": [
"... | janehmueller/python-json-config | 3c6da9448709ba44cfcf12bda58ebc59ab45216a | Add new keys to the config
It needs to be possible to attach new keys to config during runtime.
So for example:
`config['foo.bar'] = 'xyz'` and/or `config.foo.bar = 'xyz'` or `config.add('foo.bar', 'xyz')` | diff --git a/README.md b/README.md
index 87bbe08..41490a2 100644
--- a/README.md
+++ b/README.md
@@ -95,3 +95,20 @@ assert isinstance(important_date, datetime)
jwt_access_token_expires = config.jwt.access_token_expires
assert isinstance(jwt_access_token_expires, timedelta)
```
+
+## Change config values
+```
+config... |
janehmueller__python-json-config-29 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": "python_json_config/__version__.py"
},
{
"changes": {
"added_entities": [
"python_json_config/config_builder.py:ConfigBuilder.merge_with_... | janehmueller/python-json-config | 5538a65a82f4cc9ac430ae43f7a871f70ba5c172 | Merge with ENV variables
It would be nice if one could specify the prefix or list of prefixes for environment variables that should be merged into the configuration. For example to merge all environment variables starting with `"FOO_"` into the configuration. If a key already exists, the corresponding value will be ove... | diff --git a/README.md b/README.md
index 41490a2..22f8ea1 100644
--- a/README.md
+++ b/README.md
@@ -112,3 +112,22 @@ assert config.server.port == 1025
config.update("server.user", "user", upsert=True)
assert config.server.user == "user"
```
+
+## Overwrite fields with environment variables
+First, set environment v... |
janehmueller__python-json-config-3 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": "python_json_config/__version__.py"
},
{
"changes": {
"added_entities": [
"python_json_config/config_node.py:ConfigNode.__getstate__",
... | janehmueller/python-json-config | c5fc40ffa9a3543769b613f2a3cf6bb4f648d7a8 | Enable pickling of Config
Pickle tries to call `__getstate__` which fails since it is not handled in the custom `__getattr__` method.
Use [this solution](https://stackoverflow.com/a/50888571). | diff --git a/python_json_config/__version__.py b/python_json_config/__version__.py
index 1f356cc..cd7ca49 100644
--- a/python_json_config/__version__.py
+++ b/python_json_config/__version__.py
@@ -1,1 +1,1 @@
-__version__ = '1.0.0'
+__version__ = '1.0.1'
diff --git a/python_json_config/config_node.py b/python_json_conf... |
janehmueller__python-json-config-36 | [
{
"changes": {
"added_entities": [
"python_json_config/config_node.py:ConfigNode.keys",
"python_json_config/config_node.py:ConfigNode.values",
"python_json_config/config_node.py:ConfigNode.items",
"python_json_config/config_node.py:ConfigNode.to_dict",
"python_json_... | janehmueller/python-json-config | 8525c2694a6d1958b92d121015b1add5298a686c | Enable config iterations
It would be great if it were possible to iterate over the configuration.
For example:
```python
for key, value in config.items():
print(f'{key} --> {value}')
``` | diff --git a/python_json_config/config_node.py b/python_json_config/config_node.py
index 1195954..4cf2627 100644
--- a/python_json_config/config_node.py
+++ b/python_json_config/config_node.py
@@ -46,20 +46,9 @@ class ConfigNode(object):
self.__node_dict = node_dict
- def __getattr__(self, item: str):
-... |
janehmueller__python-json-config-37 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"python_json_config/config_builder.py:ConfigBuilder.__init__",
"python_json_config/config_builder.py:ConfigBuilder.merge_with_env_variables",
"python_json_config/config_builder.py:ConfigB... | janehmueller/python-json-config | d7e117d4b2ea0a6e09b5479f9f99004212ef14a2 | Revise ENV merging
Instead of merging the current config with the ENV variables by doing:
```python
builder = ConfigBuilder()
# you can also just pass a single prefix (builder.merge_with_env_variables("MYPROJECT")
builder.merge_with_env_variables(["MYPROJECT", "MYPYTHONPROJECTS"])
config = builder.parse_config({... | diff --git a/README.md b/README.md
index 22f8ea1..8fa7d77 100644
--- a/README.md
+++ b/README.md
@@ -131,3 +131,13 @@ assert config.server.host == "localhost"
assert config.cache == "redis"
assert config.user == "user"
```
+Alternatively you can also do the merging after creating the config object:
+```
+builder = C... |
janehmueller__python-json-config-41 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": "python_json_config/__init__.py"
},
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edi... | janehmueller/python-json-config | f9cb77c33ddfe80572c157448b1115a61e235ca7 | Serialization methods (JSON)
It would be great if a parsed configuration could also be transformed back into a dictionary or json string format. For example like: `config.dump()` or `config.to_json()` | diff --git a/python_json_config/__init__.py b/python_json_config/__init__.py
index 567dcba..4023d6d 100644
--- a/python_json_config/__init__.py
+++ b/python_json_config/__init__.py
@@ -2,6 +2,6 @@ from .config_node import Config
from .config_builder import ConfigBuilder
__all__ = [
- 'Config',
- 'ConfigBuilde... |
janehmueller__python-json-config-47 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"python_json_config/config_node.py:ConfigNode.update"
],
"edited_modules": [
"python_json_config/config_node.py:ConfigNode"
]
},
"file": "python_json_config/config_node.... | janehmueller/python-json-config | 5c5a39cfda2d51a4455f5d7ae9a48fb031fb62ea | When upserting a new value in a new subfield, the subfield is not added
E.g., we add value `x` to path `[foo, bar]` but `foo` does not exist yet. The subpath `foo` is not added and an error is thrown. | diff --git a/python_json_config/config_node.py b/python_json_config/config_node.py
index 9879339..9fb07b3 100644
--- a/python_json_config/config_node.py
+++ b/python_json_config/config_node.py
@@ -126,6 +126,11 @@ class ConfigNode(object):
else:
self.__node_dict[key] = value
else:... |
janehmueller__python-json-config-48 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": "python_json_config/__version__.py"
},
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"py... | janehmueller/python-json-config | b1cf8cf5b3882d6a80881433cb692857afe948f6 | Environment variable prefix should only match those variables with an underscore after the prefix
E.g. with prefix `TEST` the following should happen
- match `TEST_VALUE`
- not match `TESTSUITE_VERSION`
Currently it matches both | diff --git a/python_json_config/__version__.py b/python_json_config/__version__.py
index c68196d..a955fda 100644
--- a/python_json_config/__version__.py
+++ b/python_json_config/__version__.py
@@ -1,1 +1,1 @@
-__version__ = "1.2.0"
+__version__ = "1.2.1"
diff --git a/python_json_config/config_node.py b/python_json_conf... |
janehmueller__python-json-config-53 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"python_json_config/config_node.py:ConfigNode.merge_with_env_variables"
],
"edited_modules": [
"python_json_config/config_node.py:ConfigNode"
]
},
"file": "python_json_c... | janehmueller/python-json-config | c80d515a9139f13671cc41408dad3660cc0c4686 | Handle environment variables that overwrite config values with underscores in their names.
Currently if a field has an underscore in its name (e.g., `log_file`), the field can't be overwritten via environment variables. This can be enabled by escaping these underscores with another underscore. (In this case setting the... | diff --git a/python_json_config/config_node.py b/python_json_config/config_node.py
index 07a8d04..ce524d2 100644
--- a/python_json_config/config_node.py
+++ b/python_json_config/config_node.py
@@ -5,7 +5,7 @@ from typing import List, Union, Tuple
import msgpack
-from .utils import normalize_path
+from .utils impor... |
janehmueller__python-json-config-54 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": "python_json_config/__version__.py"
},
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"py... | janehmueller/python-json-config | f744b33a0b1cfde6e116d047618fc1fce120bcf7 | Properly set required/optional access in Config Nodes that are created at a later point in time (e.g. upsert)
Pass the value of the member `strict_access` to children spawned at a later point in time | diff --git a/python_json_config/__version__.py b/python_json_config/__version__.py
index a955fda..bc86c94 100644
--- a/python_json_config/__version__.py
+++ b/python_json_config/__version__.py
@@ -1,1 +1,1 @@
-__version__ = "1.2.1"
+__version__ = "1.2.2"
diff --git a/python_json_config/config_node.py b/python_json_conf... |
jaraco__inflect-124 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": "inflect.py"
}
] | jaraco/inflect | aba561dccc0075c4828d73146bfb707d8a166cdb | Plural of "cash"
When I use `plural_noun("cash")` the expected result is "cash" (the name might sometimes be countable, but most of the times is uncountable). However, at the moment the output is "cashes". Is it possible to solve this issue? | diff --git a/CHANGES.rst b/CHANGES.rst
index bfe499c..54842ae 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -1,3 +1,8 @@
+v5.1.0
+======
+
+* #113: Add support for uncountable nouns.
+
v5.0.3
======
diff --git a/inflect.py b/inflect.py
index 1a92c99..6ba83eb 100644
--- a/inflect.py
+++ b/inflect.py
@@ -169,7 +169,9... |
jaraco__inflect-125 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"inflect.py:engine.postprocess"
],
"edited_modules": [
"inflect.py:engine"
]
},
"file": "inflect.py"
}
] | jaraco/inflect | 532444a0dd9db7ee7c40ebe384f8412b28b835fd | list index out of range in engine.postprocess
Inflect pip installed into virtual environment running python3.7 on ubuntu 18.04
After getting an error I wrote some debug statements into inflect.py starting on line 2215:
def postprocess(self, orig, inflected):
inflected = str(inflected)
... | diff --git a/CHANGES.rst b/CHANGES.rst
index 5902ef4..a1c8450 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -1,3 +1,8 @@
+v5.3.0
+======
+
+* #108: Add support for pluralizing open compound nouns.
+
v5.2.0
======
diff --git a/inflect.py b/inflect.py
index 23fece2..3bb946b 100644
--- a/inflect.py
+++ b/inflect.py
@@... |
jaraco__inflect-137 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"inflect.py:engine.number_to_words"
],
"edited_modules": [
"inflect.py:engine"
]
},
"file": "inflect.py"
}
] | jaraco/inflect | 98e19e3eb3ad28f9fa882baaad01674c44b59952 | number_to_words crashes on strings 'st', 'nd' etc
Calling number_to_words on strings like 'st', 'nd' crashes. This is because of this line: https://github.com/jaraco/inflect/blob/98e19e3eb3ad28f9fa882baaad01674c44b59952/inflect.py#L3711 making the num variable empty and this line https://github.com/jaraco/inflect/blob/... | diff --git a/inflect.py b/inflect.py
index 3bb946b..de2fc5a 100644
--- a/inflect.py
+++ b/inflect.py
@@ -1848,6 +1848,7 @@ nth = {
12: "th",
13: "th",
}
+nth_suff = set(nth.values())
ordinal = dict(
ty="tieth",
@@ -3706,7 +3707,10 @@ class engine:
else:
sign = ""
- myor... |
jaraco__inflect-138 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": "inflect.py"
}
] | jaraco/inflect | 98e19e3eb3ad28f9fa882baaad01674c44b59952 | Singular of "tranches" should be "tranche"
SIngularizing "tranches" as a noun results in "tranch", which is incorrect. The correct singularization is "tranche".
Tranche has French etymology, but is a [well-known word in English](https://www.merriam-webster.com/dictionary/tranche), especially in finance. | diff --git a/inflect.py b/inflect.py
index 3bb946b..b8b7583 100644
--- a/inflect.py
+++ b/inflect.py
@@ -1413,6 +1413,7 @@ si_sb_ches_che = (
"quiches",
"stomachaches",
"toothaches",
+ "tranches",
)
si_sb_xes_xe = ("annexes", "axes", "deluxes", "pickaxes")
|
jaraco__path-204 | [
{
"changes": {
"added_entities": [
"path/__init__.py:Path.access",
"path/__init__.py:Path.link",
"path/__init__.py:Path.symlink",
"path/__init__.py:Path.readlink",
"path/__init__.py:Path.readlinkabs"
],
"added_modules": null,
"edited_entities": [
... | jaraco/path | a2aa0027e3d0e6cdc1334635be22bed1d48cd8ef | Align API with pathlib.Path
While this project has a long-established API, it's now at odds with the now more established conventions of the stdlib's [pathlib module](https://docs.python.org/3/library/pathlib.html).
Let's compare the usage of a `path.Path` object and a `pathlib.Path` object and determine if it would... | diff --git a/.coveragerc b/.coveragerc
index 6a34e66..0fd3ada 100644
--- a/.coveragerc
+++ b/.coveragerc
@@ -2,6 +2,7 @@
omit =
# leading `*/` for pytest-dev/pytest-cov#456
*/.tox/*
+ path/py37compat.py
[report]
show_missing = True
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 7d6b... |
jaraco__zipp-59 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"zipp.py:CompleteDirs.make"
],
"edited_modules": [
"zipp.py:CompleteDirs"
]
},
"file": "zipp.py"
}
] | jaraco/zipp | 8ad959e61cd4be40baab93528775c2bf03c8f4e1 | Usage of zipp.Path causes attempt to write after ZipFile is closed
Hello! I am attempting to use `zipp.Path` to construct a zip archive. I encountered the following issue:
```python
import io
from zipfile import ZipFile
import zipp
def make_zip():
"""Make zip file and return bytes."""
bytes_io = io.B... | diff --git a/CHANGES.rst b/CHANGES.rst
index 159e43d..045a3f0 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -1,3 +1,11 @@
+v3.2.0
+======
+
+#57 and bpo-40564: Mutate the passed ZipFile object
+type instead of making a copy. Prevents issues when
+both the local copy and the caller's copy attempt to
+close the same file... |
jaraco__zipp-60 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"zipp.py:Path.is_file"
],
"edited_modules": [
"zipp.py:Path"
]
},
"file": "zipp.py"
}
] | jaraco/zipp | 20ef7ddda408cee9822fa7d68954963a799e7a50 | is_file should return false unless that file exists
In `importlib.resources`, I've had to add special handling for zipp.Path.is_file returning true when the name looks valid but the file doesn't exist. By contrast, `pathlib.Path.is_file` returns False for paths that don't exist, even if they represent potentially vaild... | diff --git a/CHANGES.rst b/CHANGES.rst
index 71dd074..b0b60e1 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -9,6 +9,8 @@ close the same file handle.
#56 and bpo-41035: ``Path._next`` now honors
subclasses.
+#55: ``Path.is_file()`` now returns False for non-existent names.
+
v3.1.0
======
diff --git a/zipp.py b/... |
jaraco__zipp-8 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"zipp.py:Path.parent"
],
"edited_modules": [
"zipp.py:Path"
]
},
"file": "zipp.py"
}
] | jaraco/zipp | 4715556d5cad2cc106dd808eb5ce66fbada07434 | Attempting to get a parent of a dir results in the same object
In ae4be5a, I illustrate an issue I discovered where retrieving the parent of a directory results in the same object and not actually the parent. | diff --git a/CHANGES.rst b/CHANGES.rst
index 7cb2095..4a64ccf 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -1,3 +1,8 @@
+v0.5.2
+======
+
+#7: Parent of a directory now actually returns the parent.
+
v0.5.1
======
diff --git a/appveyor.yml b/appveyor.yml
index f35aa27..2b7808f 100644
--- a/appveyor.yml
+++ b/appve... |
jason-neal__eniric-104 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"eniric/broaden.py:rotational_convolution"
],
"edited_modules": [
"eniric/broaden.py:rotational_convolution"
]
},
"file": "eniric/broaden.py"
}
] | jason-neal/eniric | ae8dfefae3c00736c7700224729fd7450f794301 | Rotation of vsini=0.
**Describe the bug**
A `vsini=0` returns a Zero division error in rotation kernel.
```
File "/data/jneal/Code/repos/eniric/eniric/broaden.py", line 437, in rotation_kernel
c1 = 2.0 * (1.0 - epsilon) / denominator
ZeroDivisionError: float division by zero
```
**To Reproduce**
Att... | diff --git a/eniric/broaden.py b/eniric/broaden.py
index 94d2900..04cd4e3 100644
--- a/eniric/broaden.py
+++ b/eniric/broaden.py
@@ -6,16 +6,16 @@ Used to convolve the spectra for
Uses joblib.Memory to cache convolution results to skip repeated computation.
"""
-from typing import Optional, Union
import os
+from t... |
jasonish__py-idstools-74 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"idstools/rule.py:Rule.__init__",
"idstools/rule.py:parse"
],
"edited_modules": [
"idstools/rule.py:Rule",
"idstools/rule.py:parse"
]
},
"file": "idstool... | jasonish/py-idstools | a97393d38f3a69fb34ca962918a33688f58c22f8 | Recent versions of Snort unified2 not supported.
Hello,
I am trying to convert snort (=2.9.11) log to json file but getting error on python 2.7.12 with idstools (=0.6.3)
the code:
`
#!/usr/bin/python
from idstools import unified2
reader = unified2.SpoolRecordReader("/var/log/snort",
"snort.log", foll... | diff --git a/idstools/rule.py b/idstools/rule.py
index 17a5231..d0af8da 100644
--- a/idstools/rule.py
+++ b/idstools/rule.py
@@ -53,7 +53,7 @@ rule_pattern = re.compile(r"^(?P<enabled>#)*[\s#]*"
# Rule actions we expect to see.
actions = (
- "alert", "log", "pass", "activate", "dynamic", "drop", "reject", "sdrop... |
jaysonsantos__jinja-assets-compressor-47 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"jac/base.py:Compressor.compress"
],
"edited_modules": [
"jac/base.py:Compressor"
]
},
"file": "jac/base.py"
},
{
"changes": {
"added_entities": null,
... | jaysonsantos/jinja-assets-compressor | 13dd55cecae3f0ca16b9a52a59be5087c0bf9f36 | This tool is too slow, how to improve? | diff --git a/jac/base.py b/jac/base.py
index aab7298..8dc9708 100644
--- a/jac/base.py
+++ b/jac/base.py
@@ -49,7 +49,7 @@ class Compressor(object):
),
)
- if os.path.exists(cached_file):
+ if not self.config.compressor_debug and os.path.exists(cached_file):
filename =... |
jaywink__federation-100 | [
{
"changes": {
"added_entities": [
"federation/entities/base.py:EntityTypeMixin.__init__",
"federation/entities/base.py:EntityTypeMixin.validate_entity_type",
"federation/entities/base.py:TargetHandleMixin.__init__",
"federation/entities/base.py:TargetHandleMixin.validate_t... | jaywink/federation | ebacea83b0d70f8e63ffacdf113f05600acc6451 | Add Diaspora Reshare entity support
https://diaspora.github.io/diaspora_federation/entities/reshare.html | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 07c5f19..19755b4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,11 @@
## [unreleased]
+### Added
+* Added base entity `Share` which maps to a `DiasporaReshare` for the Diaspora protocol. ([related issue](https://github.com/jaywink/federation/issues/94))
+
+ ... |
jaywink__federation-104 | [
{
"changes": {
"added_entities": [
"federation/entities/base.py:BaseEntity.id",
"federation/entities/base.py:TargetGUIDMixin.target_id"
],
"added_modules": null,
"edited_entities": null,
"edited_modules": [
"federation/entities/base.py:BaseEntity",
"... | jaywink/federation | bcc779e006bc0af192db08a1ff8ed245c0fbd7c9 | Method to fetch remote content
For example posts, reshares and comments. Do a fetch against the correct protocol endpoint and return a validated entity.
Related to jaywink/socialhome#206 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 19755b4..fb6c6c0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,36 @@
* Added base entity `Share` which maps to a `DiasporaReshare` for the Diaspora protocol. ([related issue](https://github.com/jaywink/federation/issues/94))
The `Share` entity supports all ... |
jaywink__federation-117 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"federation/entities/diaspora/entities.py:DiasporaComment.to_xml",
"federation/entities/diaspora/entities.py:DiasporaPost.to_xml",
"federation/entities/diaspora/entities.py:DiasporaLike.t... | jaywink/federation | aa8e8a79607f305f33baab76cb77669f27cc6861 | Fix outgoing Diaspora entity names according to new spec
Some of the entities we build for Diaspora XML messages are based on the old protocol version which we don't intend to fully support. Since Diaspora 0.6 already understands these new names, we can safely send them out by breaking only pre-0.6 compatibility.
See ... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 54f2b3f..4510564 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -26,6 +26,10 @@
Parameter `to_user` is now `to_user_key` and thus instead of an object containing the `key` attribute it should now be an RSA public key object instance. This simplifies things since we o... |
jaywink__federation-63 | [
{
"changes": {
"added_entities": [
"federation/entities/base.py:BaseEntity._validate_children",
"federation/entities/base.py:OptionalRawContentMixin.__init__"
],
"added_modules": [
"federation/entities/base.py:OptionalRawContentMixin"
],
"edited_entities": [... | jaywink/federation | 334d6902e369e510e68e42600e265c65319ce328 | Finish up status message photos support
Every found `<photo>` should be linked to the current entity as a child entity. | diff --git a/CHANGELOG.md b/CHANGELOG.md
index b9b2bda..c80ac67 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,16 @@
# Changelog
+## [unreleased]
+
+### Backwards incompatible changes
+* `Image` no longer has a `text` attribute. It is replaced by `raw_content`, the same attribute as `Post` and `Comment` hav... |
jaywink__federation-73 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"federation/entities/diaspora/mappers.py:element_to_objects",
"federation/entities/diaspora/mappers.py:message_to_objects",
"federation/entities/diaspora/mappers.py:transform_attributes"
... | jaywink/federation | 3a2910afc2329fc4f052bd01a1eae6927a0c1ac8 | Ensure Diaspora entity converters understand all new attributes
Diaspora is unifying the attributes for the entities (see https://github.com/diaspora/diaspora_federation/issues/29). Make sure our converters handle all the new entities since some of the converters have been built from example old entity XML's which are ... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7ef04da..789ed19 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,12 +13,15 @@ Additionally, Diaspora entity mappers `message_to_objects` and `element_to_objec
### Other backwards incompatible changes
* A failed payload signature verification now raises a `SignatureVe... |
jaywink__federation-79 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"federation/protocols/diaspora/protocol.py:identify_payload",
"federation/protocols/diaspora/protocol.py:Protocol.parse_header",
"federation/protocols/diaspora/protocol.py:Protocol.decryp... | jaywink/federation | 273b7ba47a08d4fe8f85db9620c19ce7c79f83be | Don't try to identify Diaspora protocol
Diaspora will drop the whole XML wrapper and just deliver a Magic Envelope (for public posts). Private posts will be delivered wrapped in a JSON structure. Diaspora 0.6 understands this new message, 0.7 will maybe send it out.
For public posts, this:
```
<?xml version="1.0" enc... | diff --git a/federation/protocols/diaspora/protocol.py b/federation/protocols/diaspora/protocol.py
index 83c7045..8113b90 100644
--- a/federation/protocols/diaspora/protocol.py
+++ b/federation/protocols/diaspora/protocol.py
@@ -1,7 +1,7 @@
+import json
import logging
import warnings
from base64 import b64decode, ur... |
jaywink__federation-81 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": [
"federation/exceptions.py:NoHeaderInMessageError"
]
},
"file": "federation/exceptions.py"
},
{
"changes": {
"added_entities": [
"federati... | jaywink/federation | 064d0fa366f6e61327237677567fb3626024bc71 | Add support for Diaspora Salmon refactoring
See diaspora/diaspora_federation#30 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 64f576a..2d5de32 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,13 @@
# Changelog
+## [unreleased]
+
+### Backwards incompatible changes
+* Removed exception class `NoHeaderInMessageError`. New style Diaspora protocol does not have a custom header in the Salmon... |
jaywink__federation-84 | [
{
"changes": {
"added_entities": [
"federation/entities/base.py:Follow.__init__",
"federation/entities/base.py:Follow.validate_target_handle"
],
"added_modules": [
"federation/entities/base.py:Follow"
],
"edited_entities": null,
"edited_modules": null
... | jaywink/federation | e0dd39d518136eef5d36fa3c2cb36dc4b32d4a63 | Add support for Diaspora contact payload
This replaces the old `request` payload. See diaspora/diaspora_federation#32 | diff --git a/federation/entities/base.py b/federation/entities/base.py
index 1185248..97a055a 100644
--- a/federation/entities/base.py
+++ b/federation/entities/base.py
@@ -5,7 +5,7 @@ from dirty_validators.basic import Email
__all__ = (
- "Post", "Image", "Comment", "Reaction", "Relationship", "Profile", "Retr... |
jbasko__configmanager-113 | [
{
"changes": {
"added_entities": [
"configmanager/managers.py:Config.dump_values",
"configmanager/managers.py:Config.load_values"
],
"added_modules": null,
"edited_entities": [
"configmanager/managers.py:Config.to_dict",
"configmanager/managers.py:Config.r... | jbasko/configmanager | a4acefa81cb91b2ec25fbd38aa7a8acd26597d3d | read_dict and to_dict names are misleading
These methods actually only work with values or defaults, although the name doesn't suggest that!
Maybe rename these to `export_values()` and `load_values()` instead?
On the other hand, the main task of the library is to provide access to config values...
#108
| diff --git a/configmanager/managers.py b/configmanager/managers.py
index fdc3cbb..e395936 100644
--- a/configmanager/managers.py
+++ b/configmanager/managers.py
@@ -242,7 +242,7 @@ class Config(BaseSection):
for path, _ in self.iter_all(recursive=recursive):
yield path
- def to_dict(self, wit... |
jbasko__configmanager-34 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": "configmanager/__init__.py"
},
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"configmana... | jbasko/configmanager | b63b5e6c97f694392d3b01a7f2b8345c56ddf7f6 | Get rid of current ConfigManager.items() implementation | diff --git a/configmanager/__init__.py b/configmanager/__init__.py
index b0b47c1..e912d5f 100644
--- a/configmanager/__init__.py
+++ b/configmanager/__init__.py
@@ -1,4 +1,4 @@
-__version__ = '0.0.15'
+__version__ = '0.0.16'
from .base import not_set, ConfigItem, ConfigManager
from .exceptions import UnknownConfigI... |
jbasko__configmanager-75 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": "configmanager/__init__.py"
},
{
"changes": {
"added_entities": [
"configmanager/lightweight/managers.py:LwConfig.configparser"
],
... | jbasko/configmanager | c11fa7479ce47e0363250abbf68339d9c41b502a | Move persistence code out of from Config completely, include in a class not part of v1 | diff --git a/configmanager/__init__.py b/configmanager/__init__.py
index 216dfa2..5051026 100644
--- a/configmanager/__init__.py
+++ b/configmanager/__init__.py
@@ -1,3 +1,3 @@
-__version__ = '1.1.7'
+__version__ = '1.1.8'
from .v1 import *
diff --git a/configmanager/lightweight/managers.py b/configmanager/lightweig... |
jbasko__configmanager-86 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": "configmanager/__init__.py"
},
{
"changes": {
"added_entities": [
"configmanager/managers.py:Config._resolve_config_key",
"config... | jbasko/configmanager | 7046d348f0afcf11df79afa3d6ad9fb0f6757605 | len(Config)?
What would you expect -- number of sections or number of items? Probably items. | diff --git a/configmanager/__init__.py b/configmanager/__init__.py
index 246eadc..f2d2fcc 100644
--- a/configmanager/__init__.py
+++ b/configmanager/__init__.py
@@ -1,4 +1,4 @@
-__version__ = '1.2.0'
+__version__ = '1.3.0'
from .managers import Config
from .items import Item
diff --git a/configmanager/managers.py b... |
jbasko__configmanager-95 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": "configmanager/__init__.py"
},
{
"changes": {
"added_entities": [
"configmanager/items.py:Item.str_value"
],
"added_modules":... | jbasko/configmanager | d3e5b8a2d94beb39c7dc9b6063d696d62470b3bc | Add Item.str_value
Because str(item) is not intuitive and easy to miss the implications of | diff --git a/configmanager/__init__.py b/configmanager/__init__.py
index 9b6663e..0939e31 100644
--- a/configmanager/__init__.py
+++ b/configmanager/__init__.py
@@ -1,4 +1,4 @@
-__version__ = '1.5.1'
+__version__ = '1.5.2'
from .managers import Config
from .items import Item
diff --git a/configmanager/items.py b/co... |
jbasko__configmanager-96 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"configmanager/managers.py:Config.__new__"
],
"edited_modules": [
"configmanager/managers.py:Config"
]
},
"file": "configmanager/managers.py"
}
] | jbasko/configmanager | dbdd2467741f0875fca53d0062f4dca1f307df8a | Allow deep-copying of Config with config2 = Config(config1) | diff --git a/configmanager/managers.py b/configmanager/managers.py
index 1b03f33..9679217 100644
--- a/configmanager/managers.py
+++ b/configmanager/managers.py
@@ -46,8 +46,10 @@ class Config(BaseSection):
cm__configparser_factory = configparser.ConfigParser
def __new__(cls, config_declaration=None, item_c... |
jborean93__smbprotocol-262 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"src/smbprotocol/connection.py:Connection.__init__",
"src/smbprotocol/connection.py:Connection.connect",
"src/smbprotocol/connection.py:Connection.disconnect"
],
"edited_modul... | jborean93/smbprotocol | b4ce482031cb5a4873cf68d19aaeaee90e5131f8 | On disconnectt wait for msg_worker thread to end.
This should not be an issue in production.
It's just something to help with the automated tests.
For the automated tests, I have some extra checks to make sure the tests are not generating "stray" threads.
Since smbprotocol is not waiting for the `msg_thread-` ... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9257879..5ff1bfb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,7 @@
* Ensure `DateTimeField` values are set to `UTC` timezones as FILETIME values are in UTC
* Stop using `datetime.datetime.utcfromtimestamp()` as it has been deprecated
* Added default timeout f... |
jborean93__smbprotocol-264 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"src/smbprotocol/transport.py:Tcp.connect"
],
"edited_modules": [
"src/smbprotocol/transport.py:Tcp"
]
},
"file": "src/smbprotocol/transport.py"
}
] | jborean93/smbprotocol | b4ce482031cb5a4873cf68d19aaeaee90e5131f8 | smbprotocol.connection.Connection.connect() no longer shows the low-level connection error
Since 1.11.0 smbprotocol.connection.Connection.connect() no longer shows the low-level connection error
This is a change introduced in 1.11.0
The change is in transport.py
```diff
-raise ValueError("Failed to connect ... | diff --git a/src/smbprotocol/transport.py b/src/smbprotocol/transport.py
index 052b43a..2288239 100644
--- a/src/smbprotocol/transport.py
+++ b/src/smbprotocol/transport.py
@@ -65,7 +65,7 @@ class Tcp:
try:
self._sock = socket.create_connection((self.server, self.port), timeout=sel... |
jboss-dockerfiles__dogen-107 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dogen/generator.py:Generator.handle_sources"
],
"edited_modules": [
"dogen/generator.py:Generator"
]
},
"file": "dogen/generator.py"
}
] | jboss-dockerfiles/dogen | d4c4c877a818a3ce382b7a2b7ea2d765f3568f72 | Do not require md5sum for artifacts
The EnMasse community images need to be built using the 'latest' artifacts. To import these using sources, we need the latest md5sum. The md5sum might change after every build. Can we have an option to skip the md5sum, or have it pull & recalculate it? | diff --git a/dogen/generator.py b/dogen/generator.py
index 6d0793b..98ec763 100644
--- a/dogen/generator.py
+++ b/dogen/generator.py
@@ -292,7 +292,8 @@ class Generator(object):
passed = False
try:
if os.path.exists(filename):
- self.check_sum(filename, sour... |
jboss-dockerfiles__dogen-126 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dogen/plugins/cct.py:CCT.setup_cct",
"dogen/plugins/cct.py:CCT.prepare"
],
"edited_modules": [
"dogen/plugins/cct.py:CCT"
]
},
"file": "dogen/plugins/cct.py"
... | jboss-dockerfiles/dogen | f141578aafffa0dbc7a33e34b9456e22b1750698 | Remove debugport key
Instead a port key should be used with a specific type, optionally. | diff --git a/dogen/plugins/cct.py b/dogen/plugins/cct.py
index 5df1945..75f1ca0 100644
--- a/dogen/plugins/cct.py
+++ b/dogen/plugins/cct.py
@@ -32,10 +32,7 @@ class CCT(Plugin):
def setup_cct(self, version):
cctdist = '%s/.dogen/plugin/cct/%s/%s.zip' % (os.path.expanduser('~'), version, version)
... |
jboss-dockerfiles__dogen-134 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dogen/cli.py:CLI.run"
],
"edited_modules": [
"dogen/cli.py:CLI"
]
},
"file": "dogen/cli.py"
},
{
"changes": {
"added_entities": null,
"added_modules... | jboss-dockerfiles/dogen | a92bdcc194b4ca56c6691fbec7fe8e7b8cd19017 | Remove '--additional-script' argument
There is no use case for this option anymore. | diff --git a/dogen/cli.py b/dogen/cli.py
index 2e8930d..6540695 100644
--- a/dogen/cli.py
+++ b/dogen/cli.py
@@ -55,7 +55,6 @@ class CLI(object):
parser.add_argument('--without-sources', '--ws', action='store_true', help='Do not process sources, only generate Dockerfile')
parser.add_argument('--skip-s... |
jboss-dockerfiles__dogen-135 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dogen/generator.py:Generator._fetch_file",
"dogen/generator.py:Generator.handle_sources",
"dogen/generator.py:Generator.check_sum"
],
"edited_modules": [
"dogen/gener... | jboss-dockerfiles/dogen | a155c8b0383d66f5a4f81501e855edfcb148cb3e | Rename "url" in sources to "artifact"
It doesn't need to be a URL, it can be a filename only too. It's a bit misleading to call it "url". | diff --git a/dogen/generator.py b/dogen/generator.py
index 52fa501..d59602d 100644
--- a/dogen/generator.py
+++ b/dogen/generator.py
@@ -58,7 +58,7 @@ class Generator(object):
r = requests.get(location, verify=self.ssl_verify, stream=True)
if r.status_code != 200:
- raise Exception("Could... |
jboss-dockerfiles__dogen-136 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dogen/generator.py:Generator.render_from_template"
],
"edited_modules": [
"dogen/generator.py:Generator"
]
},
"file": "dogen/generator.py"
}
] | jboss-dockerfiles/dogen | c4cd03cb2352e4538e6bdc64800a2184ce1998e4 | Generate "maintainer" label instead using the MAINTAINER instruction
https://docs.docker.com/engine/reference/builder/#maintainer-deprecated
We should use `maintainer` label. | diff --git a/dogen/generator.py b/dogen/generator.py
index d59602d..50ed93c 100644
--- a/dogen/generator.py
+++ b/dogen/generator.py
@@ -226,6 +226,15 @@ class Generator(object):
self.log.info("Finished!")
def render_from_template(self):
+ maintainer = self.cfg.get('maintainer')
+
+ # http... |
jboss-dockerfiles__dogen-139 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dogen/generator.py:Generator.render_from_template"
],
"edited_modules": [
"dogen/generator.py:Generator"
]
},
"file": "dogen/generator.py"
}
] | jboss-dockerfiles/dogen | d916f2720cb1660517216f7804b7ddfcb97ebb65 | Set the "description" label based on the value of "description" field | diff --git a/dogen/generator.py b/dogen/generator.py
index 50ed93c..335db99 100644
--- a/dogen/generator.py
+++ b/dogen/generator.py
@@ -226,14 +226,16 @@ class Generator(object):
self.log.info("Finished!")
def render_from_template(self):
- maintainer = self.cfg.get('maintainer')
+ if not ... |
jboss-dockerfiles__dogen-140 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dogen/template_helper.py:TemplateHelper.envs"
],
"edited_modules": [
"dogen/template_helper.py:TemplateHelper"
]
},
"file": "dogen/template_helper.py"
}
] | jboss-dockerfiles/dogen | ac07abe63ec944d407e1d06669a09deeacc4e720 | Remove information and configuration sections in envs
Instead we should have a single `envs` section that contains an array of environment variables. The old "information" envs should have a new key added: `information` (or similar) with boolean value.
This makes it easier to understand the image.yaml. | diff --git a/dogen/schema/kwalify_schema.yaml b/dogen/schema/kwalify_schema.yaml
index 79a6b09..05069f3 100644
--- a/dogen/schema/kwalify_schema.yaml
+++ b/dogen/schema/kwalify_schema.yaml
@@ -23,22 +23,14 @@ map:
value: {type: str, required: True}
description: {type: str}
envs:
- type: map
... |
jboss-dockerfiles__dogen-143 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dogen/cli.py:CLI.__init__",
"dogen/cli.py:CLI.run"
],
"edited_modules": [
"dogen/cli.py:CLI"
]
},
"file": "dogen/cli.py"
},
{
"changes": {
"added_... | jboss-dockerfiles/dogen | a55fa36d7ae6d19688c93d42629fbd763b72419f | Add colored logging output
To make it easier to see important messages (especially when verbose output is turned on) - we should add color to log messages. | diff --git a/dogen/cli.py b/dogen/cli.py
index 6540695..c70984c 100644
--- a/dogen/cli.py
+++ b/dogen/cli.py
@@ -14,6 +14,7 @@ from dogen.version import version
from dogen.errors import Error
from dogen.plugin import Plugin
+import colorlog
class MyParser(argparse.ArgumentParser):
@@ -25,14 +26,15 @@ class MyP... |
jboss-dockerfiles__dogen-149 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dogen/generator.py:Generator.handle_sources",
"dogen/generator.py:Generator._download_source"
],
"edited_modules": [
"dogen/generator.py:Generator"
]
},
"file":... | jboss-dockerfiles/dogen | a475173ce00b2d6686c601ffc46a8d2bc3ed0a7f | Dogen fails if md5 is not set for 'local' artifacts
Using dogen 2.0. In my image.yaml, if I have the following:
````
sources:
- artifact: myfile.tar.gz
````
I run dogen mounting `pwd` into /tmp/output inside the dogen container, and put the myfile.tar.gz inside the build/ folder. Dogen is invoked with /tmp... | diff --git a/dogen/generator.py b/dogen/generator.py
index 0562cd8..415dcb0 100644
--- a/dogen/generator.py
+++ b/dogen/generator.py
@@ -313,9 +313,10 @@ class Generator(object):
algorithms.append(supported_algorithm)
try:
- if os.path.exists(filename) and algorithms:
- ... |
jboss-dockerfiles__dogen-196 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dogen/generator.py:Generator.render_from_template"
],
"edited_modules": [
"dogen/generator.py:Generator"
]
},
"file": "dogen/generator.py"
}
] | jboss-dockerfiles/dogen | 611898a32fca936d5a45368f049c1e3f74ea3c2f | Set summary label to value provided in description key
If the `summary` label is not defined, its value should be set to value of the `description` key. If it's not provided, summary label should not be set. | diff --git a/dogen/generator.py b/dogen/generator.py
index 1106f49..3a13051 100644
--- a/dogen/generator.py
+++ b/dogen/generator.py
@@ -232,13 +232,24 @@ class Generator(object):
if not self.cfg.get('labels'):
self.cfg['labels'] = []
+ labels = {}
+
+ for label in self.cfg.get('la... |
jboss-dockerfiles__dogen-52 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dogen/cli.py:CLI.run"
],
"edited_modules": [
"dogen/cli.py:CLI"
]
},
"file": "dogen/cli.py"
},
{
"changes": {
"added_entities": null,
"added_modules... | jboss-dockerfiles/dogen | ec71541a5a3b30972dc26ef51eb75baaecd7ee73 | Better way for invoking plugins
Currently plugins are invoked via --plugin [name] command line option. it complicates stuff with requiring different command lines for project with different plugins and its unneeded.
Plugins can be invoked automatically and have its own trigger action:
* command line option
* key i... | diff --git a/dogen/cli.py b/dogen/cli.py
index 79eafa7..25200ef 100644
--- a/dogen/cli.py
+++ b/dogen/cli.py
@@ -43,12 +43,6 @@ class CLI(object):
plugins = self.get_plugins()
- for plugin in plugins:
- key, description = plugins[plugin].info()
- epilog += "\n * %s:\t%s" % (ke... |
jboss-dockerfiles__dogen-72 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dogen/generator.py:Generator._fetch_file",
"dogen/generator.py:Generator.handle_sources"
],
"edited_modules": [
"dogen/generator.py:Generator"
]
},
"file": "dog... | jboss-dockerfiles/dogen | fca08f2027ef422c447cfd0f0def681b88a31890 | Make it possible to rename the target artifact | diff --git a/Dockerfile b/Dockerfile
index c43d93e..c6d23f4 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM alpine:3.3
+FROM alpine:3.5
RUN apk add --update sudo bash py-setuptools git && rm -rf /var/cache/apk/*
ENV DOGEN_VERSION master
diff --git a/dogen/generator.py b/dogen/generator.py
index 7205d... |
jbradberry__universe-24 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": [
"universe/components.py:MetadataComponent",
"universe/components.py:PositionComponent",
"universe/components.py:QueueComponent",
"universe/components... | jbradberry/universe | 0227050ab01c868be9c31aedeaa3a52988619206 | `name` should not be a mandatory attribute on Components
Currently a Component's name is used to determine which registry dicts an Entity gets registered into, but `name` is also a very likely name for a field. We should do something else to set up the entity registries.
Also, change `SpeciesComponent.singular_name... | diff --git a/universe/components.py b/universe/components.py
index 98d274a..7bba5cb 100644
--- a/universe/components.py
+++ b/universe/components.py
@@ -32,13 +32,13 @@ class Component(metaclass=MetaComponent):
class MetadataComponent(Component):
- name = 'metadata'
+ _name = 'metadata'
type = fields.... |
jbradberry__universe-26 | [
{
"changes": {
"added_entities": [
"universe/components.py:Component.display",
"universe/components.py:EnvironmentComponent._display_gravity",
"universe/components.py:EnvironmentComponent._display_temperature",
"universe/components.py:EnvironmentComponent._display_radiation... | jbradberry/universe | 04cd16c7fa63586cfead4a1ff5197df6ccdbafeb | Add planetary environmental variables
Planets need to have environmental settings which will influence their habitability for the players' species.
- [x] create a new environment component, consisting of temperature, radiation, and gravity
- [x] add the new component to the planet entity
- [x] have a mapping or fo... | diff --git a/universe/components.py b/universe/components.py
index 7bba5cb..85c9ed2 100644
--- a/universe/components.py
+++ b/universe/components.py
@@ -1,3 +1,6 @@
+import math
+import random
+
from . import fields
@@ -30,6 +33,20 @@ class Component(metaclass=MetaComponent):
raise ValidationError... |
jbradberry__universe-28 | [
{
"changes": {
"added_entities": [
"universe/components.py:MineralConcentrationComponent.random"
],
"added_modules": [
"universe/components.py:MineralConcentrationComponent",
"universe/components.py:MineralInventoryComponent"
],
"edited_entities": null,
... | jbradberry/universe | edc6d9841c79ba39d65a7a0cdccd9ec32e15848e | Add mineral variables
Planets need to have mineral concentrations on them, in order for mining to work.
- [x] create a new mineral concentration component, consisting of ironium, boranium, and germanium
- [x] add the concentration component to the planet entity type
- [x] create a new minerals component to represe... | diff --git a/universe/components.py b/universe/components.py
index 85c9ed2..f454a10 100644
--- a/universe/components.py
+++ b/universe/components.py
@@ -121,3 +121,27 @@ class EnvironmentComponent(Component):
'temperature': random.choices(list(range(1, 100)), weights=weights)[0],
'radiation': ... |
jbradberry__universe-31 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"universe/engine.py:Entity.__setattr__",
"universe/engine.py:Entity.__delattr__"
],
"edited_modules": [
"universe/engine.py:Entity"
]
},
"file": "universe/engine... | jbradberry/universe | 7caaa4890d34219fd03b24d85b82a1241e06af07 | Owned planets that have no population should lose ownership
Also, an explicit 0 population should be removed. | diff --git a/universe/engine.py b/universe/engine.py
index 08765e2..73fc86d 100644
--- a/universe/engine.py
+++ b/universe/engine.py
@@ -24,12 +24,14 @@ class Entity:
for component in self.__dict__.get('_components', {}).values():
if name in component._fields:
self.__dict__['_data... |
jbradberry__universe-33 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"universe/components.py:Component.serialize"
],
"edited_modules": [
"universe/components.py:Component",
"universe/components.py:OwnershipComponent"
]
},
"file": ... | jbradberry/universe | 2afb1c952947ddd667a07c935e0e8bdecaada137 | Create a new reference field type
Basically the equivalent of Django's `ForeignKey`. Currently we are just using an `IntField` to hold the data. This should probably also do something to make sure that the object on the other end doesn't get removed unexpectedly, or morph into an object with a different id.
- [x] ... | diff --git a/universe/components.py b/universe/components.py
index dbcba73..34cf944 100644
--- a/universe/components.py
+++ b/universe/components.py
@@ -30,9 +30,8 @@ class Component(metaclass=MetaComponent):
def serialize(self, data):
output = {}
self.validate(data)
- for name, field in s... |
jbradberry__universe-34 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": [
"universe/components.py:MetadataComponent"
]
},
"file": "universe/components.py"
},
{
"changes": {
"added_entities": null,
"added_modules":... | jbradberry/universe | 2d66ec17708be23ed04f2fe4afe58ed1ba89b1f9 | Add a way of providing a new unique id for freshly created entities
Currently we have been instantiating entities from serialized data, with ids already in place. However, we will eventually need to have new objects come into the world (e.g. ship construction completes), so we need to keep track of and provide new uni... | diff --git a/universe/components.py b/universe/components.py
index 34cf944..7d9a784 100644
--- a/universe/components.py
+++ b/universe/components.py
@@ -51,6 +51,7 @@ class Component(metaclass=MetaComponent):
class MetadataComponent(Component):
_name = 'metadata'
+ pk = fields.PrimaryKey()
type = fields... |
jbradberry__universe-36 | [
{
"changes": {
"added_entities": [
"universe/engine.py:GameState.load_data"
],
"added_modules": null,
"edited_entities": [
"universe/engine.py:Manager.import_data",
"universe/engine.py:GameState.generate",
"universe/engine.py:GameState.__init__"
],
... | jbradberry/universe | f9ceaa1830a58a2738bf0b42184d4cb06338a06a | Implement the ability to modify, reorder, and delete orders | diff --git a/universe/engine.py b/universe/engine.py
index 0737feb..83ffd4a 100644
--- a/universe/engine.py
+++ b/universe/engine.py
@@ -115,7 +115,19 @@ class Manager:
self.register_entity(entity)
for entity in self.get_entities('metadata').values():
entity.validate()
- self._... |
jbradberry__universe-37 | [
{
"changes": {
"added_entities": null,
"added_modules": [
"universe/components.py:SpeciesEnvironmentComponent",
"universe/components.py:SpeciesProductionComponent",
"universe/components.py:PlanetaryFacilitiesComponent"
],
"edited_entities": null,
"edited_mod... | jbradberry/universe | 5293c19f98028237a09663044c1795040f2777ad | Inhabited planets can have planetary facilities
In order for anything to be constructed in this game, as in Stars, minerals need to be mined from planets and population needs to produce action resources which can be enhanced by a special type of planetary facility called factories.
- [x] species get a new parameter ... | diff --git a/universe/components.py b/universe/components.py
index c9dbf3a..e171be0 100644
--- a/universe/components.py
+++ b/universe/components.py
@@ -72,6 +72,10 @@ class SpeciesComponent(Component):
plural_name = fields.CharField(required=True)
growth_rate = fields.IntField(required=True)
+
+class Speci... |
jcmgray__quimb-248 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"quimb/tensor/tensor_1d.py:MatrixProductState.sample"
],
"edited_modules": [
"quimb/tensor/tensor_1d.py:MatrixProductState"
]
},
"file": "quimb/tensor/tensor_1d.py"
}
... | jcmgray/quimb | 1960e054af2b15c99dfa143ac7956f5cf3b13f04 | CircuitMPS.sample with seed returns the same bitstring for every shot
### What happened?
- Create a `CircuitMPS` that flips a coin.
- Draw 50 samples from it.
- Do this with `seed=None`. Behavior is as expected.
- Do this with `seed` set to some random integers. In each instance, the same bit is measured ever... | diff --git a/quimb/tensor/tensor_1d.py b/quimb/tensor/tensor_1d.py
index 3e9572d..0d3c73e 100644
--- a/quimb/tensor/tensor_1d.py
+++ b/quimb/tensor/tensor_1d.py
@@ -6,6 +6,7 @@ import operator
from math import log, log2
from numbers import Integral
+import numpy as np
import scipy.sparse.linalg as spla
from autor... |
jcmgray__quimb-255 | [
{
"changes": {
"added_entities": [
"quimb/tensor/circuit.py:Circuit.phase",
"quimb/tensor/circuit.py:Circuit.cphase"
],
"added_modules": null,
"edited_entities": null,
"edited_modules": [
"quimb/tensor/circuit.py:Circuit"
]
},
"file": "quimb/te... | jcmgray/quimb | e067d2a58765ae8c57e4bb772efd138a017ab8b0 | Add "phase" and "cphase" aliases for "u1" and "cu1"
### Is your feature request related to a problem?
The phase gate has the matrix `diag(1, e^{i theta})` (reference: [PhaseGate in Qiskit](https://docs.quantum.ibm.com/api/qiskit/qiskit.circuit.library.PhaseGate)).
The controlled phase gate has the matrix `diag(1, 1, ... | diff --git a/quimb/tensor/circuit.py b/quimb/tensor/circuit.py
index 16a1723..39157e3 100644
--- a/quimb/tensor/circuit.py
+++ b/quimb/tensor/circuit.py
@@ -556,6 +556,7 @@ def u1_gate_param_gen(params):
register_param_gate("U1", u1_gate_param_gen, 1)
+register_param_gate("PHASE", u1_gate_param_gen, 1)
# two ... |
jd__tenacity-140 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"tenacity/__init__.py:BaseRetrying.iter"
],
"edited_modules": [
"tenacity/__init__.py:BaseRetrying"
]
},
"file": "tenacity/__init__.py"
},
{
"changes": {
"... | jd/tenacity | 4baff6e26be044d8132262d89a78e969d0a52cea | tenacity 5.0.0 breaks compat
```
gabbi.suitemaker.test_gabbi_resource_create_archive_policy.test_request
-----------------------------------------------------------------------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/home/tester/src/.tox/py27-mysql/local/lib/pyt... | diff --git a/tenacity/__init__.py b/tenacity/__init__.py
index 8330b1a..3360eca 100644
--- a/tenacity/__init__.py
+++ b/tenacity/__init__.py
@@ -315,17 +315,17 @@ class BaseRetrying(object):
is_explicit_retry = retry_state.outcome.failed \
and isinstance(retry_state.outcome.exception(), TryAgain... |
jd__tenacity-164 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"tenacity/compat.py:func_takes_retry_state",
"tenacity/compat.py:func_takes_last_result"
],
"edited_modules": [
"tenacity/compat.py:func_takes_retry_state",
"tenacity/... | jd/tenacity | bd3211786a0d23d4e889e6238ac99f0b253f0867 | retry doesn't pass retry_state to method
When using a bound method as a 'before' function (possibly others) that takes retry_state causes an error:
``` @_utils.wraps(fn)
def wrapped_before_func(retry_state):
# func, trial_number, trial_time_taken
warn_about_non_retry_state_deprecation('be... | diff --git a/tenacity/compat.py b/tenacity/compat.py
index 2d3e301..0451b8c 100644
--- a/tenacity/compat.py
+++ b/tenacity/compat.py
@@ -25,9 +25,10 @@ def warn_about_dunder_non_retry_state_deprecation(fn, stacklevel):
def func_takes_retry_state(func):
if not six.callable(func):
+ raise Exception(func)
... |
jd__tenacity-179 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"tenacity/wait.py:wait_exponential.__call__"
],
"edited_modules": [
"tenacity/wait.py:wait_exponential"
]
},
"file": "tenacity/wait.py"
}
] | jd/tenacity | 531a28b921e27e916dde6346f98868c66bc4fcb2 | wait_exponential has unexpected first delay
Hi there! Thank you for `tenacity`!
The first delay for `wait_exponential` is `2 * multiplier`, and to me that is unexpected. In version `5.0.4`:
```
In [14]: t0 = time.time()
...: t_last = t0
...: @retry(wait=wait_exponential(multiplier=0.2), stop=stop_after... | diff --git a/tenacity/wait.py b/tenacity/wait.py
index 84d3bfa..d3c835f 100644
--- a/tenacity/wait.py
+++ b/tenacity/wait.py
@@ -155,7 +155,7 @@ class wait_exponential(wait_base):
@_compat.wait_dunder_call_accept_old_params
def __call__(self, retry_state):
try:
- exp = self.exp_base ** ret... |
jd__tenacity-201 | [
{
"changes": {
"added_entities": [
"tenacity/_asyncio.py:AsyncRetrying.wraps"
],
"added_modules": null,
"edited_entities": null,
"edited_modules": [
"tenacity/_asyncio.py:AsyncRetrying"
]
},
"file": "tenacity/_asyncio.py"
}
] | jd/tenacity | dcabb396a4b851da44d2fb6fed84d6540cc2d93c | Asyncio: iscoroutinefunction does not work with tenacity
When decorating an `async` function with `@retry`, `asyncio.iscoroutinefunction(f)` unexpectedly returns `False`, because the wrapping function, in fact, is no coroutine.
This is a problem in some libraries that are using this way of determining if they are ha... | diff --git a/tenacity/_asyncio.py b/tenacity/_asyncio.py
index f93bf0f..035699d 100644
--- a/tenacity/_asyncio.py
+++ b/tenacity/_asyncio.py
@@ -38,6 +38,12 @@ if asyncio:
super(AsyncRetrying, self).__init__(**kwargs)
self.sleep = sleep
+ def wraps(self, fn):
+ fn = super()... |
jd__tenacity-437 | [
{
"changes": {
"added_entities": [
"tenacity/_asyncio.py:AsyncRetrying._wrap_action_func",
"tenacity/_asyncio.py:AsyncRetrying._add_action_func",
"tenacity/_asyncio.py:AsyncRetrying._run_retry",
"tenacity/_asyncio.py:AsyncRetrying._run_wait",
"tenacity/_asyncio.py:A... | jd/tenacity | b7e488379a5de01b54fc77bd598bdccecf199e47 | Is an async retry_error_callback possible?
My lib uses aiohttp. I want a retry mechanism when we are logout from the server. So here what I write:
```python
async def relogin(retry_state):
await retry_state.args[0].login()
print(retry_state)
@retry(
retry=retry_if_exception_type(NotAuthentic... | diff --git a/tenacity/_asyncio.py b/tenacity/_asyncio.py
index 16aec62..27c2664 100644
--- a/tenacity/_asyncio.py
+++ b/tenacity/_asyncio.py
@@ -25,6 +25,7 @@ from tenacity import BaseRetrying
from tenacity import DoAttempt
from tenacity import DoSleep
from tenacity import RetryCallState
+from tenacity import _utils... |
jdb78__pytorch-forecasting-1577 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"pytorch_forecasting/models/nhits/__init__.py:NHiTS.__init__"
],
"edited_modules": [
"pytorch_forecasting/models/nhits/__init__.py:NHiTS"
]
},
"file": "pytorch_forecasti... | jdb78/pytorch-forecasting | 119fa89ceb465b82292d0f2033171ad69a163885 | bug when `max_prediction_length=1`
- PyTorch-Forecasting version: 1.0.0
- PyTorch version: torch==2.2.1
- Python version: 3.10.14
- Operating System: Linux 6.5.0-35-generic, Ubuntu 22.04, x86_64 GNU/Linux
### Expected behavior
no error when `max_prediction_length=1`
### Actual behavior
error with TFT, NH... | diff --git a/pytorch_forecasting/models/nhits/__init__.py b/pytorch_forecasting/models/nhits/__init__.py
index a856afc..6af643a 100644
--- a/pytorch_forecasting/models/nhits/__init__.py
+++ b/pytorch_forecasting/models/nhits/__init__.py
@@ -154,8 +154,12 @@ class NHiTS(BaseModelWithCovariates):
if pooling_size... |
jddeal__python-cmr-52 | [
{
"changes": {
"added_entities": [
"cmr/queries.py:Query.format"
],
"added_modules": null,
"edited_entities": [
"cmr/queries.py:Query.get",
"cmr/queries.py:Query._build_url",
"cmr/queries.py:GranuleQuery.__init__",
"cmr/queries.py:CollectionQuery._... | jddeal/python-cmr | 089b0d6c3c6f002ef9fb412e7dc44c9053ae5351 | Support more result formats
Adding in support for the other MIME Types wouldn't be a bad idea or difficult. Both granule and collection queries support the following:
- json (default)
- xml
- echo10
- iso
- iso19115
- dif
- dif10
- csv
- atom
- kml
- native
Collection queries also support these formats:
... | diff --git a/README.rst b/README.rst
index 5a0e177..91f2785 100644
--- a/README.rst
+++ b/README.rst
@@ -140,3 +140,31 @@ To inspect and retreive results from the API, the following methods are availabl
# retrieve all the granules possible for the query
>>> granules = api.get_all() # this is a shortcut for... |
jddeal__python-cmr-53 | [
{
"changes": {
"added_entities": [
"cmr/queries.py:Query.parameters"
],
"added_modules": null,
"edited_entities": null,
"edited_modules": [
"cmr/queries.py:Query"
]
},
"file": "cmr/queries.py"
}
] | jddeal/python-cmr | 77d9eeb9310a34992cd7d0742f7b1903151737b2 | Param() method that accepts keyword args
This might be kind of a neat alternative to using the different methods directly. For example:
```python
# current way
api.short_name("AST_L1T").version("006").point(-100, 42).query()
# param() way
api.params(
short_name="AST_L1T",
version="006",
point=(-10... | diff --git a/README.rst b/README.rst
index 91f2785..f2fb6d5 100644
--- a/README.rst
+++ b/README.rst
@@ -125,6 +125,22 @@ Collection searches support these methods (in addition to the shared methods abo
>>> api.keyword("M*D09")
+As an alternative to chaining methods together to set the parameters of your query... |
jddeal__python-cmr-64 | [
{
"changes": {
"added_entities": [
"cmr/queries.py:GranuleQuery.concept_id",
"cmr/queries.py:CollectionQuery.concept_id"
],
"added_modules": null,
"edited_entities": null,
"edited_modules": [
"cmr/queries.py:GranuleQuery",
"cmr/queries.py:CollectionQ... | jddeal/python-cmr | 79b5556b72886c00901fb6e927f1c8aa009ca967 | Add GranuleQuery.collection_id() function
Hi @jddeal we've been using this toolkit... in short _**thank you**_ for publishing it, it;s saved us some time and cleaned up quite a fair bit if code.
I have a feature request which I would like to discuss with you.
Ideally, we want to search for granules as follows
```
... | diff --git a/README.rst b/README.rst
index 97a61ea..45fc2d5 100644
--- a/README.rst
+++ b/README.rst
@@ -94,6 +94,14 @@ The following methods are available to both collecton and granule queries:
# only include granules that are unavailable for download
>>> api.online_only()
+ # search for collections/gra... |
jdkandersson__OpenAlchemy-108 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"open_alchemy/helpers/get_ext_prop/__init__.py:get_ext_prop"
],
"edited_modules": [
"open_alchemy/helpers/get_ext_prop/__init__.py:get_ext_prop"
]
},
"file": "open_alche... | jdkandersson/OpenAlchemy | 123cc73aecfe79cd6bc46d829d388917c9df9e43 | Examine nullability of extension properties
Examine whether nullability of extension properties is a problem sine JSON schema does not support _nullable_. | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 311b4b60..baabd64f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,7 @@
- Add support for remote references to a file at a URL.
- Add support for default values.
+- Add check for whether the value of an extension property is null.
## Version 0.14.0 - 2020-02... |
jdkandersson__OpenAlchemy-128 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"open_alchemy/models_file/model/type_.py:typed_dict"
],
"edited_modules": [
"open_alchemy/models_file/model/type_.py:typed_dict"
]
},
"file": "open_alchemy/models_file/m... | jdkandersson/OpenAlchemy | 4679055ab3ee068d8aa54f2a5f2c2104f9479505 | The typed dict cannot have types such as datetime
The typed dict of a models file should only have the basic OpenAPI types, it should not have python types such as `datetime` which currently is the case. | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1dc8241c..adf69203 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,7 @@
## Version _next_
- Add support for `readOnly`.
+- Fix bug where TypedDIct types for `binary`, `date` and `date-time` string formats mapped to the incorrect python types.
## Version 1.1.... |
jdkandersson__OpenAlchemy-130 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"open_alchemy/utility_base/__init__.py:UtilityBase.instance_to_dict"
],
"edited_modules": [
"open_alchemy/utility_base/__init__.py:UtilityBase"
]
},
"file": "open_alchem... | jdkandersson/OpenAlchemy | 30d50467bb784b87f98e9464f127012c9679d5b5 | Don't return null column values unless they are required for to_dict and to_str
`null` values for non-required properties are not valid JSON schema dictionaries unless they are nullable. Change the rule for null values to:
- [ ] If the value is required, return it.
- [ ] If the value is nullable, return it.
- [ ] ... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index adf69203..71d90b35 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,7 @@
- Add support for `readOnly`.
- Fix bug where TypedDIct types for `binary`, `date` and `date-time` string formats mapped to the incorrect python types.
+- Fix bug where `to_dict` and `to_st... |
jdkandersson__OpenAlchemy-140 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"open_alchemy/column_factory/array_ref/foreign_key.py:set_"
],
"edited_modules": [
"open_alchemy/column_factory/array_ref/foreign_key.py:set_"
]
},
"file": "open_alchemy... | jdkandersson/OpenAlchemy | e71c56353d4d0e1cbe8f6aef0dc26e2ab76d1ad8 | Generated foreign key columns use table name instead of property name
According to the docs:
> When OpenAlchemy constructs the foreign key for you, the name of the property is made up of the name of the property referencing the object (division in the previous example) combined with the name of the property in the f... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0a98b9da..ec07c964 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,7 @@
## Version _next_
- Add support for generic JSON data for properties.
+- Fix bug where the name of the foreign key column was based on the table name and not the property name.
## Versio... |
jdkandersson__OpenAlchemy-153 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"open_alchemy/helpers/schema.py:constructable"
],
"edited_modules": [
"open_alchemy/helpers/schema.py:constructable"
]
},
"file": "open_alchemy/helpers/schema.py"
},
... | jdkandersson/OpenAlchemy | 1d9aa4014d00ae0a4693ddea1042f9b95f7e4462 | Expose schema validation errors
As a user I want to know all validation errors for my schema so that I can fix them.
- [x] Create a data model that records information about each model and its properties.
- [x] Add a constructor that takes schemas and builds out the data model. | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 17a8499d..ec37dfe0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,7 @@
- Add schemas pre-processor that extracts the required back references.
- Add foreign key pre-processor that extracts the required back references.
- Add schema validation pre-processor.
+- ... |
jdkandersson__OpenAlchemy-198 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"open_alchemy/__init__.py:build_json",
"open_alchemy/__init__.py:build_yaml"
],
"edited_modules": [
"open_alchemy/__init__.py:build_json",
"open_alchemy/__init__.py:bu... | jdkandersson/OpenAlchemy | 08bae1c48a75bf585531b9529b69feaa89d8cc6b | Add support for Python 3.9
As a user I want to use Python 3.9 when it is released so that I can use all the new features.
Add testing for python 3.9. | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index a9de7825..b8c31e59 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -4,7 +4,6 @@ repos:
hooks:
- id: black
language_version: python3.7
- exclude: "models_auto.py$|models_autogenerated.py$"
- repo: ht... |
jdkandersson__OpenAlchemy-57 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"open_alchemy/column_factory/column.py:_handle_string"
],
"edited_modules": [
"open_alchemy/column_factory/column.py:_handle_string"
]
},
"file": "open_alchemy/column_fa... | jdkandersson/OpenAlchemy | 3e37f5a89916afbd61be72295ba23a7b227b580a | Support date time
As a user I want to define a date time format so that I can store and retrieve dates from the database.
Support dates as indicated by the appropriate format directive of a string. | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3e0c7e91..b15f51a7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,7 @@
## Version _next_
- Refactor column handler to first check the schema, then gather the required artifacts for column construction and then construct the column.
+- Add support for DateTime.... |
jdkandersson__OpenAlchemy-63 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"open_alchemy/column_factory/column.py:_handle_string"
],
"edited_modules": [
"open_alchemy/column_factory/column.py:_handle_string"
]
},
"file": "open_alchemy/column_fa... | jdkandersson/OpenAlchemy | efb83519b59586ce725b34eeb345f22a53fb58c3 | Support byte
As a user I want to define a byte format so that I can store and retrieve base64 encoded values from the database.
Support byte as indicated by the appropriate format directive of a string. | diff --git a/CHANGELOG.md b/CHANGELOG.md
index f0e38c7e..e44f4266 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,7 @@
## Version _next_
+- Add support for _byte_
- Add support for _date_
- Move SQLAlchemy relationship construction behind facade
- Move schema calculations into separate files
diff --git ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.