Skip to content

SDF page on dependencies has wrong link to GitHub #260

@ZeroNerodaHero

Description

@ZeroNerodaHero

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"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions