wipo-gbd-transformation 1.1.77__py3-none-any.whl → 1.1.79__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/hrtm/filters.py +10 -1
- gbdtransformation/brands/hrtm/template.yml +7 -0
- gbdtransformation/brands/notm/filters.py +13 -1
- gbdtransformation/brands/notm/template.yml +1 -1
- {wipo_gbd_transformation-1.1.77.dist-info → wipo_gbd_transformation-1.1.79.dist-info}/METADATA +1 -1
- {wipo_gbd_transformation-1.1.77.dist-info → wipo_gbd_transformation-1.1.79.dist-info}/RECORD +10 -10
- {wipo_gbd_transformation-1.1.77.dist-info → wipo_gbd_transformation-1.1.79.dist-info}/LICENSE.md +0 -0
- {wipo_gbd_transformation-1.1.77.dist-info → wipo_gbd_transformation-1.1.79.dist-info}/WHEEL +0 -0
- {wipo_gbd_transformation-1.1.77.dist-info → wipo_gbd_transformation-1.1.79.dist-info}/entry_points.txt +0 -0
- {wipo_gbd_transformation-1.1.77.dist-info → wipo_gbd_transformation-1.1.79.dist-info}/top_level.txt +0 -0
|
@@ -7,7 +7,16 @@ ignore_namespace = [
|
|
|
7
7
|
|
|
8
8
|
def get_entity_addr(addr):
|
|
9
9
|
if not addr: return None
|
|
10
|
-
|
|
10
|
+
result = ""
|
|
11
|
+
if addr.AddressStreet:
|
|
12
|
+
result+= addr.AddressStreet
|
|
13
|
+
if addr.AddressCity:
|
|
14
|
+
result+= " " + addr.AddressCity
|
|
15
|
+
if addr.AddressState:
|
|
16
|
+
result+= " " + addr.AddressState
|
|
17
|
+
if addr.AddressPostcode:
|
|
18
|
+
result+= " " + addr.AddressPostcode
|
|
19
|
+
return result.strip()
|
|
11
20
|
|
|
12
21
|
def create_full_name(name):
|
|
13
22
|
result = ""
|
|
@@ -21,6 +21,8 @@ applicationLanguageCode: {{ TradeMark.ApplicationLanguageCode }}
|
|
|
21
21
|
officeStatus: {{ TradeMark.MarkCurrentStatusCode }}
|
|
22
22
|
statusDate: {{ TradeMark.MarkCurrentStatusDate | convertdate('%Y-%m-%d') }}
|
|
23
23
|
|
|
24
|
+
expiryDate: {{ TradeMark.ExpiryDate | convertdate('%Y-%m-%d') }}
|
|
25
|
+
|
|
24
26
|
markDisclaimerDetails:
|
|
25
27
|
{% call(desc) match('MarkDisclaimerDetails.MarkDisclaimer', TradeMark) %}
|
|
26
28
|
- text: {{ desc }}
|
|
@@ -193,4 +195,9 @@ representatives:
|
|
|
193
195
|
{% endif %}
|
|
194
196
|
{% endcall %}
|
|
195
197
|
|
|
198
|
+
# here goes extra information that is office specific and that is pertinent for us to retain.
|
|
199
|
+
extra:
|
|
200
|
+
oppositionPeriodStartDate: {{ TradeMark.OppositionPeriodStartDate | convertdate('%Y-%m-%d') }}
|
|
201
|
+
oppositionPeriodEndDate: {{ TradeMark.OppositionPeriodEndDate | convertdate('%Y-%m-%d') }}
|
|
202
|
+
|
|
196
203
|
{% endif %}
|
|
@@ -151,4 +151,16 @@ def translate_licence_status(status):
|
|
|
151
151
|
if status.lower() == 'valid': return 'Valid'
|
|
152
152
|
|
|
153
153
|
return 'Other'
|
|
154
|
-
#raise Exception('licence status "%s" is not mapped.' % status)
|
|
154
|
+
#raise Exception('licence status "%s" is not mapped.' % status)
|
|
155
|
+
|
|
156
|
+
def clean_vienna_class(the_class):
|
|
157
|
+
if the_class == None:
|
|
158
|
+
return None
|
|
159
|
+
if len(the_class) == 0:
|
|
160
|
+
return None
|
|
161
|
+
# remove trailing dot
|
|
162
|
+
if the_class.endswith("."):
|
|
163
|
+
the_class = the_class[:-1]
|
|
164
|
+
if len(the_class) == 0:
|
|
165
|
+
return None
|
|
166
|
+
return the_class
|
|
@@ -94,7 +94,7 @@ markImageDetails:
|
|
|
94
94
|
code:
|
|
95
95
|
{% call(viennaClass) match('viennaClassificationBag', markImage.markImageClassification.figurativeElementClassificationBag) %}
|
|
96
96
|
{% call(viennaValue) match('viennaClassification', viennaClass) %}
|
|
97
|
-
- {{ viennaValue.viennaCategory }}
|
|
97
|
+
- {{ viennaValue.viennaCategory | clean_vienna_class }}
|
|
98
98
|
{% endcall %}
|
|
99
99
|
{% endcall %}
|
|
100
100
|
{% endif %}
|
{wipo_gbd_transformation-1.1.77.dist-info → wipo_gbd_transformation-1.1.79.dist-info}/RECORD
RENAMED
|
@@ -150,9 +150,9 @@ gbdtransformation/brands/gstm/filters.py,sha256=QGOXTX5HsoOoxfY9a31adtujzOS7C0KQ
|
|
|
150
150
|
gbdtransformation/brands/gstm/template.gs.yml,sha256=tQOXTIpmurgytddfqyWvKuCx-7K6ZxALMGXLn0mjg0s,1711
|
|
151
151
|
gbdtransformation/brands/gstm/template.yml,sha256=INQBe908BttDal83tMEXkpAOTasJ0vo5Myl_kFuatR8,1000
|
|
152
152
|
gbdtransformation/brands/hrtm/__init__.py,sha256=UHmbQDIPDdApISBKfO9tKOX6LgUQ_Ib-IVMR5kCVMTY,86
|
|
153
|
-
gbdtransformation/brands/hrtm/filters.py,sha256=
|
|
153
|
+
gbdtransformation/brands/hrtm/filters.py,sha256=jFQvK41R17Rdl5xBzGXmK-M0u0EVp81AhrfJSicMrkY,4340
|
|
154
154
|
gbdtransformation/brands/hrtm/schema,sha256=7jQ-PC0VTx5NZ79Qf8xAZEX8sqFSUtjPwsvVYV8XZAs,1376
|
|
155
|
-
gbdtransformation/brands/hrtm/template.yml,sha256=
|
|
155
|
+
gbdtransformation/brands/hrtm/template.yml,sha256=pMwur5_WPSWtQQb6-nhu9MjtF47sxvvaA36a2VDLsEY,9543
|
|
156
156
|
gbdtransformation/brands/idtm/__init__.py,sha256=MBVFGkMlqAi-s2ur7pCLYe2uxtjIxx9n9wo2bpESvxU,311
|
|
157
157
|
gbdtransformation/brands/idtm/filters.py,sha256=HbcLmB9KTBFjLwHJdkJmM-u5wdE2JmxlqJvlSz1cTKk,3018
|
|
158
158
|
gbdtransformation/brands/idtm/schema,sha256=TFrF4FR76cytcbtQkDWxtF74I0tCPRDIvWRFeqaJt6Q,3242
|
|
@@ -297,8 +297,8 @@ gbdtransformation/brands/natm/schema,sha256=TFrF4FR76cytcbtQkDWxtF74I0tCPRDIvWRF
|
|
|
297
297
|
gbdtransformation/brands/natm/template.yml,sha256=PO7s1HDQM9ushIJuIX3z_dfWO-f62YDzBG_sYKDlnG8,34
|
|
298
298
|
gbdtransformation/brands/natm/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
299
299
|
gbdtransformation/brands/notm/__init__.py,sha256=YRZPymjJv7V5vqjphBN1UOHZ3RL1oeYYqaOI6AKInl0,88
|
|
300
|
-
gbdtransformation/brands/notm/filters.py,sha256=
|
|
301
|
-
gbdtransformation/brands/notm/template.yml,sha256=
|
|
300
|
+
gbdtransformation/brands/notm/filters.py,sha256=KNc0PXlUgKm3SRhKGn0SUHJ_Zg2YvIvfQZnP8qoARzc,5811
|
|
301
|
+
gbdtransformation/brands/notm/template.yml,sha256=iNPRI1DSe7LKzt-jFHNcd2DBeo-0yGd-xr1nZK9pYL0,10156
|
|
302
302
|
gbdtransformation/brands/nztm/__init__.py,sha256=UHmbQDIPDdApISBKfO9tKOX6LgUQ_Ib-IVMR5kCVMTY,86
|
|
303
303
|
gbdtransformation/brands/nztm/filters.py,sha256=dAjrg03Yq37H10oAM8rnAMNa71lZHuG1uMwHi25kIvA,4211
|
|
304
304
|
gbdtransformation/brands/nztm/schema,sha256=tpcyNMtmiBQQ0FsxKKTASRSo4nbrw0j0_b1nhELyAzE,6355
|
|
@@ -585,9 +585,9 @@ gbdtransformation/utilities/st66.xsd,sha256=co8aFN3a5TpudllRttWmfLeiZu8ulNipfeXm
|
|
|
585
585
|
schemas/ShazamConfig.py,sha256=D67os5B11C41h_WZ7kk54Ss0Kk7tHh8W0d_1c_aX-lY,1191
|
|
586
586
|
schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
587
587
|
schemas/schema_extractor.py,sha256=3-ImtnI777f6b3VA0A_w-NoXdlGz5VZMzK6MnPdQQAY,10294
|
|
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.
|
|
593
|
-
wipo_gbd_transformation-1.1.
|
|
588
|
+
wipo_gbd_transformation-1.1.79.dist-info/LICENSE.md,sha256=6r2dL13EwZqSt2ellLbJRFTA-6ECIDOer4YthCfkac0,35654
|
|
589
|
+
wipo_gbd_transformation-1.1.79.dist-info/METADATA,sha256=M538k3cZRwBsMXVlKEKGUZJ6AZ8pUKao5BRFboF7DAk,577
|
|
590
|
+
wipo_gbd_transformation-1.1.79.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
591
|
+
wipo_gbd_transformation-1.1.79.dist-info/entry_points.txt,sha256=NFLtlP3mPHUi-hEoUcz4CXa7vcpP8bbwd18HS4arbEk,223
|
|
592
|
+
wipo_gbd_transformation-1.1.79.dist-info/top_level.txt,sha256=oU1j-JNLga18Fd-EV6Xl9wM8zxYoNVEzb7P8MDhTPJg,26
|
|
593
|
+
wipo_gbd_transformation-1.1.79.dist-info/RECORD,,
|
{wipo_gbd_transformation-1.1.77.dist-info → wipo_gbd_transformation-1.1.79.dist-info}/LICENSE.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wipo_gbd_transformation-1.1.77.dist-info → wipo_gbd_transformation-1.1.79.dist-info}/top_level.txt
RENAMED
|
File without changes
|