Support uploading test canonization results to MDS
@@ -65,6 +65,7 @@ class ExternalSchema(object):
File = "file"
SandboxResource = "sbr"
Delayed = "delayed"
+ HTTP = "http"
class CanonicalObject(dict):
@@ -105,6 +106,10 @@ class ExternalDataInfo(object):
def is_delayed(self):
return self.uri.startswith(ExternalSchema.Delayed)
+ @property
+ def is_http(self):
+ return self.uri.startswith(ExternalSchema.HTTP)
+
@property
def path(self):
assert self.uri.count("://") == 1, self.uri
