Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mapping startegy to fetch relevant parts of graph #16

Closed

Conversation

Treesarj
Copy link
Collaborator

Description:

Type of change:

  • Bug fix.
  • New feature.
  • Documentation update.

Checklist for the reviewer:

This checklist should be used as a help for the reviewer.

  • Is the change limited to one issue?
  • Does this PR close the issue?
  • Is the code easy to read and understand, including clearly named variables?
  • Do all new feature have an accompanying new test?
  • Has the documentation been updated as necessary?

@Treesarj Treesarj self-assigned this Aug 28, 2024
Treesarj and others added 29 commits August 28, 2024 10:31
* update strategies

* fix pre-commit

* create json parse strategy

* update parse strategies

* Updated dlite storage path

* Fixed duplication of data model names. Improved readability of the code

* Instanciate the Pydantic datamodel from a dict

* Added error handling#

* Set collection_id. Updated datamodel

* Updated parse strategy

* Update json strategy config

* Update json strategy config

* Added entity to config

* camel case storagePath

* rename storage path

* Refactor initialize method

* add quantity to generate

* Revert "add quantity to generate"

This reverts commit e000232.

* remove unused session parameter

* update otelib version

* update requirements.txt

* update oteapi-core

* fix pylint errors

* remove unnecessary session parameter

* fix otelib version

* fix tests

* fix test_generate

* fix syntax

* fix test_generate collection

* fix test_filter

* fix test_generate_collection

* update dataresource in test_convert

* fix test_convert, and pylint

* fix tests

* test_parse_json

* test_parse_json

* fix test_parse

* fix test_convert

* fix pylint errors

* replace resourceconfig with Parserconfig in parse strategies

* fix parse strategy

* -

* revert

* Allow for defining triplestore backend in the mapping strategy (EMMC-ASBL#225)

* Allow for defining triplestore backend in the mapping strategy

Co-authored-by: Thomas F. Hagelien <[email protected]>

* -

* remove unnecessary files

* fix test_parse_json

* -

* fix import error

* fix path issue

* fix  test_mapping

* -

* fix collection

* update  config in test_config

* fix test_parse_excel

* fix test_parse_excel

* -

* fix excel parser

* -

* fix test_image_config

* remove unnecessary startegies

* run pre-commit

* fix pylint issues

* fix pylint and docs

* remove unused strategies and add doc strings

* remove unused test entities and files

* -

* -

* -

* fix warning

* Revert "Remove session"

---------

Co-authored-by: Thomas F. Hagelien <[email protected]>
Co-authored-by: Thomas Hagelien <[email protected]>
Update GH Actions:
Bump pypa/gh-action-pypi-publish from 1.8.12 to 1.8.14 (EMMC-ASBL#224)

Update dependencies:
* Update pytest requirement from ~=8.0 to ~=8.1 (EMMC-ASBL#227)
* Update mkdocstrings[python] requirement from ~=0.24.0 to ~=0.24.1 (EMMC-ASBL#226)

Update `pre-commit` hooks.


Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Updates the requirements on [pytest-cov](https://github.com/pytest-dev/pytest-cov) to permit the latest version.
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](pytest-dev/pytest-cov@v4.1.0...v5.0.0)

---
updated-dependencies:
- dependency-name: pytest-cov
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Updates the requirements on [pre-commit](https://github.com/pre-commit/pre-commit) to permit the latest version.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](pre-commit/pre-commit@v3.6.0...v3.7.0)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…MC-ASBL#235)

Updates the requirements on [mkdocstrings[python]](https://github.com/mkdocstrings/mkdocstrings) to permit the latest version.
- [Release notes](https://github.com/mkdocstrings/mkdocstrings/releases)
- [Changelog](https://github.com/mkdocstrings/mkdocstrings/blob/main/CHANGELOG.md)
- [Commits](mkdocstrings/mkdocstrings@0.24.1...0.24.3)

---
updated-dependencies:
- dependency-name: mkdocstrings[python]
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [chuhlomin/render-template](https://github.com/chuhlomin/render-template) from 1.9 to 1.10.
- [Release notes](https://github.com/chuhlomin/render-template/releases)
- [Commits](chuhlomin/render-template@v1.9...v1.10)

---
updated-dependencies:
- dependency-name: chuhlomin/render-template
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Update dependencies:
* Update mike requirement from ~=2.0 to ~=2.1 (EMMC-ASBL#244)
* Update pytest requirement from ~=8.1 to ~=8.2 (EMMC-ASBL#245)
* Update mkdocstrings[python] requirement from ~=0.24.3 to ~=0.25.1 (EMMC-ASBL#246)
* Update mkdocs requirement from ~=1.5 to ~=1.6 (EMMC-ASBL#243)


Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update pylint requirement from ~=3.1 to ~=3.2

Updates the requirements on [pylint](https://github.com/pylint-dev/pylint) to permit the latest version.
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](pylint-dev/pylint@v3.1.0...v3.2.1)

---
updated-dependencies:
- dependency-name: pylint
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>

* Fix for pylint. Note that this is not tested originally.

* Safety issue for jinja ignored

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: [email protected] <[email protected]>
@Treesarj Treesarj force-pushed the update-mapping-startegy-to-fetch-relevant-parts-of-graph branch from 214e8bb to 814cd61 Compare August 28, 2024 08:36
@Treesarj Treesarj closed this Aug 28, 2024
@Treesarj Treesarj deleted the update-mapping-startegy-to-fetch-relevant-parts-of-graph branch August 28, 2024 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants