beetbox / beetbox/confuse

Exposing some of `templates.Filename` parameters in `templates.Path` and `as_path()`, `as_filename()`

Open
#162 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
424
Forks
57
PR merge metrics
No merged PRs in 30d

Description

`templates.Filename` supports configuring how the path is resolved (relative to config, some directory and so on).
I believe it would be nice to have some (or all) of those exposed for `as_path()` and `as_filename()` methods.
I am willing to implement this, just want to make sure this is something that would be accepted :)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting templates.Filename and the as_path() and as_filename() methods to compare which path-resolution parameters are currently available. Clarify which parameters should be exposed and define tests showing the intended behavior before implementing the API change.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.