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.

CONFIG dictionaries stuff

See original GitHub issue

We have discussed about the variable CONFIG previously on discord. What should we do about it ?

I personally think we should modify at least a little bit of its architecture. it alters the readability a lot. One problem with that would be that in changing CONFIG we would have to review the entire architecture of the code.

What do you think?

Issue Analytics

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

github_iconTop GitHub Comments

4reactions
PgBielcommented, Aug 8, 2020

correct, kilacoda. We’re not going to use dataclasses, but attrs, which supports most python versions, including python 2

2reactions
leotrscommented, Jul 10, 2020

Now that #98 has been merged, it has deprecated/eliminated a bunch of the keys in the CONFIG dictionaries in classes across the codebase. It’d be great to have an update here on what still needs to be done.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Simplest way to store lists and dictionaries in config files
Fast and simple way of storing and using lists and dictionaries in config files.
Read more >
Convert ConfigParser.items('') to dictionary - Stack Overflow
Have you tried print connection_string % dict(config.items('db')).
Read more >
HOW-TO: Create a config file — ConfigTreeView 0.1.3 ...
First I'll say a few things about how a config file is made. Making a config file¶. -The config file is represented as...
Read more >
Python Config Files with Lists and Dictionaries
First I'll load an example config file using python's ... The list of tuples returned by ConfigParser.items(section) can be tricky to work ...
Read more >
Setting up Dictionary Items (Resource Strings) - Sitecore Diaries
Setting up Dictionary Items (Resource Strings) · Go to Content Editor. · Navigate to Dictionary templates (/sitecore/templates/System/Dictionary).
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