wipo-gbd-transformation 1.1.68__py3-none-any.whl → 1.1.69__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of wipo-gbd-transformation might be problematic. Click here for more details.
- gbdtransformation/brands/phtm/filters.py +12 -0
- gbdtransformation/brands/phtm/template.yml +6 -2
- {wipo_gbd_transformation-1.1.68.dist-info → wipo_gbd_transformation-1.1.69.dist-info}/METADATA +1 -1
- {wipo_gbd_transformation-1.1.68.dist-info → wipo_gbd_transformation-1.1.69.dist-info}/RECORD +8 -8
- {wipo_gbd_transformation-1.1.68.dist-info → wipo_gbd_transformation-1.1.69.dist-info}/LICENSE.md +0 -0
- {wipo_gbd_transformation-1.1.68.dist-info → wipo_gbd_transformation-1.1.69.dist-info}/WHEEL +0 -0
- {wipo_gbd_transformation-1.1.68.dist-info → wipo_gbd_transformation-1.1.69.dist-info}/entry_points.txt +0 -0
- {wipo_gbd_transformation-1.1.68.dist-info → wipo_gbd_transformation-1.1.69.dist-info}/top_level.txt +0 -0
|
@@ -155,3 +155,15 @@ def get_ir_refnum(appnum):
|
|
|
155
155
|
|
|
156
156
|
def get_goods_services(goods_services):
|
|
157
157
|
return ipas.get_goods_services(goods_services)
|
|
158
|
+
|
|
159
|
+
def get_file_name(img):
|
|
160
|
+
if img == None:
|
|
161
|
+
return None
|
|
162
|
+
result = ""
|
|
163
|
+
if img.MarkImageFilename:
|
|
164
|
+
result += img.MarkImageFilename
|
|
165
|
+
if img.MarkImageFileFormat:
|
|
166
|
+
result += "." + img.MarkImageFileFormat.lower()
|
|
167
|
+
if len(result) == 0:
|
|
168
|
+
return None
|
|
169
|
+
return result
|
|
@@ -52,8 +52,10 @@ terminationDate: {{ trademark.MarkCurrentStatusDate }}
|
|
|
52
52
|
|
|
53
53
|
markDisclaimerDetails:
|
|
54
54
|
{% call(disclaimer) match('MarkDisclaimerDetails.MarkDisclaimer', trademark) %}
|
|
55
|
+
{% if disclaimer.__value != 'N/A' and disclaimer.__value != 'NONE' and disclaimer.__value != 'None' %}
|
|
55
56
|
- text: {{ disclaimer.__value }}
|
|
56
57
|
languageCode: {{ disclaimer.__value | guess_language(disclaimer._languageCode, default=trademark.ApplicationLanguageCode) }}
|
|
58
|
+
{% endif %}
|
|
57
59
|
{% endcall %}
|
|
58
60
|
|
|
59
61
|
wordMarkSpecification:
|
|
@@ -68,16 +70,18 @@ wordMarkSpecification:
|
|
|
68
70
|
{% endfor %}
|
|
69
71
|
markTranslation:
|
|
70
72
|
{% call(trans) match('MarkTranslation', wordSpec) %}
|
|
73
|
+
{% if trans != 'N/A' and trans != 'NONE' and trans != 'None' %}
|
|
71
74
|
- text: {{ trans }}
|
|
72
75
|
languageCode: {{ trans | guess_language(trans._languageCode, trademark.ApplicationLanguageCode) }}
|
|
76
|
+
{% endif %}
|
|
73
77
|
{% endcall %}
|
|
74
78
|
{% endcall %}
|
|
75
79
|
|
|
76
80
|
markImageDetails:
|
|
77
81
|
{% call(img) match('MarkImageDetails.MarkImage', trademark) %}
|
|
78
|
-
- name: {{
|
|
82
|
+
- name: {{ img | get_file_name }}
|
|
79
83
|
{% call(cclaim) match('MarkImageColourClaimedText', img) %}
|
|
80
|
-
{% if
|
|
84
|
+
{% if cclaim.__value != 'N/A' and cclaim.__value != 'NONE' and cclaim.__value != 'None' %}
|
|
81
85
|
colourIndicator: {{ cclaim.__value | remove_trailing('-') | get_true_or_false }}
|
|
82
86
|
colourClaimed:
|
|
83
87
|
- text: {{ cclaim.__value | remove_trailing('-') }}
|
{wipo_gbd_transformation-1.1.68.dist-info → wipo_gbd_transformation-1.1.69.dist-info}/RECORD
RENAMED
|
@@ -320,11 +320,11 @@ gbdtransformation/brands/pgtm/template.yml,sha256=PO7s1HDQM9ushIJuIX3z_dfWO-f62Y
|
|
|
320
320
|
gbdtransformation/brands/pgtm/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
321
321
|
gbdtransformation/brands/pgtm/tests/pgtm.xml,sha256=fAzAz2VtqOFV_2QImDbNxDvuTr-Ue3e5tGx8h-Lnnvg,6533
|
|
322
322
|
gbdtransformation/brands/phtm/__init__.py,sha256=UHmbQDIPDdApISBKfO9tKOX6LgUQ_Ib-IVMR5kCVMTY,86
|
|
323
|
-
gbdtransformation/brands/phtm/filters.py,sha256=
|
|
323
|
+
gbdtransformation/brands/phtm/filters.py,sha256=jaMELkuv4Expzfl6-mr5JZiDqvMHGc0k2rXs_t-6i3g,6186
|
|
324
324
|
gbdtransformation/brands/phtm/schema,sha256=Nb5tI5MUrzn19c8GpLFuJhpiLn0Fa9XPza10eNHeesI,2877
|
|
325
325
|
gbdtransformation/brands/phtm/schema.classic,sha256=3JOKHUfK0jSo0NBlDmeGFAKqfYdMJOrIPBIoNUMrVFI,808
|
|
326
326
|
gbdtransformation/brands/phtm/template.classic.yml,sha256=U5th90SpXjspWTPuimqftd8vZfJ3tT90mIud5n7Zv8w,2820
|
|
327
|
-
gbdtransformation/brands/phtm/template.yml,sha256=
|
|
327
|
+
gbdtransformation/brands/phtm/template.yml,sha256=dCUBI8kiipYp6UEU2ebvlCnyCqadJ3I9rMgUhuXGbCw,7707
|
|
328
328
|
gbdtransformation/brands/qatm/__init__.py,sha256=NBdOewZ1F_3eErahjyR-up8bjz1FSxwEiPSJfDw6GxY,79
|
|
329
329
|
gbdtransformation/brands/qatm/filters.py,sha256=lMPVBX2ProdUtg5LcuQAmlInoGCo1-JZemHrvE1lNvw,2330
|
|
330
330
|
gbdtransformation/brands/qatm/schema,sha256=AP0MxQyD0hY4APRh8nxitlxMqJYJB4AaaTJ8y20-XBA,3283
|
|
@@ -584,9 +584,9 @@ gbdtransformation/utilities/st66.xsd,sha256=co8aFN3a5TpudllRttWmfLeiZu8ulNipfeXm
|
|
|
584
584
|
schemas/ShazamConfig.py,sha256=D67os5B11C41h_WZ7kk54Ss0Kk7tHh8W0d_1c_aX-lY,1191
|
|
585
585
|
schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
586
586
|
schemas/schema_extractor.py,sha256=3-ImtnI777f6b3VA0A_w-NoXdlGz5VZMzK6MnPdQQAY,10294
|
|
587
|
-
wipo_gbd_transformation-1.1.
|
|
588
|
-
wipo_gbd_transformation-1.1.
|
|
589
|
-
wipo_gbd_transformation-1.1.
|
|
590
|
-
wipo_gbd_transformation-1.1.
|
|
591
|
-
wipo_gbd_transformation-1.1.
|
|
592
|
-
wipo_gbd_transformation-1.1.
|
|
587
|
+
wipo_gbd_transformation-1.1.69.dist-info/LICENSE.md,sha256=6r2dL13EwZqSt2ellLbJRFTA-6ECIDOer4YthCfkac0,35654
|
|
588
|
+
wipo_gbd_transformation-1.1.69.dist-info/METADATA,sha256=Rffs9LzOfUQ1cBm9Z6wAMK2vxa_XUieOtgXSV2P6gyA,577
|
|
589
|
+
wipo_gbd_transformation-1.1.69.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
590
|
+
wipo_gbd_transformation-1.1.69.dist-info/entry_points.txt,sha256=NFLtlP3mPHUi-hEoUcz4CXa7vcpP8bbwd18HS4arbEk,223
|
|
591
|
+
wipo_gbd_transformation-1.1.69.dist-info/top_level.txt,sha256=oU1j-JNLga18Fd-EV6Xl9wM8zxYoNVEzb7P8MDhTPJg,26
|
|
592
|
+
wipo_gbd_transformation-1.1.69.dist-info/RECORD,,
|
{wipo_gbd_transformation-1.1.68.dist-info → wipo_gbd_transformation-1.1.69.dist-info}/LICENSE.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wipo_gbd_transformation-1.1.68.dist-info → wipo_gbd_transformation-1.1.69.dist-info}/top_level.txt
RENAMED
|
File without changes
|