Coder Social home page Coder Social logo

flyteorg / flyteidl Goto Github PK

View Code? Open in Web Editor NEW
28.0 247.0 62.0 37.2 MB

Specification of the IR for Flyte workflows and tasks. Also Interfaces for all backend services. https://docs.flyte.org/projects/flyteidl/en/stable/

Home Page: https://flyte.org

License: Apache License 2.0

Makefile 1.83% Shell 9.31% Go 84.16% Python 4.29% HTML 0.40%
core language flyte protobuf specification extensible declarative

flyteidl's Introduction

๐Ÿ—‘ As of Oct-23 we moved the development of this component to the monorepo. ๐Ÿ—‘

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.

flyteidl's People

Contributors

anandswaminathan avatar andrewwdye avatar bnsblue avatar byronhsu avatar cosmicbboy avatar eapolinario avatar enghabu avatar flyte-bot avatar hamersaw avatar honnix avatar jonathanburns avatar katrogan avatar kosigz-lyft avatar kumare3 avatar matthewphsmith avatar mayitbeegh avatar migueltol22 avatar milton0825 avatar pingsutw avatar pmahindrakar-oss avatar samhita-alla avatar schottra avatar slai avatar smritisatyanv avatar surindersinghp avatar tnsetting avatar wild-endeavor avatar yindia avatar yk-x-25 avatar yubofredwang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.