Skip to content

Commit

Permalink
docs: 🔥 remove write_resource_to_database() (#986)
Browse files Browse the repository at this point in the history
## Description

Following #985 , I have removed `write_resource_to_database()` as well.

<!-- Select quick/in-depth as necessary -->
This PR needs a quick review.

## Checklist

- [X] Updated documentation
- [ ] Ran `just run-all`

---------

Co-authored-by: Luke W. Johnston <[email protected]>
  • Loading branch information
signekb and lwjohnst86 authored Jan 22, 2025
1 parent bf14f30 commit dc6e4be
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
10 changes: 0 additions & 10 deletions docs/design/interface/python-functions.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -289,16 +289,6 @@ function.](images/core/write-resource-properties.svg){#fig-write-resource-proper
fig-alt="A Plant UML schematic of the detailed code flow within the `write_resource_properties()` function."}
:::

::: {.callout-note collapse="true"}
### `write_resource_to_database(data, path, properties)`

Writes a data object to the `path` database location. Use
`path_resource_database()` to provide the correct location for the
`path` object. The `properties` argument, using `view_resource()`,
ensures the correct table is created in the database. Outputs the same
`path` object as well as the name of the newly created database table.
:::

::: {.callout-note collapse="true"}
### `extract_resource_properties(path, data_path)`

Expand Down
2 changes: 0 additions & 2 deletions seedcase_sprout/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
from .create_resource_structure import create_resource_structure
from .edit_package_properties import edit_package_properties

# from .write_resource_to_database import *
# from .delete_resource_raw_file import *
# from .delete_resource_data import *
# from .delete_resource_properties import *
Expand Down Expand Up @@ -90,7 +89,6 @@
# "write_resource_data_to_raw",
# "write_resource_parquet",
"write_resource_properties",
# "write_resource_to_database",
# "delete_resource_raw_file",
# "delete_resource_data",
# "delete_resource_properties",
Expand Down

0 comments on commit dc6e4be

Please sign in to comment.