• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

getsentry / raven-python
65%
master: 51%

Build:
Build:
LAST BUILD BRANCH: celery-context
DEFAULT BRANCH: master
Repo Added 15 May 2013 12:27AM CUT
Files 47
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH rewrite-context
branch: rewrite-context
CHANGE BRANCH
x
Reset
  • rewrite-context
  • 3.5.1
  • 3.5.2
  • cleanup-threaded
  • django-master
  • feature/federated-docs
  • kill-celery-contrib
  • master
  • unittest_cleanup

pending completion
567

push

travis-ci

dcramer
New context() API

This makes the API much easier to use, and resembles the raven-ruby implementation. Users can continually merge context (generally within their middleware), and simply need to call context.clear() to refresh it.

The following APIs are added as part of this changeset:

```
Client.context -- the accessible context instance
>>> Client.context.get()

Client.context.clear() -- flush the current context
>>> Client.context.clear()

Client.user_context() -- a shortcut to set the user interface
>>> Client.user_context({'email': 'foo@example.com'})

Client.tags_context() -- add additional tags to context (or overwrite an existing tag)
>>> Client.tags_context({'key': 'value'})

Client.extra_context() -- add additional data to context (or overwrite an existing key in the data)
>>> Client.extra_context({'key': 'value'})
```

63 of 63 new or added lines in 4 files covered. (100.0%)

1885 of 2900 relevant lines covered (65.0%)

1.95 hits per line

Relevant lines Covered
Build:
Build:
2900 RELEVANT LINES 1885 COVERED LINES
1.95 HITS PER LINE
Source Files on rewrite-context
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
No data available in table
Showing 0 to 0 of 0 entries
  • Previous
  • Next

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
567 rewrite-context New context() API This makes the API much easier to use, and resembles the raven-ruby implementation. Users can continually merge context (generally within their middleware), and simply need to call context.clear() to refresh it. The following A... push 03 Dec 2013 06:24AM CUT dcramer travis-ci pending completion  
See All Builds (196)
  • Repo on GitHub
  • CI Project
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc