Repository: great-expectations/great_expectations

Issue:
Use cleaner solution for non-truncating division in python 2
Prefer `from __future__ import division` to `1.*x/y`
Boolean output of a json from class MicrosoftTeamsRenderer()
**Describe the bug**
The JSON output from MicrosoftTeamsRenderer produces "True" boolean values
![image](https://user-images.githubusercontent.com/90680179/134102391-2d875f37-95c0-4ac7-ad1b-0db11e56cc6f.png)

Which turns the JSON become imparseable

**To Reproduce**
Steps to reproduce the behavior:
1. Run the Rule Based Validator and call MicrosoftTeamsRenderer() to render the JSON file
`y = MicrosoftTeamsRenderer().render(<your validation result>)`
2. You will see the "True" value when searching in the JSON file produced

**Expected behavior**
The value of the "True" should be "true"

**Environment (please complete the following information):**
Python 3.6
Great Expectations Version: 0.13.33

**Suspected root cause**
Values of a boolean in a JSON could only be either "true" or "false", instead of "True" or "False, while the query part in the source code is giving the latter
![image](https://user-images.githubusercontent.com/90680179/134102189-cda70a4b-13f0-4247-b636-cdb942e1e396.png)



Discussion:
Done inline during improve_partitions push.
Hi @derek-hk! Thank you for raising this issue. We will take a look and respond soon. In the meantime, if you would be interested in contributing a bug fix, I would be happy to offer any guidance you need.
@NathanFarmer Can I contribute to this?
@SanthoshS20 Yes of course! Please ping me here if you need any guidance, or once you open a PR and need a code review.
Hi @SanthoshS20 - I wanted to check, are you still interested in contributing this? Please feel free to reach out if you have any questions.

Resolving patch:
diff --git a/great_expectations/render/renderer/microsoft_teams_renderer.py b/great_expectations/render/renderer/microsoft_teams_renderer.py
--- a/great_expectations/render/renderer/microsoft_teams_renderer.py
+++ b/great_expectations/render/renderer/microsoft_teams_renderer.py
@@ -40,7 +40,7 @@ def render(
                             {
                                 "type": "Container",
                                 "height": "auto",
-                                "separator": True,
+                                "separator": "true",
                                 "items": [
                                     {
                                         "type": "ColumnSet",
@@ -54,7 +54,7 @@ def render(
                                                         "text": "Validation results",
                                                         "weight": "bolder",
                                                         "size": "large",
-                                                        "wrap": True,
+                                                        "wrap": "true",
                                                     },
                                                 ],
                                             }
@@ -65,7 +65,7 @@ def render(
                             {
                                 "type": "Container",
                                 "height": "auto",
-                                "separator": True,
+                                "separator": "true",
                                 "items": [
                                     {
                                         "type": "TextBlock",
@@ -139,8 +139,8 @@ def render(
                         "type": "TextBlock",
                         "spacing": "none",
                         "text": run_time.strftime("%b %d %Y %H:%M:%S"),
-                        "isSubtle": True,
-                        "wrap": True,
+                        "isSubtle": "true",
+                        "wrap": "true",
                     }
                 )
 


Test patch:
diff --git a/tests/render/test_microsoft_teams_renderer.py b/tests/render/test_microsoft_teams_renderer.py
--- a/tests/render/test_microsoft_teams_renderer.py
+++ b/tests/render/test_microsoft_teams_renderer.py
@@ -67,17 +67,17 @@ def test_MicrosoftTeams_validation_results_with_datadocs():
                                                     "text": "Validation " "results",
                                                     "type": "TextBlock",
                                                     "weight": "bolder",
-                                                    "wrap": True,
+                                                    "wrap": "true",
                                                 },
                                                 {
-                                                    "isSubtle": True,
+                                                    "isSubtle": "true",
                                                     "spacing": "none",
                                                     "text": "May "
                                                     "08 "
                                                     "2012 "
                                                     "07:14:45",
                                                     "type": "TextBlock",
-                                                    "wrap": True,
+                                                    "wrap": "true",
                                                 },
                                             ],
                                             "type": "Column",
@@ -87,7 +87,7 @@ def test_MicrosoftTeams_validation_results_with_datadocs():
                                     "type": "ColumnSet",
                                 }
                             ],
-                            "separator": True,
+                            "separator": "true",
                             "type": "Container",
                         },
                         {
@@ -132,7 +132,7 @@ def test_MicrosoftTeams_validation_results_with_datadocs():
                                     "type": "TextBlock",
                                 },
                             ],
-                            "separator": True,
+                            "separator": "true",
                             "type": "Container",
                         },
                     ],