Nhon Dinh

Results 5 comments of Nhon Dinh

I think we should make this issue in a more generic way, not just loading dotenv file. I suggest doing it similar to the way docker did: load env variables...

We also need to remove the Column from here as well: https://github.com/google/magika/blob/a9d3904fbe1523c740ecb20ebf0e742e4acf5892/python/magika/cli/magika.py#L432 It's shown when user use `magika --list-output-content-types`

Magika does have a list of expected extensions/suffixes for each Content type in Python config: https://github.com/google/magika/blob/main/python/magika/config/content_types_config.json I made a PR to add the ability to export the expected extensions as...

@reyammer: I think we should think about this as a long-term feature. And we also need to update more correct/expected extensions to https://github.com/google/magika/blob/main/python/magika/config/content_types_config.json I see lots of extensions is missed...

Hi @reyammer , should I close this? As I see we have new code adding to `main` branch and leading to conflict on this PR.