Posts

Showing posts from December 30, 2018

English law

Image
For other uses, see English law (disambiguation). The Royal Courts of Justice on the Strand in London is the seat of the High Court of Justice and the Court of Appeal. English law is the common law legal system of England and Wales, comprising mainly criminal law and civil law, each branch having its own courts and procedures. [1] [2] Contents 1 Principal elements of English law 2 Legal terminology 2.1 Criminal law & civil law 2.2 Common law & civil law 2.3 Common law & equity 2.4 Public law & private law 2.5 Legal remedies 3 Sources of English Law 4 Statute law 5 Common law 5.1 Early development 5.2 Precedent 5.3 Overseas influences 5.3.1 Reciprocity 5.3.2 Courts of final appeal 5.3.3 International law and commerce 6 British jurisdictions 6.1 Application of English law to Wales 7 Main subject areas 8 See also 9 Notes 10 References 11 Further reading 12

Can't access 'params' or 'auth' in Cloud Function triggered in Firestore

Image
0 0 I asked this in the Firebase Google Group but think that's actually the wrong place so I'm reposting here. Hope that's OK. The EventContext for Firebase Cloud Functions is pretty well described here. There it says that with an event triggered on a Firestore create at messages/{messageId} I should be able to... def process_message(event, context): # What's in the context? print(dir(context)) # Can I access 'messageId'? print(context.params['messageId']) No luck - context.params doesn't exist, and dir(context) returns ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init_