Skip to content

Create a new file from the Python API#402

Merged
martinRenou merged 3 commits intogeojupyter:mainfrom
brichet:python_API_new_file
Jan 29, 2025
Merged

Create a new file from the Python API#402
martinRenou merged 3 commits intogeojupyter:mainfrom
brichet:python_API_new_file

Conversation

@brichet
Copy link
Collaborator

@brichet brichet commented Jan 28, 2025

Description

Fixes #398.

Creates an empty file if it does not exist when instantiating a GisDocument in a Notebook.

Checklist

  • PR has a descriptive title and content.
  • PR description contains references to any issues the PR resolves, e.g. Resolves #XXX.
  • PR has one of the labels: documentation, bug, enhancement, feature, maintenance
  • Checks are passing.
    Failing lint checks can be resolved with:
    • pre-commit run --all-files
    • jlpm run lint

📚 Documentation preview: https://jupytergis--402.org.readthedocs.build/en/402/
💡 JupyterLite preview: https://jupytergis--402.org.readthedocs.build/en/402/lite

@brichet brichet added the bug Something isn't working label Jan 28, 2025
@github-actions
Copy link
Contributor

Binder 👈 Launch a Binder on branch brichet/jupytergis/python_API_new_file

@github-actions
Copy link
Contributor

github-actions bot commented Jan 28, 2025

Integration tests report: appsharing.space

@brichet brichet marked this pull request as ready for review January 28, 2025 16:49
Copy link
Member

@martinRenou martinRenou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

CI failures are unrelated, see #404 and #394

@martinRenou martinRenou merged commit b53734c into geojupyter:main Jan 29, 2025
12 of 14 checks passed
@brichet brichet deleted the python_API_new_file branch January 29, 2025 08:53
HaudinFlorence pushed a commit to HaudinFlorence/jupytergis that referenced this pull request Jan 28, 2026
* Create a new file from the Python API

* Add test on file creation

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable creating new JGIS project files from Python API

2 participants