cloudtools / cloudtools/troposphere

It would be great if I could access the diff without having to loads the json string

Open
#425 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4.9k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

I would like to be able to get the dict that is built up in the following function before it is serialized into json:
https://github.com/cloudtools/troposphere/blob/47cc47ae9f8fc9e933eb1d52df04efc0dc6d2c9b/troposphere/__init__.py#L451

As it stands, I just use json.loads on the to_json produced string to get the dict I am after.

Contributor guide

Open the contributing guide

Research direction

Start in troposphere/__init__.py at the linked function around line 451, and inspect how the dictionary is built before it is serialized. Expose that dictionary so callers can access it without parsing the to_json string; done means the pre-serialization data is available through the library API.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
cloud
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.