question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[DOC-FIX] Implement HTTP 301 redirect for MLflow 1.28.0 change of mlflow.tracking.MlflowClient to mlflow.client.MlflowClient to preserve existing documentation hyperlinks

See original GitHub issue

Willingness to contribute

No. I cannot contribute a documentation fix at this time.

URL(s) with the issue

https://mlflow.org/docs/latest/python_api/mlflow.client.html

Description of proposal (what needs changing)

For example, the link https://mlflow.org/docs/latest/python_api/mlflow.tracking.html#mlflow.tracking.MlflowClient.get_latest_versions returns an HTTP 403 (not 404) status code

<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>7NX9Q00FWYZJQ86X</RequestId>
<HostId>9yRMs47uE5KOSp37A57DkQUhf0Iz2eYui709kgXm04Nf+5er68hldsGD+7hHor9sAx3vUX8c2ZE=</HostId>
</Error>

The new link now is: https://mlflow.org/docs/latest/python_api/mlflow.client.html#mlflow.tracking.MlflowClient.get_latest_versions

Solution is to implement an HTTP 301 Moved Permanently redirect mechanism to preserve existing hyperlinks.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
amesarcommented, Aug 15, 2022

@WeichenXu123 But that still requires me (and all others) to edit every document or web page and make change. Why can’t our webserver do a 301 redirect? Pretty standard procedure to prevent broken links. 😉

1reaction
harupycommented, Aug 15, 2022

@WeichenXu123 The issue is https://mlflow.org/docs/latest/python_api/mlflow.tracking.html#mlflow.tracking.MlflowClient.get_latest_versions used to be available but it’s not now because we changed the module structure.

Read more comments on GitHub >

github_iconTop Results From Across the Web

MLflow Tracking — MLflow 2.0.1 documentation
The MLflow server can be configured with an artifacts HTTP proxy, passing artifact requests through the tracking server to store and retrieve artifacts ......
Read more >
mlflow.client — MLflow 2.0.1 documentation
Client of an MLflow Tracking Server that creates and manages experiments and runs, and of an MLflow Registry Server that creates and manages...
Read more >
Source code for mlflow.tracking.client
Internal package providing a Python CRUD interface to MLflow experiments, runs, registered models, and model versions. This is a lower level API than...
Read more >
MLflow 2.0.1 documentation
Evaluate a PyFunc model on the specified dataset using one or more specified evaluators , and log resulting metrics & artifacts to MLflow...
Read more >
mlflow.tracking - Documentation
Client of an MLflow Tracking Server that creates and manages experiments and ... API but we can keep the implementation of the tracking...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found