feature-service-client 0.1.1
python client for talking to feature service
Requires Python: >=3.6,<4.0

# feature-service-client
This is feature service

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 1.0
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen

## Requirements.

Python >= 3.6

## Installation & Usage
### pip install

If the python package is hosted on a repository, you can install directly using:

```sh
pip install feature_service_client
```
(you may need to run `pip` with root permission: `sudo pip install feature_service_client`)

Then import the package:
```python
import feature_service_client
```

### Setuptools

Install via [Setuptools](http://pypi.python.org/pypi/setuptools).

```sh
python setup.py install --user
```
(or `sudo python setup.py install` to install the package for all users)

Then import the package:
```python
import feature_service_client
```

## Getting Started

Please follow the [installation procedure](#installation--usage) and then run the following:

```python

import feature_service_client
from pprint import pprint
from feature_service_client.api import default_api
from feature_service_client.model.columnar_features_response import ColumnarFeaturesResponse
from feature_service_client.model.features_request import FeaturesRequest
from feature_service_client.model.seldon_features_request import SeldonFeaturesRequest
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = feature_service_client.Configuration(
    host = "https://service.mlplat-service-sbx.tamg.cloud"
)
# Enter a context with an instance of the API client
api_client = feature_service_client.ApiClient(configuration)
api_instance = default_api.DefaultApi(api_client)

features_request = FeaturesRequest(
    features=[
        "TA_User_AdsolAudienceIds","TA_User_CompletedInstantBookingsLast28Days","TA_User_DatedSearchLast28Days"
    ],
    entity_ids=[],
    user_id="",
    facebook_id="",
    ta_unique_id="f371a31f-6cc6-545a-9b8a-a270c4d7f884",
    context={},
    client_name="joao-test",
) # FeaturesRequest | 
    
api_response = api_instance.get_columnar_features(features_request)
pprint(api_response)
```

## Documentation for API Endpoints

All URIs are relative to *http://localhost*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*DefaultApi* | [**get_columnar_features**](docs/DefaultApi.md#get_columnar_features) | **POST** /v1/featureservice/columnarfeatures | 
*DefaultApi* | [**get_columnar_features_for_seldon**](docs/DefaultApi.md#get_columnar_features_for_seldon) | **POST** /v1/featureservice/getColumnarFeaturesForSeldon | 
*DefaultApi* | [**get_health**](docs/DefaultApi.md#get_health) | **GET** /v1/featureservice/health | 


## Documentation For Models

 - [ColumnarFeaturesResponse](docs/ColumnarFeaturesResponse.md)
 - [FeatureColumn](docs/FeatureColumn.md)
 - [FeatureRequestData](docs/FeatureRequestData.md)
 - [FeatureValue](docs/FeatureValue.md)
 - [FeaturesRequest](docs/FeaturesRequest.md)
 - [SeldonFeaturesRequest](docs/SeldonFeaturesRequest.md)


## Documentation For Authorization

 All endpoints do not require authorization.

## Author




## Notes for Large OpenAPI documents
If the OpenAPI document is large, imports in feature_service_client.apis and feature_service_client.models may fail with a
RecursionError indicating the maximum recursion limit has been exceeded. In that case, there are a couple of solutions:

Solution 1:
Use specific imports for apis and models like:
- `from feature_service_client.api.default_api import DefaultApi`
- `from feature_service_client.model.pet import Pet`

Solution 2:
Before importing the package, adjust the maximum recursion limit as shown below:
```
import sys
sys.setrecursionlimit(1500)
import feature_service_client
from feature_service_client.apis import *
from feature_service_client.models import *
```