Skip to content

Commit

Permalink
21632: Removes references to OpenAPI client while keeping Feature Att…
Browse files Browse the repository at this point in the history
…ributes documentation (#82)

With the changes to howso-engine-py, the OpenAPI client has been removed
so the references to that package needs to be removed from the docs.

However, this was one of the best sources of documentation for the
feature attributes, I alter the OpenAPI pages to only keep the feature
attributes information and rename the section to FeatureAttributes while
removing the bits that define it as being under `howso.openapi`
  • Loading branch information
cademack authored Sep 23, 2024
1 parent 4236386 commit c4de58a
Show file tree
Hide file tree
Showing 15 changed files with 17 additions and 1,157 deletions.
1 change: 0 additions & 1 deletion bin/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ gen_licenses() {
# Removing our own - since they aren't 3rd party
pip uninstall -y howso-engine
pip uninstall -y amalgam-lang
pip uninstall -y howso-openapi-client
pip install pip-licenses
pip-licenses --with-authors --with-urls --with-license-file --with-description --format=plain-vertical > ./LICENSE-3RD-PARTY.txt
# Include any additional non-generated licenses
Expand Down
1,095 changes: 0 additions & 1,095 deletions requirements-3.8.txt

This file was deleted.

11 changes: 0 additions & 11 deletions source/api_reference/data_structures.rst

This file was deleted.

14 changes: 14 additions & 0 deletions source/api_reference/feature_attributes.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Feature Attributes
==================

Feature attributes are the foundational data structure used to define features and their properties for the Howso Engine.
Feature attributes can be generated inferred automatically using :py:meth:`~howso.utilities.infer_feature_attributes`, but
users are encouraged to manually inspect the resulting attributes and make any necessary changes.

See the full definition of all feature attributes in the pages below.

.. toctree::
:glob:
:maxdepth: 1

/howso/types/*
6 changes: 3 additions & 3 deletions source/api_reference/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ These packages are for internal use and are not recommended for inexperienced us
howso.direct


Other Packages
--------------
Feature Attributes
------------------

.. toctree::
:maxdepth: 2

data_structures
feature_attributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

# FeatureAttributes

`````{py:module} howso.openapi.models
:noindex:

````{py:class} FeatureAttributes
Expand Down Expand Up @@ -186,4 +184,3 @@ Flag feature as only having unique values. Only applicable to nominals features.
```
````
`````
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<!-- Auto-generated do not edit -->
# FeatureAutoDeriveOnTrain

`````{py:module} howso.openapi.models
:noindex:

````{py:class} FeatureAutoDeriveOnTrain
Expand Down Expand Up @@ -36,4 +34,3 @@ Feature name(s) by which to order the series specified by `series_id_features`.
```
````
`````
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<!-- Auto-generated do not edit -->
# FeatureAutoDeriveOnTrainCustom

`````{py:module} howso.openapi.models
:noindex:

````{py:class} FeatureAutoDeriveOnTrainCustom
Expand Down Expand Up @@ -40,4 +38,3 @@ Feature name(s) by which to order the series specified by `series_id_features`.
```
````
`````
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<!-- Auto-generated do not edit -->
# FeatureAutoDeriveOnTrainProgress

`````{py:module} howso.openapi.models
:noindex:

````{py:class} FeatureAutoDeriveOnTrainProgress
Expand All @@ -23,4 +21,3 @@ Feature name(s) of series for which to derive this feature. A series is the conj
```
````
`````
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<!-- Auto-generated do not edit -->
# FeatureBounds

`````{py:module} howso.openapi.models
:noindex:

````{py:class} FeatureBounds
Expand Down Expand Up @@ -33,4 +31,3 @@ Allow nulls to be output, per their distribution in the data. Defaults to true.
```
````
`````
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<!-- Auto-generated do not edit -->
# FeatureOriginalType

`````{py:module} howso.openapi.models
:noindex:

````{py:class} FeatureOriginalType
Expand Down Expand Up @@ -57,4 +55,3 @@ The unit of the time delta.
```
````
`````
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

# FeatureTimeSeries

`````{py:module} howso.openapi.models
:noindex:

````{py:class} FeatureTimeSeries
Expand Down Expand Up @@ -95,4 +93,3 @@ When true, the feature will be treated as the time feature for time series model
```
````
`````
24 changes: 0 additions & 24 deletions source/openapi/types/Cases.md

This file was deleted.

1 change: 0 additions & 1 deletion versions.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
howso-engine
amalgam-lang
howso-openapi-client
1 change: 0 additions & 1 deletion versions.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
amalgam_lang=2.3.18
howso_engine=1.1.46
howso_engine_api=7.1.0
howso_openapi_client=24.0.15

0 comments on commit c4de58a

Please sign in to comment.