Skip to main content

IDL for Flyte Platform

Project description

Flyteidl

This is one of the core repositories of Flyte. It contains the Specification of the Flyte Language using protobuf messages, the Backend API specification in gRPC, and Swagger REST. The repo contains the generated clients and protocol message structures in multiple languages. Along with the generated code, the repository also contains the Golang clients for Flyte's backend APIs (the services grouped under FlyteAdmin).

Slack

Contributing to Flyteidl

Tooling for Flyteidl

  1. Run make download_tooling to install generator dependencies.
   make download_tooling
  1. Ensure Docker is installed locally.
  2. Run make generate to generate all the code, mock client, and docs for FlyteAdmin Service.
    make generate
  1. To add new dependencies for documentation generation, modify doc-requirements.in and run
   make doc-requirements.txt

Docs structure

The index.rst files for protos are arranged in parallel under the docs folder. All the proto definitions are within protos/flyteidl and their corresponding docs are in protos/docs.

docs
├── admin
│   ├── admin.rst
│   └── index.rst
├── core
│   ├── core.rst
│   └── index.rst
├── datacatalog
│   ├── datacatalog.rst
│   └── index.rst
├── event
│   ├── event.rst
│   └── index.rst
├── plugins
│   ├── index.rst
│   └── plugins.rst
├── service
│   ├── index.rst
│   └── service.rst

Each module in protos has a module in docs with the same name. For example: protos/flyteidl/core has a module protos/docs/core under the docs folder which has the corresponding index and documentation files.

Generating Documentation

  • If a new module is to be introduced, follow the structure for core files in generate_protos.sh file which helps generate the core documentation from its proto files.
     core_proto_files=`ls protos/flyteidl/core/*.proto |xargs`
     # Remove any currently generated file
     ls -d protos/docs/core/* | grep -v index.rst | xargs rm
     protoc --doc_out=protos/docs/core --doc_opt=restructuredtext,core.rst -I=protos `echo $core_proto_files`
  • make generate generates the modified rst files.

  • make html generates the Sphinx documentation from the docs folder that uses the modified rst files.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flyteidl-1.11.0b1.tar.gz (117.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flyteidl-1.11.0b1-py3-none-any.whl (211.6 kB view details)

Uploaded Python 3

File details

Details for the file flyteidl-1.11.0b1.tar.gz.

File metadata

  • Download URL: flyteidl-1.11.0b1.tar.gz
  • Upload date:
  • Size: 117.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for flyteidl-1.11.0b1.tar.gz
Algorithm Hash digest
SHA256 f537d6497e058b26c0b04ff78379f11f99f486f127c6a962c1a8d93f32a22412
MD5 21d7629768a4a4f7f379150228c53078
BLAKE2b-256 7d910e82831b86c59b1786edbfb3e25595baa44504d9e58b27927ed0413002ef

See more details on using hashes here.

File details

Details for the file flyteidl-1.11.0b1-py3-none-any.whl.

File metadata

  • Download URL: flyteidl-1.11.0b1-py3-none-any.whl
  • Upload date:
  • Size: 211.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for flyteidl-1.11.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 52b756425fa61434728dfa06e8fe5191760d886ae64133c8bce807c89d5f1e59
MD5 1b9a921087c5be40f12daf8dba3fc51f
BLAKE2b-256 2c071f1d1c529b8dcc6f1a528c47f1cfcfd181def35f694f8cc3b7cd1a2c0fb5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page