Skip to content

How do I get the filename if I'm using bentoml.io.File API descriptor for the input? #2381

Answered by sauyon
mgmalana asked this question in Q&A
Discussion options

You must be logged in to vote

Hi! There currently isn't a way to get a filename, as there is no actual file on disk. If you need to pass a filename to something unfortunately you'll have to write it manually first.

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by mgmalana
Comment options

You must be logged in to vote
9 replies
@aarnphm
Comment options

@mgmalana
Comment options

@aarnphm
Comment options

@mgmalana
Comment options

@sauyon
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants