This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# enter pipenv | |
pipenv shell | |
# install pipenv dependencies | |
pipenv install | |
# get a list of available commands | |
python manage.py | |
# run import assessors |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# checks out the new branch | |
git checkout -b my-branch | |
# add your changes | |
git add . | |
# commit your changes | |
git commit -m 'this is my commit message' | |
# push your changes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In [11]: for a in AttomAssessor.objects.filter(data__SitusCounty="Fulton"): | |
...: print("fultoncounty.org/whatever?%s" % urlencode({ "ParcelID": a.data.get("ParcelNumberRaw") })) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"aggs": { | |
"wiki_page_edits": { | |
"nested": { | |
"path": "wiki_page_edits" | |
}, | |
"aggs": { | |
"wiki_page_edits.email": { | |
"filter": { | |
"bool": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fs.js:3 Circular dependency detected: | |
app/containers/StudyPage/StudyPage.tsx -> app/containers/WorkflowPage/index.tsx -> app/containers/WorkflowPage/WorkflowPage.tsx -> app/containers/WorkflowPage/SuggestedLabels.tsx -> app/containers/StudyPage/index.ts -> app/containers/StudyPage/StudyPage.tsxCircular dependency detected: | |
app/containers/StudyPage/index.ts -> app/containers/StudyPage/StudyPage.tsx -> app/containers/WorkflowPage/index.tsx -> app/containers/WorkflowPage/WorkflowPage.tsx -> app/containers/WorkflowPage/SuggestedLabels.tsx -> app/containers/StudyPage/index.tsCircular dependency detected: | |
app/containers/WorkflowPage/SuggestedLabels.tsx -> app/containers/StudyPage/index.ts -> app/containers/StudyPage/StudyPage.tsx -> app/containers/WorkflowPage/index.tsx -> app/containers/WorkflowPage/WorkflowPage.tsx -> app/containers/WorkflowPage/SuggestedLabels.tsxCircular dependency detected: | |
app/containers/WorkflowPage/WorkflowPage.tsx -> app/containers/WorkflowPage/SuggestedLabels.tsx -> app/containers/StudyPa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inside params query component | |
{data: {…}, variables: {…}, refetch: ƒ, fetchMore: ƒ, updateQuery: ƒ, …} | |
data: | |
searchParams: {q: "{"children":[{"children":[],"key":"stomach"}],"key":"AND"}", sorts: Array(0), aggFilters: Array(1), crowdAggFilters: Array(0), page: 0, …} | |
variables: {hash: "pQJf6HTK"} | |
refetch: ƒ () | |
fetchMore: ƒ () | |
updateQuery: ƒ () | |
startPolling: ƒ () | |
stopPolling: ƒ () |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# frozen_string_literal: true | |
module OmniAuth::Strategies | |
class Oktaoauth | |
undef :access_token | |
attr :access_token | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Zappa (and AWS Lambda) support the following versions of Python: ['2.7', '3.6'] | |
Traceback (most recent call last): | |
File "/var/lang/lib/python3.7/imp.py", line 234, in load_module | |
return load_source(name, filename, file) | |
File "/var/lang/lib/python3.7/imp.py", line 171, in load_source | |
module = _load(spec) | |
File "<frozen importlib._bootstrap>", line 696, in _load | |
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked | |
File "<frozen importlib._bootstrap_external>", line 728, in exec_module | |
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Dump the GraphQL schema for the frontend.""" | |
from your.graphql_api import schema | |
print(schema) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
query GetUserPanels { | |
currentUser { | |
panelDetails { | |
privatePanelActiveSession | |
myPanelActiveSession | |
utPanelActiveSession | |
} | |
} | |
} |
NewerOlder