{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Add EntryGroup" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Group\n", "\n", "The grouping of existing Entries can be done by the `api.add_group` endpoint. This function also takes a specification of the type of group. Additionally, there is a `api.add_project` function for the special case of adding a group of type `'Project'`. " ] }, { "cell_type": "raw", "metadata": { "raw_mimetype": "text/restructuredtext" }, "source": [ ".. note::\n", "\n", " ``'Composite'`` entries are best added by the \n", " `model interface `_ of one of the entries.\n", " Use the ``Entry.make_composite`` function for that." ] }, { "cell_type": "raw", "metadata": { "raw_mimetype": "text/restructuredtext" }, "source": [ ".. autofunction:: metacatalog.api.add_group" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Project" ] }, { "cell_type": "raw", "metadata": { "raw_mimetype": "text/restructuredtext" }, "source": [ ".. autofunction:: metacatalog.api.add_project" ] } ], "metadata": { "celltoolbar": "Raw Cell Format", "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.7.7" } }, "nbformat": 4, "nbformat_minor": 4 }