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
ICB-DCM__pyABC-295
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pyabc/acceptor/acceptor.py:StochasticAcceptor.initialize", "pyabc/acceptor/acceptor.py:StochasticAcceptor.__call__" ], "edited_modules": [ "pyabc/acceptor/acceptor.py:Stochas...
ICB-DCM/pyABC
45369a69df3fbb982529f5b2188e64783efe613a
Log distance weights Until the near future, the distance weights will not be stored in the history due to legacy reasons. Thus, it may be good to add a callback function which is called after each update method. Sidenote: Always possible by creating a SubClass, or, to some degree, using the `logging.getLogger("Dista...
diff --git a/pyabc/acceptor/acceptor.py b/pyabc/acceptor/acceptor.py index cc8ca36..3c6acac 100644 --- a/pyabc/acceptor/acceptor.py +++ b/pyabc/acceptor/acceptor.py @@ -19,7 +19,7 @@ import pandas as pd from typing import Callable import logging -from ..distance import Distance, SCALE_LIN +from ..distance import Di...
ICB-DCM__pyPESTO-393
[ { "changes": { "added_entities": [ "pypesto/problem.py:Problem.lb", "pypesto/problem.py:Problem.ub", "pypesto/problem.py:Problem.x_guesses", "pypesto/problem.py:Problem.dim", "pypesto/problem.py:Problem.x_free_indices", "pypesto/problem.py:Problem.normalize"...
ICB-DCM/pyPESTO
2a5536323d36cdc8754ffe8475be99626718b23a
Profiles incompatible with fixed parameters (Old: Profiles are per default computed for all including fixed indices) I think the proper default behavior would be to only compute profiles for free parameters. Opinions?
diff --git a/pypesto/problem.py b/pypesto/problem.py index bfaafea..5b07302 100644 --- a/pypesto/problem.py +++ b/pypesto/problem.py @@ -55,10 +55,6 @@ class Problem: x_priors_defs: Definitions of priors for parameters. Types of priors, and their required and optional parameters, are described in...
ICB-DCM__pyPESTO-676
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pypesto/profile/validation_intervals.py:validation_profile_significance" ], "edited_modules": [ "pypesto/profile/validation_intervals.py:validation_profile_significance" ] ...
ICB-DCM/pyPESTO
5cce409f5c053ed257329f74c31f050bfcfe938c
Add more tests to validation intervals **Feature description** It would be nice to check, if the prediction for `x_opt` leads to the significance `1` and if the significance approaches zero for larger and larger deviations. (I had some problems with that for one application of mine, but I would not exclude that the i...
diff --git a/pypesto/profile/validation_intervals.py b/pypesto/profile/validation_intervals.py index 15de409..c60a437 100644 --- a/pypesto/profile/validation_intervals.py +++ b/pypesto/profile/validation_intervals.py @@ -125,13 +125,13 @@ def validation_profile_significance( # => survival function chi.sf if r...
IKNL__vantage6-85
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "vantage6/cli/configuration_wizard.py:node_configuration_questionaire", "vantage6/cli/configuration_wizard.py:server_configuration_questionaire" ], "edited_modules": [ "vantag...
IKNL/vantage6
a5b1d13084046d2621a0394719792f17e1712ac9
Extend CLI to support VPN configuration The CLI does not allow to configure the VPN server. This needs to be added to the following commands: - [x] `vserver new` - [x] `vserver-local new` - [x] `vnode new` - [x] `vnode-local new`
diff --git a/vantage6/cli/configuration_wizard.py b/vantage6/cli/configuration_wizard.py index cc30ac9..df35d74 100644 --- a/vantage6/cli/configuration_wizard.py +++ b/vantage6/cli/configuration_wizard.py @@ -75,6 +75,14 @@ def node_configuration_questionaire(dirs, instance_name): choices=["DEBUG", ...
INM-6__python-odmltables-120
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "doc/conf.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "odmltables/compare_secti...
INM-6/python-odmltables
f9787990e4865f222fb072e8c5c84f96a2bada6c
Error when converting empty (apart from header) csv file 'row_id' is undefined here when the csv file only contains a header: https://github.com/INM-6/python-odmltables/blob/f9787990e4865f222fb072e8c5c84f96a2bada6c/odmltables/odml_table.py#L492
diff --git a/.travis.yml b/.travis.yml index 8b19d30..6981149 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,17 +14,17 @@ addons: python: - 3.6 - + env: matrix: # This environment tests for python 3 packages with conda - DISTRIB="conda" PYTHON_VERSION="3.6" NUMPY_VERSION="1.13.3" XLW...
IdentityPython__JWTConnect-Python-CryptoJWT-170
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/cryptojwt/jwe/jwe_ec.py:JWE_EC.dec_setup" ], "edited_modules": [ "src/cryptojwt/jwe/jwe_ec.py:JWE_EC" ] }, "file": "src/cryptojwt/jwe/jwe_ec.py" } ]
IdentityPython/JWTConnect-Python-CryptoJWT
e77cd914703765804a8739d90893280214b9b0f1
Wrong type in JWE_EC.dec_setup Hello cryptojwt team, Thanks for your work, it usually works like a charm. I found an issue in `cryptojwt.jwe.jwe_ec.JWE_EC.dec_setup`. https://github.com/IdentityPython/JWTConnect-Python-CryptoJWT/blob/727bb9bff122a67e4e270330d990a7c1a1199664/src/cryptojwt/jwe/jwe_ec.py#L147 `apu...
diff --git a/src/cryptojwt/jwe/jwe_ec.py b/src/cryptojwt/jwe/jwe_ec.py index 8c6c616..ff36ff2 100644 --- a/src/cryptojwt/jwe/jwe_ec.py +++ b/src/cryptojwt/jwe/jwe_ec.py @@ -138,7 +138,7 @@ class JWE_EC(JWEKey): raise Exception("Ephemeral Public Key Missing in ECDH-ES Computation") epubkey = ECKe...
IdentityPython__SATOSA-432
[ { "changes": { "added_entities": [ "src/satosa/micro_services/attribute_modifications.py:FilterAttributeValues._apply_filters", "src/satosa/micro_services/attribute_modifications.py:FilterAttributeValues._shibmdscope_match_value", "src/satosa/micro_services/attribute_modifications....
IdentityPython/SATOSA
4e8d27c0697f5fc302f4387a7a4ca170a6a1e393
SAML2 SP backend check scope on attributes and reject by default <!--- Provide a general summary of the issue in the Title above --> The SAML2 SP backend should check the scope on scoped attributes asserted by an authenticating IdP and compare with the scope from the SAML metadata for the authenticating IdP and by def...
diff --git a/example/plugins/microservices/filter_attributes.yaml.example b/example/plugins/microservices/filter_attributes.yaml.example index f368493..185f2de 100644 --- a/example/plugins/microservices/filter_attributes.yaml.example +++ b/example/plugins/microservices/filter_attributes.yaml.example @@ -2,6 +2,35 @@ mo...
IdentityPython__oidc-op-130
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/oidcop/authz/__init__.py:AuthzHandling.__call__" ], "edited_modules": [ "src/oidcop/authz/__init__.py:AuthzHandling" ] }, "file": "src/oidcop/authz/__init__.py" }...
IdentityPython/oidc-op
9a2f6cfe6e7ecfb55e7934052101e79ec1c92d74
Scopes handling I will use this issue to try to describe how I think we should handle scopes. When we agree to something I will go forward and open a PR. Right now we have `scope_supported` which is used to define the scopes that are advertised in the well-known endpoint as well as the scopes that we allow. This can...
diff --git a/docs/source/contents/conf.rst b/docs/source/contents/conf.rst index 9799e8b..8ccf4c4 100644 --- a/docs/source/contents/conf.rst +++ b/docs/source/contents/conf.rst @@ -53,6 +53,33 @@ sub_funcs Optional. Functions involved in *sub*ject value creation. + +scopes_mapping +############## + +A dict definin...
IdentityPython__pysaml2-697
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/saml2/metadata.py:metadata_tostring_fix" ], "edited_modules": [ "src/saml2/metadata.py:metadata_tostring_fix" ] }, "file": "src/saml2/metadata.py" } ]
IdentityPython/pysaml2
8e0582ad87307f59370028ca93a4aa6f1bdc10a4
make_metadata.py fails to generate signed metadata with Python 3 When using Python 3, `make_metadata.py` and the examples error out when trying to generate signed metadata. The problem is that [`sign_entity_descriptor()`](https://github.com/IdentityPython/pysaml2/blob/master/src/saml2/metadata.py#L810) returns `str`...
diff --git a/src/saml2/metadata.py b/src/saml2/metadata.py index 5c465032..b2317131 100644 --- a/src/saml2/metadata.py +++ b/src/saml2/metadata.py @@ -66,10 +66,10 @@ def metadata_tostring_fix(desc, nspair, xmlstring=""): if not xmlstring: xmlstring = desc.to_string(nspair) - if six.PY2: + try: ...
IdentityPython__pysaml2-746
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/saml2/entity.py:Entity.apply_binding" ], "edited_modules": [ "src/saml2/entity.py:Entity" ] }, "file": "src/saml2/entity.py" }, { "changes": { "added_...
IdentityPython/pysaml2
344ca995f6f6be2a91ff4dae5a129a72945776fb
Saml2Client.apply_binding() should return HTTP status code saml2.client.Saml2Client.apply_binding() should return a item 'status' in the returned dict. The status should be the HTTP status code which should be used in the response.
diff --git a/src/saml2/entity.py b/src/saml2/entity.py index c9572aef..672ad6f7 100644 --- a/src/saml2/entity.py +++ b/src/saml2/entity.py @@ -241,7 +241,7 @@ class Entity(HTTPBase): if response: info = self.use_http_artifact(msg_str, destination, relay_state) info["method...
IdentityPython__pysaml2-801
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/saml2/response.py:StatusResponse.issuer" ], "edited_modules": [ "src/saml2/response.py:StatusResponse" ] }, "file": "src/saml2/response.py" } ]
IdentityPython/pysaml2
3bf6199fbde6c47eab79d88b4e3a21106f81c8d0
Response issuer can be None <!--- Provide a general summary of the issue in the Title above --> The SAML spec [sstc-saml-core-errata-2.0-wd-07.pdf](https://github.com/IdentityPython/pysaml2/files/6429604/sstc-saml-core-errata-2.0-wd-07.pdf) states that Issuer is optional on a response object. Specifically: - 3.3.3 El...
diff --git a/src/saml2/response.py b/src/saml2/response.py index 9d4021ee..21abae9a 100644 --- a/src/saml2/response.py +++ b/src/saml2/response.py @@ -435,7 +435,12 @@ class StatusResponse(object): self.response = mold.response def issuer(self): - return self.response.issuer.text.strip() + ...
ImageMarkup__isic-challenge-scoring-64
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "isic_challenge_scoring/load_csv.py:parse_csv" ], "edited_modules": [ "isic_challenge_scoring/load_csv.py:parse_csv" ] }, "file": "isic_challenge_scoring/load_csv.py" ...
ImageMarkup/isic-challenge-scoring
9b1fc71389cf5b23495f85f4976e2f6a3fba870d
ValueError: Index has duplicate keys: Index(['0.12345', 'ISIC_0012345'], dtype='object', name='image') Sentry Issue: [STADE-1S](https://sentry.io/organizations/isic/issues/1149020425/?referrer=github_integration) ``` ValueError: Index has duplicate keys: Index(['0.12345', 'ISIC_0012345'], dtype='object', name='image')...
diff --git a/isic_challenge_scoring/load_csv.py b/isic_challenge_scoring/load_csv.py index 8caef0a..d0156a1 100644 --- a/isic_challenge_scoring/load_csv.py +++ b/isic_challenge_scoring/load_csv.py @@ -29,7 +29,7 @@ def parse_truth_csv(csv_file_stream: TextIO) -> Tuple[pd.DataFrame, pd.DataFrame def parse_csv(csv_fil...
ImagingDataCommons__highdicom-211
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/highdicom/content.py:VOILUTTransformation.__init__" ], "edited_modules": [ "src/highdicom/content.py:VOILUTTransformation" ] }, "file": "src/highdicom/content.py" ...
ImagingDataCommons/highdicom
eea1f075a5bf5159e80b4cd16a9a19aa295b2719
Failure to create GSPS when reference DICOM uses "MultiValue" for WindowCenter, WindowWidth When I go to create a GSPS using hd.pr.GrayscaleSoftcopyPresentationState() I get an error for certain DICOM where WindowWidth and WindowCenter are not floats in the reference DICOM. Here's the error I get: ``` ~/anaconda3...
diff --git a/src/highdicom/content.py b/src/highdicom/content.py index 844cdee..ddbed2a 100644 --- a/src/highdicom/content.py +++ b/src/highdicom/content.py @@ -1867,7 +1867,7 @@ class VOILUTTransformation(Dataset): ) for exp in window_explanation: _check_long_...
ImagingDataCommons__highdicom-226
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/highdicom/sr/coding.py:CodedConcept.from_dataset" ], "edited_modules": [ "src/highdicom/sr/coding.py:CodedConcept" ] }, "file": "src/highdicom/sr/coding.py" } ]
ImagingDataCommons/highdicom
5cb05291d59378919de3c53f9c315f38c51121ce
Coded Concept with Long Code Value The CodedConcept `__init()` assigns the value to a LongCodeValue tag if it is >16 characters, and the `value()` method also supports retrieving the value from either CodeValue, LongCodeValue, or URNCodeValue. But the `from_dataset()` classmethod raises an attribute error if the passe...
diff --git a/src/highdicom/sr/coding.py b/src/highdicom/sr/coding.py index d4305b6..3301e86 100644 --- a/src/highdicom/sr/coding.py +++ b/src/highdicom/sr/coding.py @@ -126,7 +126,14 @@ class CodedConcept(Dataset): raise TypeError( 'Dataset must be a pydicom.dataset.Dataset.' ...
ImagingDataCommons__highdicom-307
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "src/highdicom/sr/__init__.py" }, { "changes": { "added_entities": [ "src/highdicom/sr/content.py:CoordinatesForMeasurement.__init__", ...
ImagingDataCommons/highdicom
32c5c70e3537c500b7e75d912486d7ee7af89b4b
Add SCOORD to a Measurement in SR (TID 320) Hi, is it possible to add spatial coordinates to a Measurement in SR? I'm looking at [TID 320 Image or Spatial Coordinates](https://dicom.nema.org/medical/dicom/current/output/chtml/part16/chapter_A.html#sect_TID_320), specifically row 3 and 4. If it's not currently pos...
diff --git a/docs/installation.rst b/docs/installation.rst index 37c9424..7eaecc0 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -16,7 +16,7 @@ Requirements Installation ------------ -Pre-built package available at PyPi: +Pre-build package available at PyPi: .. code-block:: none diff --git a...
ImperialCollegeLondon__PyProBE-217
[ { "changes": { "added_entities": [ "pyprobe/result.py:Result.export_to_mat" ], "added_modules": null, "edited_entities": null, "edited_modules": [ "pyprobe/result.py:Result" ] }, "file": "pyprobe/result.py" } ]
ImperialCollegeLondon/PyProBE
d88e9353e88ceb1895c4d3ff60e50ed60902b488
Add export to matlab function Add a method to export a result object to matlab. It would write to a `.mat` file a `data` variable and an `info` variable. This would be primarily for using matlab as a plotting tool.
diff --git a/pyprobe/result.py b/pyprobe/result.py index ca12368..a3f9d02 100644 --- a/pyprobe/result.py +++ b/pyprobe/result.py @@ -11,6 +11,8 @@ import polars as pl from deprecated import deprecated from numpy.typing import NDArray from pydantic import BaseModel, Field, model_validator +from scipy.io import savema...
ImperialCollegeLondon__pycsvy-123
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "csvy/readers.py:read_header" ], "edited_modules": [ "csvy/readers.py:read_header" ] }, "file": "csvy/readers.py" }, { "changes": { "added_entities": [ ...
ImperialCollegeLondon/pycsvy
b694174c39a96dd24e22e6e6ed48b9ec996feddb
Implement validators registry ## Problem The yaml header is meant to be flexible and there is no imposition of any specific fields that must be there. However, there are fields that, if present, must follow certain schema. An example of this are the CSV dialect (that will be implemented in #2) and the Tabular schema...
diff --git a/.vscode/settings.json b/.vscode/settings.json index e137fad..e36fe4b 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,4 +1,21 @@ { - "python.testing.unittestEnabled": false, - "python.testing.pytestEnabled": true -} \ No newline at end of file + "[python]": { + "editor.defaul...
ImperialCollegeLondon__pycsvy-124
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "csvy/readers.py:read_header", "csvy/readers.py:read_metadata", "csvy/readers.py:read_to_array", "csvy/readers.py:read_to_dataframe", "csvy/readers.py:read_to_polars", ...
ImperialCollegeLondon/pycsvy
410594113065145700e9c45bec6f66d86f0cdb22
`pycsvy` won't work with Unicode data on Windows Currently, `pycsvy`'s various reader functions don't explicitly specify a desired text-encoding to the underlying calls to `open()`, which means that the platform's default will be used. On Linux and macOS, the default encoding is UTF-8 but for unfortunate legacy reas...
diff --git a/README.md b/README.md index 18efd21..7005830 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,8 @@ [![codecov](https://codecov.io/gh/ImperialCollegeLondon/pycsvy/branch/develop/graph/badge.svg?token=N03KYNUD18)](https://codecov.io/gh/ImperialCollegeLondon/pycsvy) [![Codacy Badge](https://app.codacy.com...
ImperialCollegeLondon__pycsvy-54
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "csvy/readers.py:read_to_array", "csvy/readers.py:read_to_dataframe" ], "edited_modules": [ "csvy/readers.py:read_to_array", "csvy/readers.py:read_to_dataframe" ...
ImperialCollegeLondon/pycsvy
eaf67e61c1ae6a18c2cf73de917fd3b3c47cd0b3
Error occurs if `pandas` is not installed I'm trying to use pycsvy with FINESSE, which doesn't use pandas, and I'm getting the following error: ``` Exception has occurred: TypeError Tuple[t0, t1, ...]: each t must be a type. Got NotImplemented. File "/home/alex/code/FINESSE/finesse/hardware/data_file_writer.py"...
diff --git a/csvy/readers.py b/csvy/readers.py index 5b98c41..e51bcd9 100644 --- a/csvy/readers.py +++ b/csvy/readers.py @@ -7,7 +7,7 @@ import yaml try: from numpy.typing import NDArray except ModuleNotFoundError: - NDArray = NotImplemented # type: ignore + NDArray = None # type: ignore logging.get...
ImperialCollegeLondon__pycsvy-94
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "csvy/__init__.py" }, { "changes": { "added_entities": [ "csvy/readers.py:read_to_polars" ], "added_modules": [ "csvy...
ImperialCollegeLondon/pycsvy
0ff7bf41f9666d31fcaf620d82376db83731155e
Add support for `polars` ## Problem [`polars`](https://pola.rs/) has become recently a very attractive - and faster - alternative to `pandas`, so we should support it, as well. ## Solution Largely copying what's in place for `pandas`, implement support for reading data into a `polars` dataframe with [`read_cs...
diff --git a/csvy/__init__.py b/csvy/__init__.py index 9955d89..b053cda 100644 --- a/csvy/__init__.py +++ b/csvy/__init__.py @@ -6,5 +6,6 @@ from .readers import ( # noqa: F401 read_metadata, read_to_array, read_to_dataframe, + read_to_polars, ) from .writers import Writer, write, write_header # n...
Infinidat__munch-52
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "munch/__init__.py:fromYAML" ], "edited_modules": [ "munch/__init__.py:fromYAML" ] }, "file": "munch/__init__.py" } ]
Infinidat/munch
dede29c5e8bde7ca575365d50dd44f8fc12a5991
DefaultMunch.fromYAML should take default argument Currently, `DefaultMunch.fromYAML` is the same as `Munch.fromYAML`. This is confusing, and it is a pitty because a real `DefaultMunch.fromYAML` would add functionality which, FWIW, I could use. Thus, I propose to create a dedicated `DefaultMunch.fromYAML` function wit...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 424148a..8823bcc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ Changelog Next Version ------------ +* Support ``fromYAML`` classmethod for all Munch subclasses (PR [#52](https://github.com/Infinidat/munch/pull/52) fixes [#34](https://github.com/Infinidat...
Infinidat__munch-54
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "munch/__init__.py:Munch.get" ], "edited_modules": [ "munch/__init__.py:Munch" ] }, "file": "munch/__init__.py" } ]
Infinidat/munch
dede29c5e8bde7ca575365d50dd44f8fc12a5991
DefaultMunch getter now returns None instead of DefaultValue If a DefaultMunch has a default value of None, munch.get(attr_name, default_value) will now return None instead of default_value ``` >>> from munch import DefaultMunch >>> d = DefaultMunch(None, {'a': 1}) >>> d.get('a') 1 >>> d.get('b') >>> d.get('b'...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 424148a..723ba37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ Changelog Next Version ------------ +* Fix return value of DefaultMunch and DefaultFactoryMunch's get method (fixes [#53](https://github.com/Infinidat/munch/issues/53)) 2.4.0 (2019-10-29) ...
Infinidat__munch-93
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "munch/__init__.py:munchify" ], "edited_modules": [ "munch/__init__.py:munchify" ] }, "file": "munch/__init__.py" } ]
Infinidat/munch
28c1256e76c00f42aa9315015283f0bba8819c4c
munchify broken? Here is a minimal working example, which is broken. Is this already fixed? `munchify((1,2,[{'A': 'B'}])) Result: (1, 2, [Munch({'A': 'B'}), Munch({'A': 'B'})]) Expected: (1, 2, [Munch({'A': 'B'})])`
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3880744..64954bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,11 +40,15 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 - # Install the testing ...
Informasjonsforvaltning__datacatalogtordf-64
[ { "changes": { "added_entities": [ "src/datacatalogtordf/dataset.py:Dataset.spatial", "src/datacatalogtordf/dataset.py:Dataset._spatial_to_graph" ], "added_modules": null, "edited_entities": [ "src/datacatalogtordf/dataset.py:Dataset.spatial_coverage", "sr...
Informasjonsforvaltning/datacatalogtordf
95d8a9af3843dab23cd5e8bff47c72c33cd7c54d
spatialCoverage property name should be spatial. Confform dct:spatial DCAT specification and property should be a list
diff --git a/src/datacatalogtordf/dataset.py b/src/datacatalogtordf/dataset.py index cbeef12..419f9be 100644 --- a/src/datacatalogtordf/dataset.py +++ b/src/datacatalogtordf/dataset.py @@ -50,7 +50,7 @@ class Dataset(Resource): distributions (List[Distribution]): A list of distributions of the dataset ...
Informasjonsforvaltning__datacatalogtordf-69
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/datacatalogtordf/dataset.py:Dataset.temporal_resolution", "src/datacatalogtordf/dataset.py:Dataset._temporal_resolution_to_graph" ], "edited_modules": [ "src/datacatalogt...
Informasjonsforvaltning/datacatalogtordf
20d2ddbf36c19a2bd6621dec3ecf64e50d021866
temporal_resolution property should be a list
diff --git a/src/datacatalogtordf/dataset.py b/src/datacatalogtordf/dataset.py index 419f9be..92eb7bb 100644 --- a/src/datacatalogtordf/dataset.py +++ b/src/datacatalogtordf/dataset.py @@ -54,7 +54,8 @@ class Dataset(Resource): spatial_resolution (Decimal): Minimum spatial separation resolvable \ ...
Informasjonsforvaltning__datacatalogtordf-78
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/datacatalogtordf/catalog.py:Catalog.models", "src/datacatalogtordf/catalog.py:Catalog.contains_services" ], "edited_modules": [ "src/datacatalogtordf/catalog.py:Catalog" ...
Informasjonsforvaltning/datacatalogtordf
3eb00ad2b92cfdf51138e301f87cdc5bea279834
Validate content of lists When user set a list-property, the library should validate the items of the list where this is feasible. E.g. formats of Distribution where list should be a list of URIs: https://github.com/Informasjonsforvaltning/datacatalogtordf/blob/3eb00ad2b92cfdf51138e301f87cdc5bea279834/src/datacatalo...
diff --git a/pyproject.toml b/pyproject.toml index a551582..80ee9b3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ license = "Apache-2.0" name = "datacatalogtordf" readme = "README.md" repository = "https://github.com/Informasjonsforvaltning/datacatalogtordf" -version = "2.1.1" +version = "2.1.2"...
Informasjonsforvaltning__dsop-api-spesifikasjoner-28
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/dsop_api_spesifikasjoner/generateSpecification.py:_add_spec_to_catalog" ], "edited_modules": [ "src/dsop_api_spesifikasjoner/generateSpecification.py:_add_spec_to_catalog" ...
Informasjonsforvaltning/dsop-api-spesifikasjoner
ac723cbd772c2517793aab67144f963de064b46a
Legge til endepunkt i produksjonsmiljø - Sparebank 1 Helgeland Hei, Kan dere tilgjengeliggjøre endepunktet for Sparebank 1 Helgeland - 937904029 i produksjonsmiljø? Endepunkt: https://api.sparebank1.no/dsopaccountcontrolinfo/v2/AccountControlInfoService/v2/937904029
diff --git a/README.md b/README.md index cb9e1a3..2e4a9ae 100644 --- a/README.md +++ b/README.md @@ -19,14 +19,17 @@ A simple script is made to do the generation based on the banker.csv file and th - the name of the master specification file. ## Development + ### Requirements + - python3 - [pyenv](https://gith...
Informasjonsforvaltning__fdk-fulltext-search-138
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/fdk_fulltext_search/search/query_filter_utils.py:last_x_days_filter" ], "edited_modules": [ "src/fdk_fulltext_search/search/query_filter_utils.py:last_x_days_filter" ] ...
Informasjonsforvaltning/fdk-fulltext-search
ae21fecef4a7571dc643abc03cdbce08b18b0492
Last x days filter is not including current day Filter range should add an extra day
diff --git a/src/fdk_fulltext_search/search/query_filter_utils.py b/src/fdk_fulltext_search/search/query_filter_utils.py index b6b0f24..0a786d5 100644 --- a/src/fdk_fulltext_search/search/query_filter_utils.py +++ b/src/fdk_fulltext_search/search/query_filter_utils.py @@ -68,7 +68,7 @@ def exists_filter(request_item): ...
Informasjonsforvaltning__fdk-fulltext-search-152
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/fdk_fulltext_search/search/query_filter_utils.py:collection_filter" ], "edited_modules": [ "src/fdk_fulltext_search/search/query_filter_utils.py:collection_filter" ] },...
Informasjonsforvaltning/fdk-fulltext-search
1ff187de72e93778891da413bbb489fe5432d667
Støtte and og or filter som input fra bruker I dag er det hardkoda at vi bruker `and` når vi filterer på tema. Vi bør støtte at bruker oppgir om det skal brukes `and` eller `or`.
diff --git a/src/fdk_fulltext_search/search/query_filter_utils.py b/src/fdk_fulltext_search/search/query_filter_utils.py index d9c83a0..e8ab8cb 100644 --- a/src/fdk_fulltext_search/search/query_filter_utils.py +++ b/src/fdk_fulltext_search/search/query_filter_utils.py @@ -131,12 +131,16 @@ def collection_filter(filter_...
Informasjonsforvaltning__fdk-fulltext-search-159
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "src/fdk_fulltext_search/search/fields.py" } ]
Informasjonsforvaltning/fdk-fulltext-search
79471fb88248f44cbed6cd601b74ad5e7bb72b84
Verifiser at tema er med i søk Tema skal, etter det eg forstår, vere med i søk. Ting tyder på at dette ikkje er tilfelle. @oystein-asnes Kan du vere snill å kome opp med eit døme?
diff --git a/elasticsearch/create_datasets_index.json b/elasticsearch/create_datasets_index.json index f596bfc..6be7656 100644 --- a/elasticsearch/create_datasets_index.json +++ b/elasticsearch/create_datasets_index.json @@ -935,15 +935,6 @@ } } }, - "expand...
Informasjonsforvaltning__fdk-rdf-parser-294
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": [ "src/fdk_rdf_parser/classes/concept.py:Definition", "src/fdk_rdf_parser/classes/concept.py:Concept" ] }, "file": "src/fdk_rdf_parser/classes/concept.py...
Informasjonsforvaltning/fdk-rdf-parser
2ab291744ceed29487042a788a43a73f6c57536f
Legg til støtte for Definisjon(euvoc:XlNote) fra skos-ap-no v.2.0.3 se https://data.norge.no/specification/skos-ap-no-begrep#Definisjon predikater fra gammel skos-ap-no og ekvivalent i ny: - `rdfs:label` -> `rdf:value` - `skos:scopeNote` -> flyttes opp til selve begrepet og fjernes fra Definisjon - `dct:audience`...
diff --git a/src/fdk_rdf_parser/classes/concept.py b/src/fdk_rdf_parser/classes/concept.py index c88371a..a4660b5 100644 --- a/src/fdk_rdf_parser/classes/concept.py +++ b/src/fdk_rdf_parser/classes/concept.py @@ -29,10 +29,10 @@ class TextAndURI: @dataclass class Definition: text: Optional[Dict[str, str]] = None...
Informasjonsforvaltning__fdk-rdf-parser-297
[ { "changes": { "added_entities": [ "src/fdk_rdf_parser/parse_functions/concept.py:extract_labels" ], "added_modules": [ "src/fdk_rdf_parser/parse_functions/concept.py:extract_labels" ], "edited_entities": [ "src/fdk_rdf_parser/parse_functions/concept.py:pars...
Informasjonsforvaltning/fdk-rdf-parser
969a0bdc1110685f4c2bea4ca4ceba4106488e33
Legg til støtte for labels fra skos-ap-no v.2.0.3 prefLabel, altLabel og hiddenLabel får alle tre nye predikater og går over til å være direkte angivelse - `skosxl:prefLabel` -> direkte angivelse på `skos:prefLabel`[ref](https://data.norge.no/specification/skos-ap-no-begrep#Begrep-anbefalt-term) - `skosxl:altLabel`...
diff --git a/src/fdk_rdf_parser/parse_functions/concept.py b/src/fdk_rdf_parser/parse_functions/concept.py index 75c9731..e891d18 100644 --- a/src/fdk_rdf_parser/parse_functions/concept.py +++ b/src/fdk_rdf_parser/parse_functions/concept.py @@ -35,6 +35,7 @@ from fdk_rdf_parser.rdf_utils import ( date_value, ...
Informasjonsforvaltning__fdk-rdf-parser-306
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/fdk_rdf_parser/parse_functions/concept.py:parse_associative_relation", "src/fdk_rdf_parser/parse_functions/concept.py:extract_associative_relations" ], "edited_modules": [ ...
Informasjonsforvaltning/fdk-rdf-parser
6f2ba3bef2611d35b28a1e26831f58dfeb456325
ny assosiativ relasjon fra skos-ap-no v2.0.3 ref https://data.norge.no/specification/skos-ap-no-begrep#Begrep-er-fra-begrep-i og https://data.norge.no/specification/skos-ap-no-begrep#Assosiativ-begrepsrelasjon - predikat for angivelse av assosiativ relasjon endres fra `skosno:assosiativRelasjon` til `skosno:isFromCo...
diff --git a/src/fdk_rdf_parser/parse_functions/concept.py b/src/fdk_rdf_parser/parse_functions/concept.py index c20652a..cb07846 100644 --- a/src/fdk_rdf_parser/parse_functions/concept.py +++ b/src/fdk_rdf_parser/parse_functions/concept.py @@ -260,7 +260,9 @@ def parse_associative_relation( description=value_...
Informasjonsforvaltning__fdk-rdf-parser-307
[ { "changes": { "added_entities": [ "src/fdk_rdf_parser/parse_functions/concept.py:extract_collection_label" ], "added_modules": [ "src/fdk_rdf_parser/parse_functions/concept.py:extract_collection_label" ], "edited_entities": [ "src/fdk_rdf_parser/parse_funct...
Informasjonsforvaltning/fdk-rdf-parser
e2ff215db4d333aa5a7b2f6068aebc94261c9a16
ny startDate & endDate fra skos-ap-no v.2.0.3 ref https://data.norge.no/specification/skos-ap-no-begrep#Begrep-dato-gyldig-fra-og-med og https://data.norge.no/specification/skos-ap-no-begrep#Begrep-dato-gyldig-til-og-med gyldig fra og til vil ikke lenger bli angitt via en liste med PeriodOfTime, kun direkte angitt p...
diff --git a/src/fdk_rdf_parser/parse_functions/concept.py b/src/fdk_rdf_parser/parse_functions/concept.py index cb07846..b8bb792 100644 --- a/src/fdk_rdf_parser/parse_functions/concept.py +++ b/src/fdk_rdf_parser/parse_functions/concept.py @@ -18,10 +18,7 @@ from rdflib.namespace import ( SKOS, ) -from fdk_rdf...
Informasjonsforvaltning__fdk-rdf-parser-308
[ { "changes": { "added_entities": [ "src/fdk_rdf_parser/parse_functions/concept.py:parse_generic_relation_deprecated", "src/fdk_rdf_parser/parse_functions/concept.py:extract_collection_label" ], "added_modules": [ "src/fdk_rdf_parser/parse_functions/concept.py:parse_gene...
Informasjonsforvaltning/fdk-rdf-parser
e2ff215db4d333aa5a7b2f6068aebc94261c9a16
ny generisk relasjon fra skos-ap-no v2.0.3 https://data.norge.no/specification/skos-ap-no-begrep#Begrep-har-generisk-begrepsrelasjon https://data.norge.no/specification/skos-ap-no-begrep#Generisk-begrepsrelasjon - predikat for angivelse av assosiativ relasjon endres fra `skosno:generiskRelasjon` til `skosno:hasGene...
diff --git a/src/fdk_rdf_parser/parse_functions/concept.py b/src/fdk_rdf_parser/parse_functions/concept.py index cb07846..f7f0146 100644 --- a/src/fdk_rdf_parser/parse_functions/concept.py +++ b/src/fdk_rdf_parser/parse_functions/concept.py @@ -18,10 +18,7 @@ from rdflib.namespace import ( SKOS, ) -from fdk_rdf...
Informasjonsforvaltning__fdk-rdf-parser-309
[ { "changes": { "added_entities": [ "src/fdk_rdf_parser/parse_functions/concept.py:parse_partitive_relation_deprecated", "src/fdk_rdf_parser/parse_functions/concept.py:parse_generic_relation_deprecated", "src/fdk_rdf_parser/parse_functions/concept.py:extract_collection_label" ...
Informasjonsforvaltning/fdk-rdf-parser
e2ff215db4d333aa5a7b2f6068aebc94261c9a16
ny partitiv relasjon fra skos-ap-no v2.0.3 https://data.norge.no/specification/skos-ap-no-begrep#Begrep-har-partitiv-begrepsrelasjon https://data.norge.no/specification/skos-ap-no-begrep#Partitiv-begrepsrelasjon - predikat for angivelse av partitiv relasjon endres fra `skosno:partitivRelasjon` til `skosno:hasPartit...
diff --git a/src/fdk_rdf_parser/parse_functions/concept.py b/src/fdk_rdf_parser/parse_functions/concept.py index cb07846..8bdcdc5 100644 --- a/src/fdk_rdf_parser/parse_functions/concept.py +++ b/src/fdk_rdf_parser/parse_functions/concept.py @@ -18,10 +18,7 @@ from rdflib.namespace import ( SKOS, ) -from fdk_rdf...
Informasjonsforvaltning__fdk-rdf-parser-319
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/fdk_rdf_parser/parse_functions/conforms_to.py:extract_conforms_to" ], "edited_modules": [ "src/fdk_rdf_parser/parse_functions/conforms_to.py:extract_conforms_to" ] }, ...
Informasjonsforvaltning/fdk-rdf-parser
c934018036106796d1221f6e99ade6858d27c144
Hent ut og prioriter seeAlso som uri verdi for conformsTo på datasett I følge dcat-ap-no så er typen til conformsTo dcat:Standard, som ikke har dct:source, men rdfs:seeAlso Se https://informasjonsforvaltning.github.io/dcat-ap-no/#Standard-harReferanse og https://informasjonsforvaltning.github.io/dcat-ap-no/#Dataset...
diff --git a/poetry.lock b/poetry.lock index 95fda68..532b15e 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. [[package]] ...
Informasjonsforvaltning__fdk-rdf-parser-320
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/fdk_rdf_parser/classes/dataservice.py:DataService.add_values_from_dcat_resource" ], "edited_modules": [ "src/fdk_rdf_parser/classes/dataservice.py:DataService" ] }, ...
Informasjonsforvaltning/fdk-rdf-parser
0a72edaddfd8858b4fe4830a24875fc1cc1be7fb
Feltet dctType for datasett må støtte data fra beskrivende begrep ref https://data.norge.no/specification/dcat-ap-no#Datasett-type Dette feltet må støtte at verdien er en referanse til et beskrivende begrep, feks fra kodelisten dataset-type. ----- https://github.com/Informasjonsforvaltning/fdk-issue-tracker/issu...
diff --git a/.github/workflows/constraints.txt b/.github/workflows/constraints.txt index 2dcd9ec..8a2e1cf 100644 --- a/.github/workflows/constraints.txt +++ b/.github/workflows/constraints.txt @@ -1,4 +1,4 @@ -pip==24.0 +pip==24.2 pipx==1.4.3 nox==2024.4.15 nox-poetry==1.0.3 diff --git a/poetry.lock b/poetry.lock in...
Instagram__MonkeyType-23
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "monkeytype/stubs.py:render_annotation" ], "edited_modules": [ "monkeytype/stubs.py:render_annotation" ] }, "file": "monkeytype/stubs.py" } ]
Instagram/MonkeyType
666b2a1c5fc09f219a9ef5811af68946cd9c1830
`NewType` generated into invalid type signatures Given ```python UserId = NewType('UserId', int) def get_user(self, user_id: UserId) -> 'User': ``` MonkeyType generates ```python def get_user( self, user_id: <function NewType.<locals>.new_type at 0x1090a52f0> ) -> 'User': ... ``` which the...
diff --git a/.gitignore b/.gitignore index a31079d..2f4a0c7 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ htmlcov/ doc/_build dist/ build/ +.idea/ \ No newline at end of file diff --git a/CHANGES.rst b/CHANGES.rst index 3350f81..c3d23d3 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -5,7 +5,7 @@ master --...
Instagram__MonkeyType-306
[ { "changes": { "added_entities": [ "monkeytype/tracing.py:get_previous_frames", "monkeytype/tracing.py:get_locals_from_previous_frames" ], "added_modules": [ "monkeytype/tracing.py:get_previous_frames", "monkeytype/tracing.py:get_locals_from_previous_frames" ...
Instagram/MonkeyType
2ce8dbc408078c744fe9e2afcd2b5b57f3bc4fde
Calls to locally defined functions are not captured Calls to locally defined functions are not captured, for example: `mod.py`: ```python def add(a, b): def add_impl(a, b): return a + b return add_impl(a, b) ``` `main.py`: ```python from mod import add add(1, 2) ``` After running `monke...
diff --git a/monkeytype/tracing.py b/monkeytype/tracing.py index 4109b6b..1360d08 100644 --- a/monkeytype/tracing.py +++ b/monkeytype/tracing.py @@ -130,6 +130,17 @@ def _has_code( return None +def get_previous_frames(frame: Optional[FrameType]) -> Iterator[FrameType]: + while frame is not None: + yi...
Instagram__MonkeyType-318
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "monkeytype/stubs.py:render_signature" ], "edited_modules": [ "monkeytype/stubs.py:render_signature" ] }, "file": "monkeytype/stubs.py" } ]
Instagram/MonkeyType
12460f8091f42d66e390c6a3bd3b85ad1361884c
Stubs with positional-only args output too many slashes and cause a SyntaxError `mod.py`: ```py def add(a, b, /, c): return 0 ``` `main.py`: ```py from mod import add add(1, 2, c=3) ``` ```sh $ monkeytype run ./main.py $ monkeytype stub mod def add(a: int, /, b: int, /, /, c: int) -> int: ... $ mo...
diff --git a/monkeytype/stubs.py b/monkeytype/stubs.py index 2723fb5..6523797 100644 --- a/monkeytype/stubs.py +++ b/monkeytype/stubs.py @@ -452,10 +452,10 @@ def render_signature( formatted_params.append(formatted) - if render_pos_only_separator: - # There were only positional-only param...
J-CPelletier__webcomix-20
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "webcomix/comic.py:Comic.save_image_filename" ], "edited_modules": [ "webcomix/comic.py:Comic" ] }, "file": "webcomix/comic.py" }, { "changes": { "added_en...
J-CPelletier/webcomix
9476ff995ba90d3b810c4f38e5337b868ca09c97
Enhancement Schlock Mercenary Is it possible to add https://www.schlockmercenary.com/ to the list of supported comics?
diff --git a/webcomix/comic.py b/webcomix/comic.py index 54bb578..e135208 100644 --- a/webcomix/comic.py +++ b/webcomix/comic.py @@ -1,5 +1,6 @@ import os from typing import List, Mapping +from urllib.parse import urlparse from zipfile import ZipFile, BadZipFile import click @@ -153,10 +154,13 @@ class Comic: ...
J-CPelletier__webcomix-7
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "webcomix/main.py:search", "webcomix/main.py:custom" ], "edited_modules": [ "webcomix/main.py:search", "webcomix/main.py:custom" ] }, "file": "webcomix/m...
J-CPelletier/webcomix
25d394314ce26816302e9c878f5cebfb853c16fb
Custom: Add a -y (yes) option Looking to use this as a replacement for Dosage, as this allows for custom comics. I'd like to run this daily (or every few days) on a number of comics to pull latest comic. The prompting on Custom Comics (are you sure) is a stumbling block to script it. Can you maybe add a -y to custom, f...
diff --git a/webcomix/main.py b/webcomix/main.py index 0053bbb..cba546d 100644 --- a/webcomix/main.py +++ b/webcomix/main.py @@ -56,7 +56,12 @@ def download(name, cbz): default=False, is_flag=True, help="Outputs the comic as a cbz file") -def search(name, start_url, cbz): +@click.option( + "-y", + ...
J535D165__pyalex-13
[ { "changes": { "added_entities": [ "pyalex/api.py:_params_merge", "pyalex/api.py:BaseOpenAlex._add_params" ], "added_modules": [ "pyalex/api.py:_params_merge" ], "edited_entities": [ "pyalex/api.py:_flatten_kv", "pyalex/api.py:BaseOpenAlex.__...
J535D165/pyalex
c16060b29717b364be52bf4c2f935926c6b3b4f9
Add example for boolean operators to documentation Thanks for providing pyalex! It would be helpful to have an example for the use of different boolean filters in the Readme. Example URL: https://api.openalex.org/works?filter=institutions.country_code:tw,institutions.country_code:hk
diff --git a/pyalex/api.py b/pyalex/api.py index 034bafe..c2e95b4 100644 --- a/pyalex/api.py +++ b/pyalex/api.py @@ -21,21 +21,55 @@ class AlexConfig(dict): config = AlexConfig(email=None, api_key=None, openalex_url="https://api.openalex.org") -def _flatten_kv(k, v): +def _flatten_kv(d, prefix=""): - if isins...
J535D165__pyalex-64
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pyalex/api.py:Paginator.__init__", "pyalex/api.py:BaseOpenAlex.paginate" ], "edited_modules": [ "pyalex/api.py:Paginator", "pyalex/api.py:BaseOpenAlex" ] },...
J535D165/pyalex
4ef72fb080b850013fc19042cf2f5d30d2b70e38
Calling `__next__` before `__iter__` on `Paginator` gives error The paginator class implements both `__iter__` and `__next__`, but if you call `__next__` before `__iter__` you get an error: ```[python] import pyalex pager = pyalex.Works().paginate() next(pager) ``` gives: ``` Traceback (most recent call last)...
diff --git a/pyalex/api.py b/pyalex/api.py index f50fb2c..0e59d13 100644 --- a/pyalex/api.py +++ b/pyalex/api.py @@ -14,6 +14,26 @@ except ImportError: class AlexConfig(dict): + """Configuration class for OpenAlex API. + + Attributes + ---------- + email : str + Email address for API requests. +...
JDASoftwareGroup__rle-array-23
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "rle_array/array.py:RLEArray.mean" ], "edited_modules": [ "rle_array/array.py:RLEArray" ] }, "file": "rle_array/array.py" } ]
JDASoftwareGroup/rle-array
d3b9a22ab96c7c5dc22e80e0773ca742c6809635
Bug with `mean` using your `README` demo Hi there. Thanks for this interesting extension, I'm thinking of using it in an upcoming conference talk. I've spent most of this year talking on High Performance Python (I'm co-author of the O'Reilly publication with this name) and for an upcoming talk I'd like to include RLE a...
diff --git a/rle_array/array.py b/rle_array/array.py index 915e6c2..896fe99 100644 --- a/rle_array/array.py +++ b/rle_array/array.py @@ -457,7 +457,7 @@ class RLEArray(ExtensionArray): if n == 0: return self.dtype.na_value else: - return np.dot(data, lengths) / self.dtype._dtyp...
Jc2k__aiohomekit-233
[ { "changes": { "added_entities": [ "aiohomekit/zeroconf.py:ZeroconfController._async_update_from_cache", "aiohomekit/zeroconf.py:ZeroconfController._async_get_ptr_records" ], "added_modules": null, "edited_entities": [ "aiohomekit/zeroconf.py:ZeroconfController.as...
Jc2k/aiohomekit
0b846304e45bb9b8b6118abedddadac4e8d938ff
Invalid HomeKit Zeroconf record Getting the following in home assistant logs... 022-11-02 17:33:30.752 DEBUG (MainThread) [aiohomekit.protocol.tlv] sending [ 1 (Identifier): (2 bytes/<class 'bytes'>) b'\x01\x00' 2 (Salt): (1 bytes/<class 'bytes'>) b'\x01' ] 2022-11-02 17:33:33.767 DEBUG (MainThread) [aiohomekit....
diff --git a/aiohomekit/zeroconf.py b/aiohomekit/zeroconf.py index 51b6b48..030b99c 100644 --- a/aiohomekit/zeroconf.py +++ b/aiohomekit/zeroconf.py @@ -25,7 +25,7 @@ from ipaddress import ip_address import logging import async_timeout -from zeroconf import ServiceListener, ServiceStateChange, Zeroconf +from zeroco...
Jc2k__aiohomekit-267
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "aiohomekit/characteristic_cache.py:CharacteristicCacheType.async_create_or_update_map", "aiohomekit/characteristic_cache.py:CharacteristicCacheMemory.async_create_or_update_map", "aiohom...
Jc2k/aiohomekit
71a6136f0b4f8d67a4b8e3e72672937f66de930a
Accessories that do not send normal advertisements after subscribing to notify need the ability to restore the GSN between restarts ``` Oct 30 21:16:54 homeassistant homeassistant[468]: Traceback (most recent call last): Oct 30 21:16:54 homeassistant homeassistant[468]: File "/usr/local/lib/python3.10/site-packages...
diff --git a/aiohomekit/characteristic_cache.py b/aiohomekit/characteristic_cache.py index a6ecdb9..26417fc 100644 --- a/aiohomekit/characteristic_cache.py +++ b/aiohomekit/characteristic_cache.py @@ -40,6 +40,7 @@ class Pairing(TypedDict): config_num: int accessories: list[Any] broadcast_key: str | None...
JeffLIrion__python-androidtv-351
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "androidtv/basetv/basetv.py:BaseTV._cmd_running_apps" ], "edited_modules": [ "androidtv/basetv/basetv.py:BaseTV" ] }, "file": "androidtv/basetv/basetv.py" }, { "...
JeffLIrion/python-androidtv
d8a8f3a4810eec7180f0370750ea6d216dd8300f
Android Debug Bridge (AndroidTV) app_id frequently shows "Failed to write while dumping service window: Broken pipe ### The problem I have an automation (below) that triggers based on the app_Id from the device via Android Debug Bridge. Since Home Assistant /2023.10.4, the platform state attributes often responds ...
diff --git a/androidtv/basetv/basetv.py b/androidtv/basetv/basetv.py index 1d702ec..47d82eb 100644 --- a/androidtv/basetv/basetv.py +++ b/androidtv/basetv/basetv.py @@ -323,10 +323,7 @@ class BaseTV(object): # pylint: disable=too-few-public-methods if constants.CUSTOM_RUNNING_APPS in self._custom_commands: ...
JelleZijlstra__ast_decompiler-34
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "ast_decompiler/decompiler.py:Decompiler.write_string" ], "edited_modules": [ "ast_decompiler/decompiler.py:Decompiler" ] }, "file": "ast_decompiler/decompiler.py" } ]
JelleZijlstra/ast_decompiler
f347ea7ddf9162d5b0e89edec73b4af0fa5fc9f7
Docstrings are not preserved correctly. Currently it's impossible to correctly preserve docstrings. This test shows the issue: ``` from .tests import assert_decompiles def test_docstrings(): assert_decompiles(''' def a(): """ Docstring. """ return 1 ''', '''def a(): """ Docstring. ...
diff --git a/CHANGELOG b/CHANGELOG index 62b8063..3d37564 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,5 @@ unreleased +- Preserve literal newlines in docstrings - Fix decompilation of complex infinity - Add support for Python 3.10 pattern matching - Fix incorrect decompilation of lambdas in comprehension guar...
JelleZijlstra__typeshed_client-47
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "setup.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null ...
JelleZijlstra/typeshed_client
a963b6b65fb26e07087b6a0862387fd0999d7b98
Switch to using ast for parsing typed-ast is being phased out (python/typed_ast#170). As far as I can tell, stubs as used in typeshed should always be parsable with Python 3.6 and higher, because 3.7 introduced no new features relevant to stubs and 3.8 (which brought positional-only param syntax) was never ported to ty...
diff --git a/README.rst b/README.rst index 8fb5ca8..5da841e 100644 --- a/README.rst +++ b/README.rst @@ -39,7 +39,7 @@ Functions provided: ``Path('/path/to/typeshed/stdlib/@python2/typing.pyi')``. If there is no stub for the module, returns None. - ``typeshed_client.get_stub_ast`` has the same interface, but ret...
JohannesBuchner__imagehash-64
[ { "changes": { "added_entities": [ "imagehash/__init__.py:old_hex_to_hash" ], "added_modules": [ "imagehash/__init__.py:old_hex_to_hash" ], "edited_entities": [ "imagehash/__init__.py:_binary_array_to_hex", "imagehash/__init__.py:hex_to_hash", ...
JohannesBuchner/imagehash
43481e54c33983a4b14202214e718ec16692ccd7
_binary_array_to_hex gives wrong value Correct me if I am wrong, but `_binary_array_to_hex` gives wrong values. ```python Python 2.7.13 (default, Feb 16 2017, 19:11:00) [GCC 5.3.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from PIL import Image >>> import imagehash >...
diff --git a/.gitignore b/.gitignore index 93135d8..378b372 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ build dist ImageHash.egg-info/ .eggs -.DS_Store \ No newline at end of file +.DS_Store +.python-version diff --git a/imagehash/__init__.py b/imagehash/__init__.py index 0dc69b8..5da7efd 100644 --- a/i...
JohnPaton__airbase-37
[ { "changes": { "added_entities": [ "airbase/airbase.py:AirbaseClient.pollutants" ], "added_modules": null, "edited_entities": [ "airbase/airbase.py:AirbaseClient.__init__", "airbase/airbase.py:AirbaseClient.all_countries", "airbase/airbase.py:AirbaseClient...
JohnPaton/airbase
4f7881fc8f1145607ed35bd446326a5e0a3cc294
Drop "pl"/"shortpl" terminology in favor of something more readable This terminology is only really used internally by the portal for generating URLs, it doesn't need to be exposed to the user. The CSVs themselves use `AirPollutant` for the name (now: `pl`), `AirPollutantCode` for the URL containing the id (now: `s...
diff --git a/README.md b/README.md index 9e67180..998cf8a 100644 --- a/README.md +++ b/README.md @@ -34,23 +34,23 @@ $ pip install airbase ```pycon >>> import airbase >>> client = airbase.AirbaseClient() ->>> client.all_countries -['GR', 'ES', 'IS', 'CY', 'NL', 'AT', 'LV', 'BE', 'CH', 'EE', 'FR', 'DE', ... +>>> clie...
JohnPaton__airbase-43
[ { "changes": { "added_entities": [ "airbase/cli.py:main", "airbase/cli.py:_download" ], "added_modules": [ "airbase/cli.py:main", "airbase/cli.py:_download" ], "edited_entities": [ "airbase/cli.py:version_callback", "airbase/cli.py:ro...
JohnPaton/airbase
7b3f9caaaa589d0eadf811aa6e6ad817e4d42144
cli request confuses "CO" with "Co" when attempting to download `CO` data, no data is found ``` bash $ airbase pollutant CO --year 2023 Generating CSV download links... 100%|███████████████████████████████████████████████████████| 40/40 [00:52<00:00, 1.32s/it] Generated 0 CSV links ready for downloading Downlo...
diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index 38335b5..cc7b6f8 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -12,8 +12,8 @@ jobs: matrix: python: [3.7, 3.8, 3.9, '3.10', '3.11'] steps: - - uses: actions/checkout@v2 - - uses: a...
JonathonReinhart__scuba-107
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "scuba/config.py:_process_script_node" ], "edited_modules": [ "scuba/config.py:_process_script_node" ] }, "file": "scuba/config.py" } ]
JonathonReinhart/scuba
b323aff30dc09cb16bb19eca41a0c2d15d9a22b6
Allow `script` to be a single string value Currently, this is invalid: ```yaml aliases: foo: image: xyz script: echo Hello ```
diff --git a/CHANGELOG.md b/CHANGELOG.md index 7943d52..346ce8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +### Changed +- Allow `script` to be a...
JonathonReinhart__scuba-111
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "scuba/__main__.py:parse_scuba_args", "scuba/__main__.py:ScubaDive.__init__", "scuba/__main__.py:run_scuba" ], "edited_modules": [ "scuba/__main__.py:parse_scuba_args"...
JonathonReinhart/scuba
aa438c4664b54b7b6096f520db949d98a6aed212
Setting environment variables inside the container from the command line is hard Currently the only way I have found to accomplish this is with the -d argument like this: `scuba -d "'-e=woot=1'" /bin/bash` I would recommended either additional documentation or adding a special -e option to scuba specifically for envir...
diff --git a/.travis.yml b/.travis.yml index cdf06d2..f7d115b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -53,7 +53,7 @@ deploy: # Test PyPI (on any push to master) - provider: pypi - server: https://test.pypi.org/legacy/ + server: https://testpypi.python.org/pypi user: jreinhart password: ...
JonathonReinhart__scuba-125
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "scuba/__main__.py:parse_scuba_args", "scuba/__main__.py:ScubaDive.__init__", "scuba/__main__.py:ScubaDive.__setup_native_run", "scuba/__main__.py:run_scuba" ], "edite...
JonathonReinhart/scuba
c753a62f218c72215d4cda3ee61211a098eb408c
Scuba Can't Override Problematic ENTRYPOINT Values When using `docker run`, if an image has an ENTRYPOINT value that the user does not wish to use, [they can pass](https://medium.com/@oprearocks/how-to-properly-override-the-entrypoint-using-docker-run-2e081e5feb9d) the `--entrypoint=""` flag. This is possible with scub...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 009cfa1..90668f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,9 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +### Added +- Enable scuba to override ...
JonathonReinhart__scuba-137
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "scuba/config.py:Loader.from_yaml" ], "edited_modules": [ "scuba/config.py:Loader" ] }, "file": "scuba/config.py" } ]
JonathonReinhart/scuba
0244c81ec482d3c60202028bc075621447bc3ad1
`!from_yml` can't handle keys containing '.' characters Due to how the "key" is parsed at [config.py](https://github.com/JonathonReinhart/scuba/blob/0244c81ec482d3c60202028bc075621447bc3ad1/scuba/config.py#L65) '.' characters must be escaped or somehow encapsulated.
diff --git a/doc/yaml-reference.md b/doc/yaml-reference.md index 6d066d3..920d210 100644 --- a/doc/yaml-reference.md +++ b/doc/yaml-reference.md @@ -250,6 +250,28 @@ aliases - !from_yaml .gitlab-ci.yml part2.script ``` +This example shows how to reference job names containing a `.` character. + +**`.gitlab-ci...
JonathonReinhart__scuba-149
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "scuba/compat.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "scuba/config.py:Load...
JonathonReinhart/scuba
85b2cf1165100eded3f1899929598f5500449133
Cache YAML Files that are Referenced in !from_yaml Statements ## Problem I am currently working on a large project that utilizes Scuba heavily. There are 27 scuba aliases in the `.scuba.yml` file, and all of the aliases have at least one `!from_yaml` directive in their definition. For example, many of the simple alias...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 11c03c0..9bced9b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,8 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +### Added +- Cache yaml files loaded b...
JonathonReinhart__scuba-158
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "scuba/__main__.py:ScubaDive.__setup_native_run", "scuba/__main__.py:main" ], "edited_modules": [ "scuba/__main__.py:ScubaDive", "scuba/__main__.py:main" ] }...
JonathonReinhart/scuba
fbfafaad8a80e5fc9d312ee53eb8846d998db68e
Allow missing top-level 'image' from .scuba.yml For some projects it may not make sense to have a top-level (default) `image`. For these projects, the `aliases` are the primary use of Scuba. Allow `.scuba.yml` to omit a top-level `image` key, and in this case require than an alias is being run.
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3bafdde..f333da7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). ### Changed - Use username/groupname of invoking user inside container (#153) - Ignore already existing UID/GIDs (#139) +- Al...
JonathonReinhart__scuba-177
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "scuba/__main__.py:ScubaDive.__init__", "scuba/__main__.py:ScubaDive.get_docker_cmdline" ], "edited_modules": [ "scuba/__main__.py:ScubaDive" ] }, "file": "scuba...
JonathonReinhart/scuba
5b811737c81bdd6c5035009b74c277979e84ce78
Allow Docker Arguments in Scubafile Currently Scuba has the `-d` or `--docker-args` flag that allows the user to specify arguments that should be passed-through to docker. This is an essential feature for using Scuba in contexts where the container needs to forward ports from the host to the container (for instance, du...
diff --git a/doc/yaml-reference.md b/doc/yaml-reference.md index 8570305..082d5ef 100644 --- a/doc/yaml-reference.md +++ b/doc/yaml-reference.md @@ -40,6 +40,25 @@ environment: - SECRET ``` +### `docker_args` + +The optional `docker_args` node allows additional docker arguments to be +specified. + +Example: +```y...
JonathonReinhart__scuba-186
[ { "changes": { "added_entities": [ "scuba/config.py:_get_typed_val", "scuba/config.py:_get_dict", "scuba/config.py:_get_delimited_str_list", "scuba/config.py:_get_volumes", "scuba/config.py:ScubaVolume.__init__", "scuba/config.py:ScubaVolume.from_dict", ...
JonathonReinhart/scuba
23df0565a768bb58f45e17858519cd8f8043376d
Mount additional volumes Would it make sense to allow mounting additional directories through `.scuba.yml`, or is it already possible to do so? My use case is that I would like to run tools to fetch dependencies (like `yarn`, `maven`, `composer`, ...). In order to access private repositories through SSH, one easy so...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f8e106..1cc0f40 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## [Unreleased] +### Added +- Add ability to specify ...
JonathonReinhart__scuba-227
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "scuba/config.py:find_config", "scuba/config.py:_get_volumes", "scuba/config.py:_expand_path", "scuba/config.py:ScubaVolume.from_dict", "scuba/config.py:ScubaAlias.from_di...
JonathonReinhart/scuba
c2709a9c2439f6e931b922fccf2f8a9673cd07db
Detect or handle relative host paths in volumes Currently a naked word will be interpreted as a named volume. A relative path will cause docker to complain about the slash. How should Scuba handle this? 1. Handle this by absolute-ifying the path. - Should be interpreted as relative to .scuba.yml - Is this nece...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 0448a46..5205a4f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## [Unreleased] +### Added +- Enable the use of relat...
JonathonReinhart__scuba-250
[ { "changes": { "added_entities": [ "scuba/config.py:_expand_env_vars", "scuba/config.py:_absoluteify_path", "scuba/config.py:ScubaVolume.__post_init__" ], "added_modules": [ "scuba/config.py:_expand_env_vars", "scuba/config.py:_absoluteify_path" ],...
JonathonReinhart/scuba
b4bfd81ff1b939079d24aa8d4cd62fccc2e6ad9a
Restore ability to use named volumes Prior to #227, you could, as a not-officially-support feature map a named volume at a container path: ```yaml volumes: /foo: foo-volume ``` ```console $ scuba --root --image debian:8.2 /bin/bash -c "echo yes > /foo/does-it-persist" $ scuba --root --image debian:8.2 /bin/b...
diff --git a/docs/configuration.rst b/docs/configuration.rst index 841626a..4569a86 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -147,25 +147,40 @@ style <https://yaml.org/spec/1.2/spec.html#id2788097>`_: The optional ``volumes`` node *(added in v2.9.0)* allows additional `bind-mounts <https:...
JonathonReinhart__scuba-42
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "scuba/__main__.py:main" ], "edited_modules": [ "scuba/__main__.py:main" ] }, "file": "scuba/__main__.py" }, { "changes": { "added_entities": null, "...
JonathonReinhart/scuba
9aa705d7d0419f1930ae034e2210d69f66f5bf2a
utils.format_cmdline misses last line It appears that utils.format_cmdline fails to yield the last accumulated line. This also means that a better test could be written, which splits the result back out, and compares it to the list of input arguments.
diff --git a/scuba/__main__.py b/scuba/__main__.py index 57f8671..4a54fae 100755 --- a/scuba/__main__.py +++ b/scuba/__main__.py @@ -217,7 +217,7 @@ def main(argv=None): if g_verbose or scuba_args.dry_run: appmsg('Docker command line:') - print(format_cmdline(run_args)) + print('$ ' + form...
JoshData__python-email-validator-49
[ { "changes": { "added_entities": [ "email_validator/__init__.py:ValidatedEmail.as_dict" ], "added_modules": null, "edited_entities": [ "email_validator/__init__.py:main" ], "edited_modules": [ "email_validator/__init__.py:ValidatedEmail", "emai...
JoshData/python-email-validator
458c9c49422eeac92903e4e7d2865b1256b361d6
TypeError: Object of type ValidatedEmail is not JSON serializable As can be seen in `main()`: https://github.com/JoshData/python-email-validator/blob/cc9b0019fc9d4cedb491fd760e092572858d4604/email_validator/__init__.py#L526-L527 It looks like running `email_validator` as a standalone module can only produce runti...
diff --git a/email_validator/__init__.py b/email_validator/__init__.py index 3b7014f..40140ca 100644 --- a/email_validator/__init__.py +++ b/email_validator/__init__.py @@ -156,6 +156,10 @@ class ValidatedEmail(object): ) \ + ")" + """Convenience method for accessing ValidatedE...
JuDFTteam__masci-tools-29
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "masci_tools/io/parsers/fleur/default_parse_tasks.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entiti...
JuDFTteam/masci-tools
98f65c8ed7f71256334d88abffeacdbd7fc16d64
Changes to the output of the outxml_parser Up till now the output of the outxml_parser tries to mirror the current status of the hardcoded parser in aiida-fleur as closely as possible. Here we collect things that should be added/modified in the output. Feel free to add to this list - The normal distance output is na...
diff --git a/masci_tools/io/parsers/fleur/default_parse_tasks.py b/masci_tools/io/parsers/fleur/default_parse_tasks.py index fc3f4883..44840b81 100644 --- a/masci_tools/io/parsers/fleur/default_parse_tasks.py +++ b/masci_tools/io/parsers/fleur/default_parse_tasks.py @@ -119,6 +119,13 @@ TASKS_DEFINITION = { ...
JuDFTteam__masci-tools-48
[ { "changes": { "added_entities": [ "masci_tools/io/parsers/fleur/fleur_schema/inpschema_todict.py:convert_string_to_float_expr", "masci_tools/io/parsers/fleur/fleur_schema/inpschema_todict.py:patch_basic_types", "masci_tools/io/parsers/fleur/fleur_schema/inpschema_todict.py:patch_s...
JuDFTteam/masci-tools
4e2fecf02bb695d5ae475199e930a27a346275ae
Add custom patching functions for schema dictionaries The schema dictionaries for the fleur input and output schemas can only work of the information provided in the schema files. This means that some ambiguity that is discovered after the fact (meaning the schema is frozen for the Fleur release) is difficult to correc...
diff --git a/masci_tools/io/parsers/fleur/fleur_schema/inpschema_todict.py b/masci_tools/io/parsers/fleur/fleur_schema/inpschema_todict.py index a3999b6d..5ab96504 100644 --- a/masci_tools/io/parsers/fleur/fleur_schema/inpschema_todict.py +++ b/masci_tools/io/parsers/fleur/fleur_schema/inpschema_todict.py @@ -16,17 +16...
JuliaPy__pyjulia-481
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": [ "src/julia/options.py:JuliaOptions" ] }, "file": "src/julia/options.py" } ]
JuliaPy/pyjulia
b95e5240e7c6b9420d2e9d6760065f58dcac1056
Failure when setting optimize option This is because pyjulia uses ArgumentsParser to parse --home & --sysimage, but it get the optimize value as an int instead of a string. I'll submit a PR
diff --git a/src/julia/options.py b/src/julia/options.py index 5b2728b..52d9364 100644 --- a/src/julia/options.py +++ b/src/julia/options.py @@ -134,7 +134,7 @@ class JuliaOptions(object): compile = Choices("compile", yes_no_etc("all", "min")) depwarn = Choices("depwarn", yes_no_etc("error")) warn_overwr...
Juniper__py-junos-eznc-1052
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "lib/jnpr/junos/facts/current_re.py:get_facts" ], "edited_modules": [ "lib/jnpr/junos/facts/current_re.py:get_facts" ] }, "file": "lib/jnpr/junos/facts/current_re.py" ...
Juniper/py-junos-eznc
03a664fe4b11a509cc7f8cf936f1c9c5eb76ed3f
wrong device version when fetching pyez facts for nfx250ha-c Hi, The pyez version info received for this particular device:nfx250ha-c for is coming wrong. {'2RE': False, 'HOME': '/var/home/regress', 'RE0': {'status': 'OK', 'up_time': '10 hours, 35 minutes, 48 seconds', 'mastership_state': 'master', 'model': 'RE-NFX...
diff --git a/lib/jnpr/junos/facts/current_re.py b/lib/jnpr/junos/facts/current_re.py index c32ec3d1..e59b7a59 100644 --- a/lib/jnpr/junos/facts/current_re.py +++ b/lib/jnpr/junos/facts/current_re.py @@ -64,7 +64,7 @@ def get_facts(device): octets = ip.split(".", 3) ...
Juniper__py-junos-eznc-1121
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "lib/jnpr/junos/transport/tty.py:Terminal._login_state_machine" ], "edited_modules": [ "lib/jnpr/junos/transport/tty.py:Terminal" ] }, "file": "lib/jnpr/junos/transport/...
Juniper/py-junos-eznc
5123c54d6f39a89678b29a70409e57adbe69612e
Pyez telnet not working as expected in certain JUNOS enhanced devices Pyez telnet not working as expected in certain JUNOS enhanced devices. We are seeing login prompt 2 times. #################### 0 #################### INFO:jnpr.junos.tty:TTY: connecting to TTY:x.x.x.x ... DEBUG:jnpr.junos.tty_telnet:Write: I...
diff --git a/lib/jnpr/junos/transport/tty.py b/lib/jnpr/junos/transport/tty.py index 204206a4..2b418051 100644 --- a/lib/jnpr/junos/transport/tty.py +++ b/lib/jnpr/junos/transport/tty.py @@ -217,14 +217,19 @@ class Terminal(object): # assume we're in a hung state, i.e. we don't see # a...
Juniper__py-junos-eznc-351
[ { "changes": { "added_entities": [ "lib/jnpr/junos/exception.py:ConnectError.msg" ], "added_modules": null, "edited_entities": [ "lib/jnpr/junos/exception.py:ConnectError.__init__", "lib/jnpr/junos/exception.py:ConnectError.__repr__" ], "edited_modules...
Juniper/py-junos-eznc
c561ed6f7e16b63a2d71c410c1ce2acc4fa75ed8
Invalid host key error not caught If the `~.ssh/known_hosts` file contains an invalid entry (in my case, caused by a missing newline) then PyEZ will only return the nondescript `ConnectError` message. The failure comes from the **ncclient** `manager.connect()` function which, in turn, calls **paramiko**'s `load_know...
diff --git a/lib/jnpr/junos/exception.py b/lib/jnpr/junos/exception.py index 6e3a89fa..390dc34e 100644 --- a/lib/jnpr/junos/exception.py +++ b/lib/jnpr/junos/exception.py @@ -1,4 +1,3 @@ -from lxml import etree from jnpr.junos import jxml @@ -129,6 +128,9 @@ class ConnectError(Exception): """ Parent clas...
Juniper__py-junos-eznc-386
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "lib/jnpr/junos/facts/domain.py:facts_domain" ], "edited_modules": [ "lib/jnpr/junos/facts/domain.py:facts_domain" ] }, "file": "lib/jnpr/junos/facts/domain.py" } ]
Juniper/py-junos-eznc
d850258f53611146f48db76842108beb9c4060b3
Domain fact gathering not in try block, RPCerror uncaught. Was using 1.1.0 until this morning with ssh key authentication. After upgrade, connecting to the devices fails: from jnpr.junos import Device router = 'somerouter' username = 'netconf' path2keyfile = 'path2privatekey' ...
diff --git a/lib/jnpr/junos/facts/domain.py b/lib/jnpr/junos/facts/domain.py index ed104f01..92eb03ad 100644 --- a/lib/jnpr/junos/facts/domain.py +++ b/lib/jnpr/junos/facts/domain.py @@ -1,4 +1,5 @@ from jnpr.junos.utils.fs import FS +from jnpr.junos.exception import RpcError from lxml.builder import E @@ -11,14 ...
Juniper__py-junos-eznc-509
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "lib/jnpr/junos/device.py:Device.open" ], "edited_modules": [ "lib/jnpr/junos/device.py:Device" ] }, "file": "lib/jnpr/junos/device.py" }, { "changes": { "...
Juniper/py-junos-eznc
ae516980deb810d9935cb62222fa7a4c522e1175
Shell session does not work for root user. I'm using the below example program. ``` #!/usr/bin/env python import jnpr.junos.utils from jnpr.junos import Device from jnpr.junos.utils import * from jnpr.junos.utils.start_shell import * from jnpr.junos.utils.start_shell import StartShell DUT = Device(...
diff --git a/lib/jnpr/junos/device.py b/lib/jnpr/junos/device.py index 3dcb71df..3438b910 100644 --- a/lib/jnpr/junos/device.py +++ b/lib/jnpr/junos/device.py @@ -496,7 +496,7 @@ class Device(object): self.connected = True self._nc_transform = self.transform - self._norm_transform = lambda: J...
Juniper__py-junos-eznc-513
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "lib/jnpr/junos/device.py:Device.open" ], "edited_modules": [ "lib/jnpr/junos/device.py:Device" ] }, "file": "lib/jnpr/junos/device.py" }, { "changes": { "...
Juniper/py-junos-eznc
4b7d685336e0a18d6a8a5ef96eb0cb7b87221b37
Link to techwiki page is broken on README Hi I noticed that the link to the techwiki in the `Support` section of the README is wrong The link is pointing to the techwiki homepage and not the Junos PyEZ project page as suggested https://github.com/Juniper/py-junos-eznc/blob/master/README.md#support ``` For d...
diff --git a/README.md b/README.md index 61ab9f5c..0296eb7a 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ There is a growing interest and need to automate the network infrastructure into For questions and general support, please visit our [Google Group](https://groups.google.com/forum/#!forum/junos-python...
Juniper__py-junos-eznc-514
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "lib/jnpr/junos/utils/start_shell.py" } ]
Juniper/py-junos-eznc
4b7d685336e0a18d6a8a5ef96eb0cb7b87221b37
Shell session does not work for root user. I'm using the below example program. ``` #!/usr/bin/env python import jnpr.junos.utils from jnpr.junos import Device from jnpr.junos.utils import * from jnpr.junos.utils.start_shell import * from jnpr.junos.utils.start_shell import StartShell DUT = Device(...
diff --git a/lib/jnpr/junos/utils/start_shell.py b/lib/jnpr/junos/utils/start_shell.py index b52c518a..1631ef63 100644 --- a/lib/jnpr/junos/utils/start_shell.py +++ b/lib/jnpr/junos/utils/start_shell.py @@ -3,7 +3,7 @@ from select import select import re _JUNOS_PROMPT = '> ' -_SHELL_PROMPT = '(%|#) ' +_SHELL_PROMPT...
Juniper__py-junos-eznc-586
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "lib/jnpr/junos/utils/scp.py:SCP.open" ], "edited_modules": [ "lib/jnpr/junos/utils/scp.py:SCP" ] }, "file": "lib/jnpr/junos/utils/scp.py" } ]
Juniper/py-junos-eznc
d4629f636b915a02c722f895d11b9f187970a60b
Support for private key files in scp.py As noted [here](https://github.com/Juniper/py-junos-eznc/blob/master/lib/jnpr/junos/utils/scp.py#L77), private key files aren't supported. I need this for a project I am working on. Is it possible to get this fixed? Cheers,
diff --git a/lib/jnpr/junos/utils/scp.py b/lib/jnpr/junos/utils/scp.py index adc49fd3..8a150d6c 100644 --- a/lib/jnpr/junos/utils/scp.py +++ b/lib/jnpr/junos/utils/scp.py @@ -73,11 +73,8 @@ class SCP(object): .. note:: This method uses the same username/password authentication credentials...
Justintime50__github-archive-33
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "github_archive/archive.py:GithubArchive.__init__", "github_archive/archive.py:GithubArchive.run", "github_archive/archive.py:GithubArchive.get_personal_repos", "github_archive/ar...
Justintime50/github-archive
63e8730ff7eb0aeae2d94cbed9b239e38068c520
Add a "Forks" flag to clone/pull forks # Summary By default, forks are included in cloning/pulling. This setting cannot be altered. Let's add a flag that allows the user to choose whether to include forks or not. ## Acceptance Criteria - [ ] Add a flag that allows users to include forks in what is cloned/pulle...
diff --git a/CHANGELOG.md b/CHANGELOG.md index bff191d..cf5782d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ * Added the `--threads` flag which can specify the number of concurrent threads to run at once (closes #22) * Adds a new `--view` flag which allows you to "dry run" the application, seeing th...
Justintime50__github-archive-44
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "github_archive/archive.py:GithubArchive.__init__", "github_archive/archive.py:GithubArchive.initialize_project", "github_archive/archive.py:GithubArchive.iterate_repos_to_archive" ...
Justintime50/github-archive
b04355be48d3abcee2d9ddaf9b26cb1e9edc7e4d
Add `--exclude` and `--include` flags for repo filtering Hi, It would be nice to be able to change the download path with an argument, and also have an argument for a limit of repository.
diff --git a/CHANGELOG.md b/CHANGELOG.md index 80dcc7c..b922fe4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## NEXT RELEASE + +* Adds an `--include` and `--exclude` CLI flag that accepts a comma-separated list of repo names to either include or exclude. If neither are passed, no filteri...
Justintime50__github-archive-45
[ { "changes": { "added_entities": [ "github_archive/archive.py:GithubArchive.remove_failed_dirs" ], "added_modules": null, "edited_entities": [ "github_archive/archive.py:GithubArchive.run", "github_archive/archive.py:GithubArchive.get_all_git_assets", "git...
Justintime50/github-archive
3f94c8c23c85106986310d0b47c8d7c50818563c
Error Removing Git Repos that Timed Out On Windows I'm using below command line github-archive.exe --https -s [user] -t [key] -l c:\git-archive --clone What happens for me: - some very large starred repositories (https://github.com/jgraph/drawio) time out - there is an error during clone - this leaves `jgr...
diff --git a/CHANGELOG.md b/CHANGELOG.md index a7f15f8..ebd6070 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## NEXT RELEASE +* Switches from the `threading` package to the `concurrent.futures` package allowing us to return values from each individual thread (in this case, the names of failed git a...
Justintime50__github-archive-50
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "github_archive/archive.py:GithubArchive.__init__", "github_archive/archive.py:GithubArchive.run", "github_archive/archive.py:GithubArchive.initialize_project" ], "edited_modu...
Justintime50/github-archive
c9374868e2206d09220d414800b057c037647c7f
Bulk forking Is it possible to do bulk forking of all repos of an account?
diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ec0a33..7998cd6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## NEXT RELEASE +- Adds a new `--fork` CLI arg which adds support to fork the repos or gists specified via `users`, `orgs`, `stars`, or `gists` +- Removed various shorthand CLI args to avoid...
KE-works__pykechain-909
[ { "changes": { "added_entities": [ "pykechain/models/widgets/widget.py:Widget._validate_excel_export_inputs", "pykechain/models/widgets/widget.py:Widget.download_as_excel" ], "added_modules": null, "edited_entities": null, "edited_modules": [ "pykechain/mode...
KE-works/pykechain
44559c65e8dfdd35c6cd8b7c4d4c7540fa18fab8
Move the `export activity to Excel` functions from built-in DK to Pykechain
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 368725bd..5cbdb447 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,8 @@ Change Log ========== +* :star: Implemented `download_as_excel` method to the `Widget` class, to export any grid widget as an Excel file. + * :bug: Removed multiple `return` statements...
KIT-IAI__pyWATTS-108
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pywatts/modules/rolling_base.py:RollingBase.__init__", "pywatts/modules/rolling_base.py:RollingBase.transform" ], "edited_modules": [ "pywatts/modules/rolling_base.py:Rolling...
KIT-IAI/pyWATTS
9151c419b1dd03a514bc0c9d1a361f47c4fa671e
Mask in rolling_base does not work for weekends and or public holidays **Describe the bug** The mask in rolling_base does not works for weekends and public holidays. All values of weekends and public holidays are in the same group and not also grouped by the minute and the hour.
diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ed8fab..5316d4c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,8 @@ * Missing call of _get_rolling in Rolling Base ([#76](https://github.com/KIT-IAI/pyWATTS/issues/76)) * Fix save and load of keras Wrapper ([#91](https://github.com/KIT-IAI/pyWATTS/issues/91...
KIT-IAI__pyWATTS-110
[ { "changes": { "added_entities": [ "pywatts/core/base_step.py:BaseStep._input_stopped" ], "added_modules": null, "edited_entities": [ "pywatts/core/base_step.py:BaseStep.__init__", "pywatts/core/base_step.py:BaseStep.get_result", "pywatts/core/base_step.py...
KIT-IAI/pyWATTS
71961293aca113740f27133fab12e7d71bac9233
Performance problems in online learning **Describe the bug** Online learning is currently slow - taking large amounts of time to process one step. It seems that a single processor is busy. This could be due to: - Merging and copying of xarray.datasets. - Predict/Transform of single datapoints by sklearn. - Internal...
diff --git a/CHANGELOG.md b/CHANGELOG.md index e52e5da..73f8604 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,6 +35,13 @@ * Fix save and load of keras Wrapper ([#91](https://github.com/KIT-IAI/pyWATTS/issues/91)) * Import of pytorchWrapper via wrapper.__init__ * Fix the mask for weekends and public holidays i...
KIT-IAI__pyWATTS-125
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pywatts/modules/rolling_metric_base.py:RollingMetricBase.transform" ], "edited_modules": [ "pywatts/modules/rolling_metric_base.py:RollingMetricBase" ] }, "file": "pywa...
KIT-IAI/pyWATTS
703b2c581ab49be130e280ff0d3cf1f8864bd603
RollingRMSE: Extraction time index from the wrong data **Describe the bug** In Line 79 we extract the time index from kwargs and use this time index on y. This leads to an error if the name of the time index in kwargs and y differs. Similiar issue in line 85 and 86 where we set the name of the time_index to time. H...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 707f3cf..e3de7bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,6 +32,7 @@ * Fix save and load of keras Wrapper ([#91](https://github.com/KIT-IAI/pyWATTS/issues/91)) * Import of pytorchWrapper via wrapper.__init__ * Fix the mask for weekends and public holidays in...
KIT-IAI__pyWATTS-128
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pywatts/core/pipeline.py:Pipeline.test", "pywatts/core/pipeline.py:Pipeline.train", "pywatts/core/pipeline.py:Pipeline._run" ], "edited_modules": [ "pywatts/core/pipe...
KIT-IAI/pyWATTS
6fd8bc9a74e775a2b1fb62b9337518aa5a728e5c
Ensure backward compatibility after summary feature **What is your feature request related to?** * Problem related **Please describe the module/problem** Due to the new summary feature pyWATTS is not backward compatible because `pipeline.train(..)` and `pipeline.test(..)` now return a tuple of `(data, summary)`. ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 22454a5..e68c5eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ * Time needed by the fit method is recorded by the summary. (Part of the summary.md) * Section about how to get results of a pyWATTS pipeline. * Add MAECalculator as another error measur...
KIT-IAI__pyWATTS-156
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pywatts/summaries/mae_summary.py:MAE._apply_metric" ], "edited_modules": [ "pywatts/summaries/mae_summary.py:MAE" ] }, "file": "pywatts/summaries/mae_summary.py" }, ...
KIT-IAI/pyWATTS
66c902f6f678b4210b085cb5e899a81d5b9f10e4
Calculate Metrics on cutouts **What is your feature request related to?** * Module request **Please describe the module/problem** Sometimes, it is useful to calculate a metric not only on the complete dataset but also on a cutout. This functionality is currently not available in the RMSE, MAE and so on. **Des...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d1db58..5cbbe89 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,8 @@ ## Unreleased ### Added +* Metric can be calculated on cutouts ([#149](https://github.com/KIT-IAI/pyWATTS/issues/149)) + ### Changed diff --git a/pywatts/summaries/mae_summary.py b/pywat...
KIT-IAI__pyWATTS-188
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "examples/example.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pywatts/modules/...
KIT-IAI/pyWATTS
c1f3630a82ca099033b381acb4db2cbe4f990379
Feature selection module **What is your feature request related to?** * Module request **Please describe the module/problem** A module to select features from a given feature space. Remove redundant features, keep features with high information value. Possible approaches: filter, wrapper, hybrid Possible sel...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 30be6e8..8edb432 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ ### Changed * Retraining is triggered after all steps are transformed ([#117](https://github.com/KIT-IAI/pyWATTS/issues/117)) +* The sklean-wrapper includes now methods based on the Selecto...
KIT-IAI__pyWATTS-190
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "examples/example.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules...
KIT-IAI/pyWATTS
f85b3cc42a92d8403912edbb042fe5cd3f3b990b
[Online Learning] Fill buffer before online execution starts **What is your feature request related to?** * Problem related **Please describe the module/problem** If you simulate the online behaviour of modules and you use retraining, then it might happen that the relearning is triggered at the beginning of the ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 30be6e8..8235e3f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,10 +7,13 @@ * Metric can be calculated on cutouts ([#149](https://github.com/KIT-IAI/pyWATTS/issues/149)) * Add custom scaler module for pre-processing ([#167](https://github.com/KIT-IAI/pyWATTS/issues/1...
KIT-IAI__pyWATTS-194
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pywatts/summaries/metric_base.py:MetricBase.transform" ], "edited_modules": [ "pywatts/summaries/metric_base.py:MetricBase" ] }, "file": "pywatts/summaries/metric_base....
KIT-IAI/pyWATTS
14499431fd122da41cab2b9489cf7a4d8997e11f
Execution on entire data as default for metric **Describe the bug** When using a summary for a metric (e.g. MAE) on a complete data set, ": complete" is added to its key due to line 91 in metric_base.py. **To Reproduce** Steps to reproduce the behavior: Run metric on complete data set. **Expected behavior** T...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 373fece..bc043c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ * Fixed wrong check of if summary should be returned in _run method of pipeline ([#157](https://github.com/KIT-IAI/pyWATTS/issues/157)) * Fixed Pipeline.to_folder() for modules that store par...
KIT-IAI__pyWATTS-207
[ { "changes": { "added_entities": [ "pywatts/core/base.py:Base.get_min_data" ], "added_modules": null, "edited_entities": null, "edited_modules": [ "pywatts/core/base.py:Base" ] }, "file": "pywatts/core/base.py" }, { "changes": { "added_en...
KIT-IAI/pyWATTS
c9301aa529cf5c26a3f9a3af330ce2a3daf637d2
[Online Learning] Modules has to specify how much past data they need. Some modules need multiple value to calculate the current value. E.g. rolling_mean and sample_module. However, the current online/batch learning approach only provides the past batch as input, which might not be enough. ## Solution: * [ ] The m...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c9218b..fb7cd5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ * Enable Multiple RefitConditions ([#192](https://github.com/KIT-IAI/pyWATTS/issues/192)) * Periodic Refit Condition ([#192](https://github.com/KIT-IAI/pyWATTS/issues/192)) * Add AnomalyGene...
KIT-IAI__pyWATTS-208
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "examples/example_keras.py" }, { "changes": { "added_entities": [ "pywatts/core/base.py:Base.get_min_data" ], "added_modules"...
KIT-IAI/pyWATTS
c9301aa529cf5c26a3f9a3af330ce2a3daf637d2
Storage of custom keras loss function **Describe the bug** If pipeline.to_folder is called on a pipeline which contains a KerasWrapper with a custom loss function, then pyWATTS fails. **To Reproduce** Steps to reproduce the behavior: 1. Build a NN with Keras with a custom loss functoin 2. Add the NN and the cus...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c9218b..373fece 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ * Enable Multiple RefitConditions ([#192](https://github.com/KIT-IAI/pyWATTS/issues/192)) * Periodic Refit Condition ([#192](https://github.com/KIT-IAI/pyWATTS/issues/192)) * Add AnomalyGene...
KIT-IAI__pyWATTS-225
[ { "changes": { "added_entities": [ "pywatts/modules/feature_extraction/rolling_mean.py:RollingMean.__init__", "pywatts/modules/feature_extraction/rolling_mean.py:RollingMean.get_params", "pywatts/modules/feature_extraction/rolling_mean.py:RollingMean.set_params" ], "add...
KIT-IAI/pyWATTS
06908b250b5b69c16977282b5201f111ccdb891a
EWMA option for rolling_mean **What is your feature request related to?** * Module request **Please describe the module/problem** Enable a EWMA Profile. Thus, add an alpha value to the rolling_mean. **What type of Feature Request** * Module request,
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e43c40..b5faf26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,9 @@ # Changelog +## 0.3.1 Unreleased + +### Added +* Add alpha to rolling mean ([#225](https://github.com/KIT-IAI/pyWATTS/issues/225)) + ## 0.3.0 - 2022-31-03 diff --git a/pywatts/modules/featu...
KIT-IAI__pyWATTS-231
[ { "changes": { "added_entities": [ "pywatts/modules/models/profile_neural_network.py:ProfileNeuralNetwork._get_inputs" ], "added_modules": null, "edited_entities": [ "pywatts/modules/models/profile_neural_network.py:ProfileNeuralNetwork.transform", "pywatts/module...
KIT-IAI/pyWATTS
73b197275c208a9724a7dffd21663d0d3c56b4d5
Enable PNN without weather information **What is your feature request related to?** * Module request **Please describe the module/problem** I would like to use the PNN without weather information. Perhaps, the input can be made flexible.
diff --git a/CHANGELOG.md b/CHANGELOG.md index 6870644..c4fb783 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ * Add a module for statistic feature extraction ([#217](https://github.com/KIT-IAI/pyWATTS/issues/217)) * Add a module for inserting synthetic concept drift ([#226](https://github.com/KIT-IAI/p...
KIT-IAI__pyWATTS-261
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pywatts/modules/postprocessing/merger.py:Merger._align_temporal" ], "edited_modules": [ "pywatts/modules/postprocessing/merger.py:Merger" ] }, "file": "pywatts/modules/...
KIT-IAI/pyWATTS
1faa4ccf48ece96e77a33d479eca6b64b776aad9
Merger does not work (merges in the wrong direction)
diff --git a/pywatts/modules/postprocessing/merger.py b/pywatts/modules/postprocessing/merger.py index 5260efd..10754ba 100644 --- a/pywatts/modules/postprocessing/merger.py +++ b/pywatts/modules/postprocessing/merger.py @@ -84,7 +84,7 @@ class Merger(BaseTransformer): r = [] for i in range(horizon): ...
KIT-IAI__pyWATTS-41
[ { "changes": { "added_entities": [ "pywatts/callbacks/debug_callback.py:StatisticCallback.__init__" ], "added_modules": null, "edited_entities": [ "pywatts/callbacks/debug_callback.py:StatisticCallback.__call__" ], "edited_modules": [ "pywatts/callback...
KIT-IAI/pyWATTS
35982f34725135adef011c33ac61af5cdebf1b59
The summary function writes to a file (instead of printing) **What is your feature request related to?** * Problem related **Please describe the problem** It is possible to print out a summary of the data set in the latest step with the flag `summary = true`. Currently, this summary is simply printed and not saved...
diff --git a/pywatts/callbacks/debug_callback.py b/pywatts/callbacks/debug_callback.py index df55b0b..d8ab1f3 100644 --- a/pywatts/callbacks/debug_callback.py +++ b/pywatts/callbacks/debug_callback.py @@ -1,5 +1,5 @@ import xarray as xr -from typing import Dict +from typing import Dict, Optional from pywatts.callba...
KIT-IAI__pyWATTS-62
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pywatts/modules/root_mean_squared_error.py:RmseCalculator.__init__", "pywatts/modules/root_mean_squared_error.py:RmseCalculator.get_params", "pywatts/modules/root_mean_squared_error.py:R...
KIT-IAI/pyWATTS
31b5b04c028d793ffe13048b0e2dafa5d03bb1bb
Documentation of RMSE Module is outdated The documentation of the RMSE module is outdated
diff --git a/pywatts/modules/root_mean_squared_error.py b/pywatts/modules/root_mean_squared_error.py index 0eabc2d..12105d2 100644 --- a/pywatts/modules/root_mean_squared_error.py +++ b/pywatts/modules/root_mean_squared_error.py @@ -10,33 +10,31 @@ from pywatts.utils._xarray_time_series_utils import _get_time_indeces ...
KIT-IAI__pyWATTS-66
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pywatts/wrapper/function_module.py:FunctionModule.transform" ], "edited_modules": [ "pywatts/wrapper/function_module.py:FunctionModule" ] }, "file": "pywatts/wrapper/fu...
KIT-IAI/pyWATTS
41fe40037111461907cd815362743df44449619d
FunctionModule uses old API **Describe the bug** The transform module of the FunctionModule takes only x, we should change it to kwargs which are then passed to the wrapped function. **Expected behavior** The transform methods takes multiple key word arguments and passes them to the wrapped function
diff --git a/pywatts/wrapper/function_module.py b/pywatts/wrapper/function_module.py index 558973c..8d14590 100644 --- a/pywatts/wrapper/function_module.py +++ b/pywatts/wrapper/function_module.py @@ -9,7 +9,8 @@ from pywatts.core.filemanager import FileManager class FunctionModule(BaseTransformer): """ - Th...
KIT-IAI__pyWATTS-68
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pywatts/modules/sample_module.py:Sampler.__init__", "pywatts/modules/sample_module.py:Sampler.get_params", "pywatts/modules/sample_module.py:Sampler.set_params", "pywatts/modules...
KIT-IAI/pyWATTS
5caece95676b6e8a981f9d72dfae87247c41e8fd
data_var_name parameter of sample module is not needed any more **Describe the bug** The data_var_name parameter of the sample module was needed for the old API. The new api do not need it any more. **Expected behavior** Remove the paramter data_var_names
diff --git a/CHANGELOG.md b/CHANGELOG.md index 149d4bd..3df65fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,7 +19,7 @@ * Fixed pipeline crashing in RMSE module because of wrong time index ([#39](https://github.com/KIT-IAI/pyWATTS/issues/39)) * Fixed bracket operator not working for steps within the pipeli...
KIT-IAI__pyWATTS-79
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pywatts/modules/rolling_base.py:RollingBase.transform" ], "edited_modules": [ "pywatts/modules/rolling_base.py:RollingBase" ] }, "file": "pywatts/modules/rolling_base.p...
KIT-IAI/pyWATTS
0818b1cad73d749c8d4ac6e8c983b53432bda7fc
RollingGroupBy WeekdayWeekend and WeekdayWeekendAndHoliday do not work for variance, skewness and kurtosis **Describe the bug** If RollingGroupBy.WeekdayWeekend or WeekdayWeekendAndHoliday are specified for RollingVariance RollingSkewness or RollingKurtosis, the RollingMean is calculated **To Reproduce** Steps to ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 683a278..a9a2940 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ ### Deprecated ### Fixed +* Missing call of _get_rolling in Rolling Base ([#76](https://github.com/KIT-IAI/pyWATTS/issues/76)) + ## 0.1.0 - 2021-25-03 diff --git a/pywatts/modules/rol...