Skip to content

Commit

Permalink
Remove debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaScheller committed Nov 25, 2023
1 parent 03fbfdc commit 9ea936f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions docs/src/resolvers/CachedResolver/example.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,7 @@ class ResolverContext:
### Summary
And that's all folks! We encourage you to also play around with the code or adjusting the mapping files to see how everything works.

One last note, you might need to refresh the context if you are not seeing live updates:

If you make live adjustments via the API, don't forget to refresh the context as described in our [Python API](./PythonAPI.md#refreshing-the-resolver-context) section.


## Content Structure
Expand Down
1 change: 0 additions & 1 deletion files/implementations/CachedResolver/code/PythonExpose.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ def ResolveAndCache(context, assetPath):
versionless_identifier = f"{RELATIVE_PATH_IDENTIFIER_PREFIX}{entity_type}/{entity_identifier}?{entity_element}"
mapping_pairs = context.GetMappingPairs()
mapping_hit = mapping_pairs.get(versionless_identifier)
print(">>>>>>>", mapping_pairs)
if mapping_hit:
resolved_asset_path = mapping_hit
else:
Expand Down

0 comments on commit 9ea936f

Please sign in to comment.