|
| 1 | +# numaflow |
| 2 | +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) |
| 3 | + |
| 4 | +This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: |
| 5 | + |
| 6 | +- API version: v0.7.0 |
| 7 | +- Package version: 0.7.0 |
| 8 | +- Build package: org.openapitools.codegen.languages.PythonClientCodegen |
| 9 | + |
| 10 | +## Requirements. |
| 11 | + |
| 12 | +Python >=3.6 |
| 13 | + |
| 14 | +## Installation & Usage |
| 15 | +### pip install |
| 16 | + |
| 17 | +If the python package is hosted on a repository, you can install directly using: |
| 18 | + |
| 19 | +```sh |
| 20 | +pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git |
| 21 | +``` |
| 22 | +(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`) |
| 23 | + |
| 24 | +Then import the package: |
| 25 | +```python |
| 26 | +import numaflow |
| 27 | +``` |
| 28 | + |
| 29 | +### Setuptools |
| 30 | + |
| 31 | +Install via [Setuptools](http://pypi.python.org/pypi/setuptools). |
| 32 | + |
| 33 | +```sh |
| 34 | +python setup.py install --user |
| 35 | +``` |
| 36 | +(or `sudo python setup.py install` to install the package for all users) |
| 37 | + |
| 38 | +Then import the package: |
| 39 | +```python |
| 40 | +import numaflow |
| 41 | +``` |
| 42 | + |
| 43 | +## Getting Started |
| 44 | + |
| 45 | +Please follow the [installation procedure](#installation--usage) and then run the following: |
| 46 | + |
| 47 | +```python |
| 48 | + |
| 49 | +import time |
| 50 | +import numaflow |
| 51 | +from pprint import pprint |
| 52 | +``` |
| 53 | + |
| 54 | +## Documentation for API Endpoints |
| 55 | + |
| 56 | +All URIs are relative to *http://localhost* |
| 57 | + |
| 58 | +Class | Method | HTTP request | Description |
| 59 | +------------ | ------------- | ------------- | ------------- |
| 60 | + |
| 61 | + |
| 62 | +## Documentation For Models |
| 63 | + |
| 64 | + - [AbstractPodTemplate](docs/AbstractPodTemplate.md) |
| 65 | + - [AbstractVertex](docs/AbstractVertex.md) |
| 66 | + - [Authorization](docs/Authorization.md) |
| 67 | + - [BasicAuth](docs/BasicAuth.md) |
| 68 | + - [Buffer](docs/Buffer.md) |
| 69 | + - [BufferServiceConfig](docs/BufferServiceConfig.md) |
| 70 | + - [Container](docs/Container.md) |
| 71 | + - [ContainerBuilder](docs/ContainerBuilder.md) |
| 72 | + - [ContainerTemplate](docs/ContainerTemplate.md) |
| 73 | + - [DaemonTemplate](docs/DaemonTemplate.md) |
| 74 | + - [Edge](docs/Edge.md) |
| 75 | + - [EdgeLimits](docs/EdgeLimits.md) |
| 76 | + - [FixedWindow](docs/FixedWindow.md) |
| 77 | + - [ForwardConditions](docs/ForwardConditions.md) |
| 78 | + - [Function](docs/Function.md) |
| 79 | + - [GeneratorSource](docs/GeneratorSource.md) |
| 80 | + - [GetContainerReq](docs/GetContainerReq.md) |
| 81 | + - [GetDaemonDeploymentReq](docs/GetDaemonDeploymentReq.md) |
| 82 | + - [GetJetStreamServiceSpecReq](docs/GetJetStreamServiceSpecReq.md) |
| 83 | + - [GetJetStreamStatefulSetSpecReq](docs/GetJetStreamStatefulSetSpecReq.md) |
| 84 | + - [GetRedisServiceSpecReq](docs/GetRedisServiceSpecReq.md) |
| 85 | + - [GetRedisStatefulSetSpecReq](docs/GetRedisStatefulSetSpecReq.md) |
| 86 | + - [GetVertexPodSpecReq](docs/GetVertexPodSpecReq.md) |
| 87 | + - [GroupBy](docs/GroupBy.md) |
| 88 | + - [HTTPSource](docs/HTTPSource.md) |
| 89 | + - [InterStepBufferService](docs/InterStepBufferService.md) |
| 90 | + - [InterStepBufferServiceList](docs/InterStepBufferServiceList.md) |
| 91 | + - [InterStepBufferServiceSpec](docs/InterStepBufferServiceSpec.md) |
| 92 | + - [InterStepBufferServiceStatus](docs/InterStepBufferServiceStatus.md) |
| 93 | + - [JetStreamBufferService](docs/JetStreamBufferService.md) |
| 94 | + - [JetStreamConfig](docs/JetStreamConfig.md) |
| 95 | + - [JobTemplate](docs/JobTemplate.md) |
| 96 | + - [KafkaSink](docs/KafkaSink.md) |
| 97 | + - [KafkaSource](docs/KafkaSource.md) |
| 98 | + - [Lifecycle](docs/Lifecycle.md) |
| 99 | + - [Metadata](docs/Metadata.md) |
| 100 | + - [NativeRedis](docs/NativeRedis.md) |
| 101 | + - [NatsAuth](docs/NatsAuth.md) |
| 102 | + - [NatsSource](docs/NatsSource.md) |
| 103 | + - [PBQStorage](docs/PBQStorage.md) |
| 104 | + - [PersistenceStrategy](docs/PersistenceStrategy.md) |
| 105 | + - [Pipeline](docs/Pipeline.md) |
| 106 | + - [PipelineLimits](docs/PipelineLimits.md) |
| 107 | + - [PipelineList](docs/PipelineList.md) |
| 108 | + - [PipelineSpec](docs/PipelineSpec.md) |
| 109 | + - [PipelineStatus](docs/PipelineStatus.md) |
| 110 | + - [RedisBufferService](docs/RedisBufferService.md) |
| 111 | + - [RedisConfig](docs/RedisConfig.md) |
| 112 | + - [RedisSettings](docs/RedisSettings.md) |
| 113 | + - [Scale](docs/Scale.md) |
| 114 | + - [Sink](docs/Sink.md) |
| 115 | + - [SlidingWindow](docs/SlidingWindow.md) |
| 116 | + - [Source](docs/Source.md) |
| 117 | + - [Status](docs/Status.md) |
| 118 | + - [TLS](docs/TLS.md) |
| 119 | + - [Templates](docs/Templates.md) |
| 120 | + - [UDF](docs/UDF.md) |
| 121 | + - [UDSink](docs/UDSink.md) |
| 122 | + - [Vertex](docs/Vertex.md) |
| 123 | + - [VertexInstance](docs/VertexInstance.md) |
| 124 | + - [VertexLimits](docs/VertexLimits.md) |
| 125 | + - [VertexList](docs/VertexList.md) |
| 126 | + - [VertexSpec](docs/VertexSpec.md) |
| 127 | + - [VertexStatus](docs/VertexStatus.md) |
| 128 | + - [Watermark](docs/Watermark.md) |
| 129 | + - [Window](docs/Window.md) |
| 130 | + |
| 131 | + |
| 132 | +## Documentation For Authorization |
| 133 | + |
| 134 | + All endpoints do not require authorization. |
| 135 | + |
| 136 | +## Author |
| 137 | + |
| 138 | + |
| 139 | + |
| 140 | +## Notes for Large OpenAPI documents |
| 141 | +If the OpenAPI document is large, imports in numaflow.apis and numaflow.models may fail with a |
| 142 | +RecursionError indicating the maximum recursion limit has been exceeded. In that case, there are a couple of solutions: |
| 143 | + |
| 144 | +Solution 1: |
| 145 | +Use specific imports for apis and models like: |
| 146 | +- `from numaflow.api.default_api import DefaultApi` |
| 147 | +- `from numaflow.model.pet import Pet` |
| 148 | + |
| 149 | +Solution 2: |
| 150 | +Before importing the package, adjust the maximum recursion limit as shown below: |
| 151 | +``` |
| 152 | +import sys |
| 153 | +sys.setrecursionlimit(1500) |
| 154 | +import numaflow |
| 155 | +from numaflow.apis import * |
| 156 | +from numaflow.models import * |
| 157 | +``` |
| 158 | + |
0 commit comments