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.

Multiple transformers per placeholder

See original GitHub issue

Hi, I dont know if this can be done, but I could not find a solution so far.

I was wondering if its posible to have multiple transformers per placeholder, for example:

format(`{time!date!lbl_cyan}`, log);

ValueError: no transformer named “date,lbl_cyan” at ValueError (C:\Users\keff\Desktop\cosas\Dev\LibsJS\loggin-js\node_modules\string-format\index.js:7:15)

It would be cool to be able to concatenate transformers in some way.

Cheers!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
davidchamberscommented, Sep 19, 2019

Bravo, Manolo! 👏

0reactions
nombrekeffcommented, Sep 19, 2019

Yeah, It’s quite nice! I did a bit more that add multiple transformers in the end 😛 Check it out if you’d like: https://github.com/nombrekeff/strif

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pipelines - Hugging Face
These pipelines are objects that abstract most of the complex code from the library, offering a simple API dedicated to several tasks, including...
Read more >
Transformer - Parcel
Transformer plugins transform a single asset to compile it, discover dependencies, or convert it to a different format. Many transformers are wrappers around ......
Read more >
dagli/dag.md at master · linkedin/dagli - GitHub
The "result" of a Placeholder root node is just the value provided as part of the example, while the result of a Generator...
Read more >
Attending to Future Tokens for Bidirectional Sequence ...
Cru- cially, this allows a transformer encoder to attend to both past and future, not-yet-produced token. Simply masking all placeholder tokens ...
Read more >
T5: Text-To-Text Transfer Transformer | by Rohan Jagtap
With the burgeoning of Transfer Learning, Deep Learning has achieved many wonders. More specifically, in NLP, with the rise of the ...
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