Skip to content

Commit

Permalink
Add missing files
Browse files Browse the repository at this point in the history
  • Loading branch information
fridex committed Jan 13, 2022
1 parent 4ae12a2 commit b49e949
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 24 deletions.
2 changes: 1 addition & 1 deletion Documentation/AdviserResultResponseResultReportProducts.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Name | Type | Description | Notes
**advised_runtime_environment** | [**RuntimeEnvironment**](RuntimeEnvironment.md) | |
**dependency_graph** | [**AdviserResultResponseResultReportDependencyGraph**](AdviserResultResponseResultReportDependencyGraph.md) | |
**justification** | [**Justification**](Justification.md) | |
**project** | [**AdviserResultResponseResultReportProject**](AdviserResultResponseResultReportProject.md) | |
**project** | **object** | |
**score** | **float** | Score of the computed product |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**constraints** | [**list[ProvenanceResultResponseResultParametersProjectConstraints]**](ProvenanceResultResponseResultParametersProjectConstraints.md) | |
**requirements** | **object** | |
**requirements_locked** | **object** | |
**requirements** | **object** | Requirements stating direct dependencies of the project, the format is compatible with Pipenv |
**requirements_locked** | **object** | A lock file stating all the dependencies pinned to a specific version togher with an explicit Python package index configuration |
**runtime_environment** | [**RuntimeEnvironment**](RuntimeEnvironment.md) | |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
2 changes: 1 addition & 1 deletion Documentation/PythonPackageIndexesIndexes.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Name | Type | Description | Notes
**url** | **str** | URL to the Python simple repository as described in PEP 503 |
**warehouse_api_url** | **str** | URL to the warehouse API |
**verify_ssl** | **bool** | Use secured connection to warehouse |
**only_if_packages_seen** | **bool** | The backend is configured to monitor only releases of already seen packages |
**only_if_package_seen** | **bool** | The backend is configured to monitor only releases of already seen packages |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

8 changes: 7 additions & 1 deletion thamos/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1423,6 +1423,7 @@ def whatprovides(import_name: str, output_format: str) -> None: # noqa: D412
thamos whatprovides sklearn.linear_model.*
"""
_LOGGER.info("Returning information on package %r", import_name)

result = get_package_from_imported_packages(import_name)

if output_format == "yaml":
Expand Down Expand Up @@ -1463,11 +1464,16 @@ def whatprovides(import_name: str, output_format: str) -> None: # noqa: D412
def discover(
runtime_environment: typing.Optional[str], src_path: str = "."
) -> None: # noqa: D412
"""Discover packages used in the project or in the file.
"""Discover packages used in the project or in a file and add them to requirements.
If runtime environment is passed, requirements are added to requirements specific
to the given runtime environment. Otherwise, the default runtime environment is used.
Examples:
thamos discover
thamos discover --runtime-environment "production"
"""
# Obtain list of imports using invectio and verify package from PyPI
verified_packages = get_verified_packages_from_static_analysis(
Expand Down
1 change: 0 additions & 1 deletion thamos/swagger_client/__init__.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion thamos/swagger_client/models/__init__.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 16 additions & 14 deletions thamos/swagger_client/models/python_package_indexes_indexes.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b49e949

Please sign in to comment.