fluvio-community / fluvio-community/fluvio-docs
SDF page on dependencies has wrong link to GitHub
- Dominant language
- MDX
- Stars
- 4
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
Error on the page: https://www.fluvio.io/sdf/latest/concepts/inline-dependencies
Running the data flow with
`- operator: map
dependencies:
- name: sdf-http
git: "https://github.com/infinyon/sdf-guest-http"
tag: "v0.4.0"
run: |
fn english_to_spanish(sentence: String) -> Result {
use sdf_http::http::Request;
let url = format!("https://acme.com/translate?text={}", sentence);
let request = Request::builder().uri(url).body("")?;
let response = sdf_http::blocking::send(request)?;
Ok(response.into_body())
}
`
causes
``
https://github.com/infinyon/sdf-guest-http
error: failed to get `sdf-http` as a dependency of package `send_request v0.0.0 (/Users/billy/work/fluvio/demo/ai-pipeline/.sdf/rust-project/categorize/send-request)`
``
not sure if the page should be updated to but it works on one of my data flows
`
- operator: map
dependencies:
- name: sdf-http
git: "https://github.com/infinyon/sdf-http-guest"
tag: "v0.4.0"
`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.